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

Re: escaping QName interlopers


qname example
> The description you provide is pretty accurate.
> http://example.com/page/part_in_a_page  refers to a resource identified
> as http://example.com/page/part_in_a_page , while
> http://example.com/page#part_in_a_page refers to a fragment of the
> resource identified http://example.com/page.

Hmm, let me be clearer, "/page" is expected to resolve.  Don't start on me about
URIs not being required to be resolvable.  Humor me a bit.  The thought being a
request for http://example.com/page is going to return "something" in the form
of a document, possibly an HTML file.  So my thinking is that a request for
/page#part_in_a_page is going to be some section within the /page document that
is in one way or another identified by the 'part_in_a_page' string.  I fully
realize how screwed up this is, especially if /page returns and XML document.
I'm naively saying that in such a case the fragment has "some sort" of ID tag
that matches up.

Yes, this does seem decidedly lame.  Especially when there's a desire to use
versioning in there.  Hold on, let me get my spear so I can go gore _that_
sacred cow for a while...  My interest is simply in trying to find useful ways
to look at URIs as something more than just overly large opaque identifier
strings.

> >Is there a good/bad reason not to do it this way?
>
> As long as you're referring to resources and fragments inside resources,
> it makes great sense.  How that should relate to QNames is a weirdly
> different problem - one where people appear to have confused string
> concatenation with URI processing.

I daresay you're entirely correct.  I'd certainly appreciate some QName for
Dummies examples.

> That part appears to be unfixable, with the people who created URIs in
> general as well as with the people who created particular URIs.

Sadly so.

-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.