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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] white spaces

> Am I at least on the right track with enumerated attribute types?

Perhaps, perhaps not.

If you want to use enumerated types then the values have to follow
the same rules as for element names (so no white space).

So maybe you can change the set of allowed values. Otherwise just
declare the attribute to be CDATA, and move any checking of the
allowed values into your application rather than the XML parse.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.