Next in thread → Next in month →

Re: [xml-dev] Brain Teaser: Element Author is of type xsd:string, what's an illegal value of Author?

From
Rick Jelliffe <>
To
Date
2007-02-10T06:46:27Z
ID
<>
Thread
Re: [xml-dev] Brain Teaser: Element Author is of type xsd:string, what's an illegal value of Author?
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
Next in thread → Next in month →