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

Re: Why is xml:base a URI *reference*?


Re:  Why is xml:base a URI *reference*?
tbray@t... (Tim Bray) writes:
>On Jan 8, 2004, at 4:06 AM, John Cowan wrote:
>> A fragment identifier attached to a URI that points to an XML
>> document has no defined meaning
>
>Actually, what you mean is, if something is */xml then the fragids have 
>no meaning.  If the XML document is SVG, or XHTML, or RDF, or ... well 
>just about any other XML format in widespread use, then the fragid does 
>indeed have a well-understood meaning. -Tim

Well, no.  URIs don't "point to... documents".   They identify
resources.  Spend enough time in the URI Zen Zone, and the implications
of this will stagger and likely frustrate you.

If you just have the URI, you have no idea at all what the fragment
identifier means, and you can't know until you actually do a retrieval
(even if you just gather metadata) to find out what the MIME type of the
stuff you're getting back is.

Even then you may not know, because of the wonders of
content-negotiation - there's no guaranteed connection between the
resource identified by the URI and the representation.  That means MIME
types remain unpredictable until you actually get something.

This is all old ground, of course:
http://www.advogato.org/person/simonstl/diary.html?start=38
http://www.advogato.org/person/simonstl/diary.html?start=35

You're right that */xml doesn't define rules for fragment identifiers,
but given the non-adoption of XPointer and its own URI clunkiness, I'd
count that as a feature and not a bug.


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.