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

Re: xml:base and fragments

  • From: John Cowan <johnwcowan@gmail.com>
  • To: "Andrew S. Townley" <ast@atownley.org>
  • Date: Wed, 10 May 2017 10:52:00 -0400

Re:  xml:base and fragments

On Wed, May 10, 2017 at 7:23 AM, Andrew S. Townley <ast@atownley.org> wrote:

You’re right.  The specification doesn’t say anything about retrieval other than if the relative and base URI resolve to the same base URI, then dereferencing “should not” result in a new retrieval action.

Note that that "should not" is in lower case: it is not an RFC 2119 requirement.  But even if we interpret it so, there are cases in which a new retrieval is needed to resolve a same-document reference.  One example is when the original document has been transformed in such a way that the fragment identifier is no longer usable, and the original document discarded.

Sameness of resources can only be determined by comparison of the octets and metadata.

Actually, that doesn't work either.  It may be that http://temperature.xyz/podunk and http://temperature.org/squeedunk return the same numerical value because the temperature in Podunk happens right now to be the same as the temperature on Squeedunk, but they are still two different resources.  What is more, http://translation.xyz/fr-en/bavarder and http://translation.xyz/en-fr/cat may *always* return the same string "chat", but they are nevertheless two different resources.

The only way to be sure two resources are truly the same is to find an authoritative owl:sameAs triplet saying so, or an equivalent informal statement.


--
GMail doesn't have rotating .sigs, but you can see mine at http://vrici.lojban.org/~cowan/signatures


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.