#base-param testing

re. Action 7 from
http://www.ibiblio.org/hhalpin/homepage/notes/weekly-agenda.html
that is testing
http://www.w3.org/2001/sw/grddl-wg/td/testlist1#baseURI

I found the test cases supplied alongside the wording of Brian's proposal a
little confusing, but I believe I've confirmed the key conclusion part -

[[
 Propose: Given that a base URI parameter is a parameter whose
 value is the base URI of the transform source document, the
 WG RESOLVES not to define a base URI parameter for
 transforms, noting that triples referring to transformed
 document, or documents named relative to the transformed
 document can be created as illustrated in test case
 http://www.w3.org/2001/sw/grddl-wg/td/testlist1#baseURI .
]]
http://lists.w3.org/Archives/Public/public-grddl-wg/2006Dec/0028.html

When I tried a local copy of the input at
http://www.w3.org/2001/sw/grddl-wg/td/testlist1#baseURI
I got an output (baseURI.rdf, attached) containing the following :

<rdf:Description rdf:about="
file:///Users/dannyayers/Documents/projects/grddl-wg/baseURI.html">

- which refers to the source document as it appeared on my filesystem, which
I believe covers the main reason for not defining a base URI parameter.
(I've not figured out the policy zone part of GRDDL.py yet, hence couldn't
confirm for the version on the web).

I don't really understand what meant by "documents named relative to the
transformed document can be created" in the context of GRDDL, so couldn't
see where, if anywhere, this is demonstrated.

However, the input file described above uses
grddl:transformation="glean_title.xsl", but Brian also provided a variation.
Changing the source doc to refer to grddl:transformation="baseURI.xsl" (
baseURIb.html) I got a result (baseURIb.rdf) additionally containing a
statement :

<rdf:Description rdf:about="
file:///Users/dannyayers/Documents/projects/grddl-wg/baseURI.xsl">
    <rdf:type rdf:resource="http://example.org/test#StyleSheet"/>
</rdf:Description>

This demonstrates that triples relative to the transformation document can
also be generated. Cool trail ;-)

Cheers,
Danny.

-- 

http://dannyayers.com

Received on Wednesday, 24 January 2007 12:40:40 UTC