[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Why Use anyURI

  • From: Michael Kay <mike@saxonica.com>
  • To: xml-dev@lists.xml.org
  • Date: Wed, 15 Sep 2010 15:58:20 +0100

Re:  Why Use anyURI
 On 15/09/2010 2:29 PM, MURATA Makoto (FAMILY Given) wrote:
>>  In XSD 1.1 the WG 
>> admitted defeat and changed the spec so the lexical space is exactly the 
>> same as xs:string.
> I'm confused. 
You're not the only one.

>  If xsd:anyURI in XSD 1.1 allows everything, why does W3C
> pulish a TR for LEIRI?  

I'm not sure how those two things are related? Are you saying, why
didn't XSD 1.1 choose to make xs:anyURI correspond to the LEIRI
definition? Perhaps because some people want to be even more liberal
than the LEIRI definition, for example permitting Windows filenames, or
the Sun-defined JAR file "URIs" which break all the URI specifications.
> Does xsd:anyURI capture LEIRIs or does it
> capture IRIs? 
Both.
>  Does xsd:anyURI in XSD 1.1 allow the following?
>
> 	The space character
> 	"<" (U+003C), ">" (U+003E) and '"' (U+0022)
> 	Unwise characters "\" (U+005C), "^" (U+005E), "`" (U+0060), "{"
> 	(U+007B), "|" (U+007C) and "}" (U+007D)
> 	The controls (C0 controls, DEL and C1 controls, U+0000 - U+001F
> 	U+007F - U+009F)
> 	The Bidi formatting characters (U+200E, U+200F, U+202H-202E)
> 	Specials (U+FFF0-FFFD)
> 	Tags (U+E0000-E0FFF)
> 	Non-characters (U+FDD0-FDEF, $B!D(B)
> 	Surrogate code units (U+D800-U+DFFF) 
All of the above provided they are "finite-length sequences of zero or
more characters (as defined in [XML])". That doesn't include unmatched
surrogates or U+0000, and I'd have to check for "non-characters", but I
think it includes all the others.

Michael Kay
Saxonica


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.