home2rss.xsl base URI tweak request [Fwd: Re: base-uri and XSLT 1.0]

Dom,

JJC has diagnosed a problem in home2rss.xsl regarding
base URIs.

Is this enough info for you to fix it?

Ian, are you interested to learn how to maintain home2rss.xsl?

I'd like to talk about migrating to hAtom, too...

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/

Forwarded message 1

  • From: Jeremy Carroll <jjc@hpl.hp.com>
  • Date: Fri, 25 May 2007 12:01:20 +0100
  • Subject: Re: base-uri and XSLT 1.0
  • To: public-grddl-comments@w3.org, dave@dajobe.org
  • Message-ID: <4656C200.6070108@hpl.hp.com>
  • X-Archived-At: http://www.w3.org/mid/4656C200.6070108@hpl.hp.com
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 15:14:29 UTC