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

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


xml base uri
michael.h.kay@n... (Michael Kay) writes:
>> Hmmm.... I'm a really lazy typist creating links to a 
>> collection of documents with a shared base URI.  I have to 
>> create a lot of links to a document at the base ID, and in 
>> fact to a particular fragid-identified location in that 
>> document.  Since I don't want to type the fragid repeatedly, 
>> I drop it in the base URI and type a lot of <a href="">.
>> 
>
>That runs you into another ghastly mess in the infamous RFC 2396,
>whereby zero-length relative URIs are invalid according to the syntax,
>but have defined semantics, in terms of a concept called the "current
>document" which appears to be distinct from the base URI but is nowhere
>defined.

Thanks - it's good to know that there are horrors in RFC 2396 which I
have been lucky enough not to encounter (yet).

RFC 2396 is a remarkable document.  Holy writ and hellish mess all
wrapped into one package.  Separating the two is difficult, both in
theory and in practice.

I've stopped using the term "URI" except in cases where it is purely an
identifier - namespaces and RDF are the only two places I know of where
that usage feels comfortable.  Otherwise I'm back to URLs.




-------------
Simon St.Laurent - SSL is my TLA
http://simonstl.com may be my URI
http://monasticxml.org may be my ascetic URI
urn:oid:1.3.6.1.4.1.6320 is another possibility altogether

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.