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

Re: Namespaces, Xml Schema Whitespace normalization, xs:anyURI

  • To: lists@j..., "xml-dev@l..." <xml-dev@l...>
  • Subject: Re: Namespaces, Xml Schema Whitespace normalization, xs:anyURI, and URILiterals in XPath 2.0
  • From: Michele Vivoda <idmichele@y...>
  • Date: Thu, 30 Mar 2006 19:08:23 +0200 (CEST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=wsYF7gXXg1h2/bAnNXKvj1Hb2rxsRsjmUToBl4irU8SBOBQ61lzMpOOB4JLRdatoU4dP5cmcydsiL9uluRcgnFUEvARfrlZSjUBHpmQCfGz9xmf6TQ+BrHeifJCI1bckKRQR4Zmur9huaBcC555ZGu/wy1PnpO44S9kXKn0xUVM= ;
  • In-reply-to: <442B09B8.2050009@j...>

whitespace preserve


> > May be there is some other use or apect
> > I am not aware of. I noticed now that both IE 
> > and Mozilla interperet this as valid url:
> > 
> > file:/D:/Music/bob/Catch%20A Fire
> 
> Well, those browsers accept a lot of things that
> aren't necessarily 
> valid. 

Sure, I think in their favour there is the fact 
that they can try to resolve the uri to a location.

I think that is the intent here as well...
> when you have 
> something that can safely be converted to a URI the
> XML Schema rec 
> allows for it. 

But when you have something that can not safely 
be converted to an URI is valid as well and the
schema cannot check.

>In terms of the multiple spaces being
> normalized, you 
> could always create a derived type that constrained
> the whiteSpace facet 
> to preserve. 

Deriving from xs:string ? I think only in that 
case is allowed to change that facet. 

If you meant that, I think
is a good option for an 'rfc uri'


From the XML Schema view, if your
> application is consuming 
> the PSVI it would only see the corrected URI anyway.

Not sure on this..what does the PSVI 
expose ? I thought only the space-normalized 
value, so the 'wannabe uri' ;-) after space collapse.
right ? 


Greetings,
Michele



		
___________________________________ 
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com

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.