[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] white spaces
- From: David Carlisle <email@example.com>
- To: Samuel.Caro@USAHQ.UnitedSpaceAlliance.com
- Date: Tue, 09 Oct 2001 09:03:18 +0100
> 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.