W3C home > Mailing lists > Public > www-archive@w3.org > May 2007

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

From: Ian B. Jacobs <ij@w3.org>
Date: Fri, 25 May 2007 14:02:44 -0500
To: Dan Connolly <connolly@w3.org>
Cc: Dominique Hazael-Massieux <dom@w3.org>, www-archive@w3.org
Message-Id: <1180119764.30129.122.camel@localhost>
On Fri, 2007-05-25 at 10:14 -0500, Dan Connolly wrote:
> 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?

Hmm, I am not sure.

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

In the home page redesign, we can adjust our markup to take
advantage of community-supported code. So I'm up for migrating
if it makes the feed easier to maintain over time.

 _ Ian

> email message attachment, "Forwarded message - Re: base-uri and XSLT
> 1.0"
> > -------- Forwarded Message --------
> > From: Jeremy Carroll <jjc@hpl.hp.com>
> > To: public-grddl-comments@w3.org, dave@dajobe.org
> > Subject: Re: base-uri and XSLT 1.0
> > Date: Fri, 25 May 2007 12:01:20 +0100
> > 
> > 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
> > 
> > 
> > 
> > 
-- 
Ian Jacobs (ij@w3.org)   http://www.w3.org/People/Jacobs
Tel:                     +1 718 260-9447

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:18:07 GMT