[Logo] NEMSIS TAC v3 Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Login] Login 
Why were enumeration restrictions changed to String?
Forum Index » XML Schema FAQ
Author Message
jrojas


Joined: 02/29/2012 13:37:55
Messages: 90
Offline

Using String for the base type of enumerations ensures that element values are submitted exactly. Otherwise elements values may be interpreted incorrectly. For example:
Elements with a base type Integer will allow
Leading zeros
Leading whitespaces
Trailing spaces
Elements with a base type of Decimal will allow
Leading zeros
Leading whitespaces
Trailing spaces
Trailing zeros in the tens position
 
Forum Index » XML Schema FAQ
Go to:   
Powered by JForum 2.1.9 © JForum Team