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

RE: Comparable considered necessary

  • To: "xml-Dev (E-mail)" <xml-dev@l...>
  • Subject: RE: Comparable considered necessary
  • From: "Paul Brown" <prb@f...>
  • Date: Sun, 11 Aug 2002 16:51:53 -0400
  • Cc: "Simon St.Laurent" <simonstl@s...>
  • Thread-index: AcJA3iLKUj7GOa56RUC1fHnzrf3/vwAk/LFA
  • Thread-topic: Comparable considered necessary

plato chair


> -----Original Message-----
> [ Simon St.Laurent [simonstl 't simonstl.com] ]
> I've been thinking about the kind of processing I do with XML.
> Nearly all of it involves matching against patterns.
> I think the largest concrete problem I have with URIs is their
> lack of a common mechanism for saying this equals that.
> [ URL-based example for monasticxml.com ]

I have seen someone angry enough at a non-working XSLT stylesheet to bang their keyboard on their cubical walls; pointing out that the correct namespace was

	http://www.w3.org/1999/XSL/Transform

as opposed to

	http://www.w3c.org/1999/XSL/Transform

was small consolation.  (Pointing an HTTP GET at either of those will get you "Someday a schema for XSL Transforms will live here".)

> The lack of clarity - heck, the outright refusal to acknowledge the
> question - about how to get from an identifier to a resource or back
> again - is the nails in the coffin.

Here's a link to the relevant RFC, for reference:

	http://www.ietf.org/rfc/rfc2396.txt?number=2396

What about the situation when a resource identified by a URI (Uniform Resource Identifier) is abstract?  (This isn't forbidden by RFC2396...  It isn't forbidden, but I could legitimately use "plato:chair" as a URI understood to point to the abstract notion of a chair.)

I think that functional equality, i.e., equivalence of interpretation, of URIs is fundamentally an application-level concern.  What seems reasonable to me is to use the URI "scheme" (section 3 in the RFC) to determine an equality relation on URIs.  The RFC didn't do us any favors by not saying (e.g., "a namespace whose name starts with [Xx][Mm][Ll] is reserved") that the schemes http:, ftp:, gopher:, etc. are all reserved and to be interpreted according to various other RFCs.

For instance, my suggestion for the XSL URI would have been: "w3c://XSL/Transform?version=1_0".

Use of URIs of the form "http://foo/bar" is too widespread to declare that the equivalence relation for the http scheme is the same in a browser as it is in an XML document.  Maybe something (silly) like: "url://http://foo/bar"?

The idea that "http://www.company.com represents Company.com" is not lost on me, but it is definitely inconsistent with the RFC's intent (as I read it).  The scheme is manifestly the one for http URLs, and it points me to Company.com's web page, not to the company.  Maybe something EDI-like, e.g., "d-and-b:1234" would have been better.

	-- Paul

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.