Re: Please drop my action to respond to issue-dbooth9a

Where I use the variable ?IR, I mean an information resource
?R is the XML representation (the bytes) dereferenced from ?IR
?N is a root XPath node of ?R

Note that (in XML Base terminology), ?R is the document entity (which
cannot inherit a base URI from content within - only via 5.1.3 and
5.1.4)

It is worth noting also that there is a strong correspondence between
the suggestion that the GRDDL result should be defined in terms of ?N
(instead of ?IR) and interpretation of
http://www.apps.ietf.org/rfc/rfc3986.html#sec-5.1.2 which uses the
baseURI of the root node ?N of ?R (where ?R is the XML representation
dereferenced from some ?IR) as the baseURI to use for resolving relative
URI references in the GRDDL result and 

Especially if (using the logic functions introduced in the
specification):

gspec:xpath(fn:doc(?IR),'/*') = ?N

Using http://www.w3.org/TR/grddl-tests/#embedded-rdf4 as an example.

<embedded  
   xml:base="../.."
   xmlns:data-view="http://www.w3.org/2003/g/data-view#" 
   data-view:transformation="http://www.w3.org/2003/g/embeddedRDF.xsl">
    <a>
      <b/>
      <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	    <rdf:Description rdf:about="" rdf:value="one"/>
      </rdf:RDF>
    </a>
</embedded>

The baseURI of the root node is http://www.w3.org/2001/sw/ even though the the IR from which the above 'representation' was fetched has a URI of http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf4 

The resulting RDF/XML is:

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:data-view="http://www.w3.org/2003/g/data-view#">
  <rdf:Description rdf:about="" xml:lang="" rdf:value="one"/>
</rdf:RDF>

It has relative URI references so a BaseURI is needed.  A reading of 5.1.2 which assumes that the "the encapsulating entity" of the resulting RDF/XML is the root node 
has strong correspondence with associating the resulting RDF/XML (the GRDDL result) with the root node (<embedded ...>) instead of http://www.w3.org/2001/sw/grddl-wg/td/embedded-rdf4 

Formally: 

{ ?IR log:uri [ fn:doc ?R ].
  ?R grddl:transformation [ grddl:transformationProperty ?TP ].
  ?R ?TP ?G. } => { gspec:xpath(fn:doc(?IR),'/*') grddl:result ?G }.

-- 
Chimezie Ogbuji
Lead Systems Analyst
Thoracic and Cardiovascular Surgery
Cleveland Clinic Foundation
9500 Euclid Avenue/ W26
Cleveland, Ohio 44195
Office: (216)444-8593
ogbujic@ccf.org


===================================




Cleveland Clinic is ranked one of the top 3 hospitals in
America by U.S.News & World Report. Visit us online at
http://www.clevelandclinic.org for a complete listing of
our services, staff and locations.


Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.

Received on Wednesday, 30 May 2007 20:03:12 UTC