[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Brain Teaser: Element Author is of type xsd:string,what's an illegal value of Author?
- From: Rick Jelliffe <rjelliffe@allette.com.au>
- To: xml-dev@lists.xml.org
- Date: Sat, 10 Feb 2007 17:46:27 +1100
You might like to make a distinction between
* The characters that XML can directly represent in a particular encoding
* The characters that XML require references for in a particular encoding
* The characters that cannot be represented in XML at all
* The characters that an information item that has been given the type
xs:String can contain, for example
in a DOM.
So you could, in a DOM, AFAIK, have a string containing the character
U+0001. And you could
give it, by some process, the type xs:String. I don't know that that
would go against the definition of
String in XSD, actually. But when you came to serialize it, there
should be a problem.
Cheers
Rick Jelliffe
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]