OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Enumeration - case sensitive

[ Lists Home | Date Index | Thread 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.



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS