W3C home > Mailing lists > Public > public-grddl-comments@w3.org > April to June 2007

Re: base-uri and XSLT 1.0

From: Jeremy Carroll <jjc@hpl.hp.com>
Date: Fri, 25 May 2007 12:01:20 +0100
Message-ID: <4656C200.6070108@hpl.hp.com>
To: public-grddl-comments@w3.org, dave@dajobe.org
An informal note.

Hi Dave

just to let you know that the WG discussed your comment at our last meeting.

While we are still checking, the consensus view seemed to be:

a) no XSL parameters are defined during GRDDL processing

b) that regards
http://www-sop.inria.fr/acacia/soft/RDFa2RDFXML.xsl

this is a feature not a bug!

When used with a GRDDL processor, no parameter is specified, but the 
overall GRDDL rules specify the appropriate base URI to be used when 
turning the RDF/XML into triples.

Other uses of the stylesheet include turning an XHTML document into a 
static RDF/XML document to be served from the same server. For this use 
then the url parameter can be used to give consistent results. This use 
lies outside the scope of GRDDL.

c) we didn't discuss
http://www.w3.org/2000/07/uri43/uri.xsl
http://www.w3.org/2000/08/w3c-synd/home2rss.xsl
My own view is that:
  - if they are intended as part of GRDDL transforms
  - if they require a parameter to be set
then that is a bug with the stylesheet.
i.e. not every stylesheet that converts HTML to RDF/XML is a GRDDL 
stylesheet.

I tried running my GRDDL processor against http://www.w3.org/ and got 
the attached results, which do, in fact, differ from:
http://www.w3.org/2000/08/w3c-synd/home.rss
(the URI of the channel is different, as is the value of its link 
property. Note, the attached results are to be read with a base URI of 
http://www.w3.org/). This does suggest there are some related bugs in 
these stylesheets.


(Despite this being an informal response to your comment, if it 
adequately addresses the comment, it would be helpful to let us know!)

Jeremy




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



Received on Friday, 25 May 2007 11:02:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:43 GMT