XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[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?

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]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS