Lists Home |
Date Index |
> I use MS XML4 to do schema validation. If a type is
> defined as an enumeration, say for example, all the
> states in the US (in upper case), schema validation
> fails if the XML element has a value nj in lower case.
> Is it possible to make enum values case insensitive,
> other than defining all the states in lower case once
> again as other possible values.
No, you'll have to define all the possible values as enumerations.
There's no way of saying that they should be case-insensitive.