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

Re: escaping QName interlopers


qname slash
> >For RDF purposes, at least, the QName to URI mapping is done by
> >concatenating the namespace name with the local name, so that if
> >xmlns:xml is "http://www.w3.org/XML/1998/namespace" then xml:space is
> >"http://www.w3.org/XML/1998/namespacespace".  This is ugly, wherefore
> >most RDF-related namespace names end in either "/" or "#".  IMHO this
> >is a fine convention.
>
> IMHO this is a pathetic hack, and something unlikely to persist as any
> kind of official conversion.  Its complete lack of coordination with
> "how URI syntax works" per RFC 2396 is nothing short of hilarious.

True, but I've always preferred using http://example.com/page and
http://example.com/page#part_in_a_page as a way to tell the difference.  So
using a namespace that ends in a slash, for me, usually means take of that
annoying trailing slash and stick a #part in order to refer to a piece within
it.  Seeing http://example.com/page/part_in_a_page always make me think the last
part is an entirely different page, not a part of the previous portion of the
URL.

Is there a good/bad reason not to do it this way?  I mean, beyond the fact that
sometimes people who created a given URI did so without really grasping the
larger issues and are being strangely stubborn about getting over it and fixing
things.

-Bill Kearney


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.