OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Finding the target of a RDDL document

[ Lists Home | Date Index | Thread Index ]

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 sucks 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!

Thanks

Eric
-- 
See you in Paris.
                      http://www.afnet.fr/afnet/net200x/programme.html#T9
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS