#xmlbase [1234]

That leaves #xmlbase1 #xmlbase2 #xmlbase3 #xmlbase4

NB these are as in pendinglist

Here is a walk through:

Input for #xmlbase3 is redirected to be the same input as #xmlbase1
thus these two have the same result, computed from:
http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithBase

Input for #xmlbase4 is redirected to be the same input as #xmlbase2 thus 
these two have the same result, computed from:
http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithoutBase

The first document
http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithBase
is (ignoring namespaces)
<foo xml:base="http://www.w3.org/2001/sw/grddl-wg/td/xmlWithBase" 
g:transformation="whichdir.xsl"/>

so that whichdir.xsl refers to
http://www.w3.org/2001/sw/grddl-wg/td/whichdir.xsl

whereas, the second document
http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithoutBase
is (ignoring namespaces)
<foo g:transformation="whichdir.xsl"/>
so that whichdir.xsl refers to
http://www.w3.org/2001/sw/grddl-wg/td/base/whichdir.xsl

the output of the whichdir transform is:

<rdf:RDF>
  <rdf:Description rdf:about="">
  <rdfs:comment>
Transformed by stylesheet from /2001/sw/grddl-wg/td/
</rdfs:comment>
</rdf:Description>

in the first case #xmlbase1, #xmlbase3


or #xmlbase2, #xmlbase4
<rdf:RDF>
  <rdf:Description rdf:about="">
   <rdfs:comment>
Transformed by stylesheet from /2001/sw/grddl-wg/td/base/
    </rdfs:comment>
</rdf:Description>
</rdf:RDF>

in the second.
SO that the literal object shows which whichdir was invoked, and the URI 
subject should show the retrieval URI, i.e.
http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithBase
for cases 1 and 3
or
http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithoutBase
for cases 2 and 4

thus the triple produced for
#xmlbase1
#xmlbase3
is
<http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithBase>
    rdfs:comment
   "Transformed by stylesheet from /2001/sw/grddl-wg/td/" .

and the triple produced for
#xmlbase2
#xmlbase4
is
<http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithoutBase>
    rdfs:comment
   "Transformed by stylesheet from /2001/sw/grddl-wg/td/base/" .

which is what the RDF/XML output files say.
(Although it may be better to modify these to not use xml:base themselves)

e.g. replace:

<rdf:RDF
     xml:base="http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithBase"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" >
   <rdf:Description rdf:about="">
     <rdfs:comment>Transformed by stylesheet from 
/2001/sw/grddl-wg/td/</rdfs:comment>
   </rdf:Description>
</rdf:RDF>



with

<rdf:RDF
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" >
   <rdf:Description rdf:about=
       "http://www.w3.org/2001/sw/grddl-wg/td/base/xmlWithBase">
     <rdfs:comment>Transformed by stylesheet from 
/2001/sw/grddl-wg/td/</rdfs:comment>
   </rdf:Description>
</rdf:RDF>

etc.

Jeremy



-- 
Hewlett-Packard Limited
registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England

Received on Wednesday, 25 April 2007 17:48:02 UTC