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

Re: Finding the target of a RDDL document

Re:  Finding the target of a RDDL document
Hi Leigh,

Leigh Dodds wrote:

> Isn't this what the xml:base attribute is signifying on the document element?

> Jonathan made some comments about this in a posting last October [1]. 

> [1]. http://lists.xml.org/archives/xml-dev/200110/msg00258.html

Thanks for pointing on this URL, I feel relieved :) ...

However, I think it [expletive deleted] or at least that this is not my understanding 
of the meaning of xml:base and simple XLinks.

XML base is about providing a base URI for relative URIs:

"XLink normatively references XML Base for interpretation of relative 
URI references in xlink:href attributes."

But the source of a xlink simple link is local:

"[Definition: A simple link is a link that associates exactly two 
resources, one local and one remote, with an arc going from the former 
to the latter. Thus, a simple link is always an outbound link.]"

And local resources are not addressed by URIs (relative or not):

"[Definition: A local resource is an XML element that participates in a 
link by virtue of having as its parent, or being itself, a linking 
element]. [Definition: Any resource or resource portion that 
participates in a link by virtue of being addressed with a URI reference 
is considered a remote resource, even if it is in the same XML document 
as the link, or even inside the same linking element.] Put another way, 
a local resource is specified "by value," and a remote resource is 
specified "by reference.""

For an application following the semantics defined in those two recs, 
the link seems to be between a node in the 
http://www.openhealth.org/RDDL/ document and the document 
http://www.rddl.org/natures whatever the value of xml:base might be.

The "right" way to do it would be to use extended links, but RDDL would 
loose all its simplicity and I fear that we are stuck with this nasty hack!


See you in Paris.
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org


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.
First Name
Last Name
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.