Next in thread → Next in month →

Re: [xml-dev] Enumeration - case sensitive

From
Eddie Robertsson <>
To
Badri Lakshmiraghavan <>
Date
2002-01-10T23:19:01Z
ID
<>
Thread
Re: [xml-dev] Enumeration - case sensitive
> 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.

Cheers,
/Eddie
Next in thread → Next in month →