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

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


xs anyuri
> > It is probably prudent to simply avoid spaces in URIs altogether.
> 
> I'd agree, but...
> 
> file:///c:/Program Files/hmmmm
>
> No one would be mad enough to put a space in a directory name
> like "Program Files" would they? That would be silly....

Just use the German Windows version, there it's
file:///c:/Programme/ ;-)

> So the choice is; do you make the end user (if it's end users creating
> the xml files) do the %20 escaping, or do you let the end user use a
> space and specify that somewhere along the chain between the xml file
> and the URL resolution the space gets encoded. Just simply avoiding
> them isn't really an option.

It's probably much too late to fix, but the problem is that people who
are deep into XML for years are not entirely sure which part of which
specs a transcoding/escaping step at exactly which point. I'd argue that
if a guru can't really understand it, a user won't too, and he will get
results he can't understand or predict. In that case I think less is
more - just have the user do the escaping.

Martin


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.