Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

RE: [xml-dev] Namespaces, Xml Schema Whitespace normalization, xs:anyURI, and URILiterals in XPath 2.0


  • To: xml-dev@...
  • Subject: RE: [xml-dev] Namespaces, Xml Schema Whitespace normalization, xs:anyURI, and URILiterals in XPath 2.0
  • From: "Rick Jelliffe" <rjelliffe@...>
  • Date: Wed, 29 Mar 2006 11:34:49 +1000 (EST)
  • Importance: Normal
  • In-reply-to: <200603281927.k2SJRIHk024533@...>
  • References: <20060328172851.3114.qmail@...> <200603281927.k2SJRIHk024533@...>
  • User-agent: SquirrelMail/1.4.2

The other aspect to anyURI is that if you are using a simple type derived
by list from anyURI, then whitespace will be used as a token delimiter.
Therefore in XML you cannot use literal spaces in URI-ish strings for
types derived by list from anyURI. The same issue arises for the
schemaLocation hint.

It is probably prudent to simply avoid spaces in URIs altogether.

Cheers
Rick Jelliffe

 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml