W3C home > Mailing lists > Public > public-grddl-wg@w3.org > April 2007

Re: issue-base-param

From: Jeremy Carroll <jjc@hpl.hp.com>
Date: Wed, 18 Apr 2007 15:20:04 +0100
Message-ID: <46262914.6050206@hpl.hp.com>
To: ogbujic@ccf.org
CC: GRDDL Working Group <public-grddl-wg@w3.org>


On HTML base sub-topic

Consider these four URLs
http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithoutBaseElement
http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithBaseElement

http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithoutBaseElement
http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithBaseElement

The last two redirect to the first two.

Let's concentrate on the first two.
The one with a base element, as the base element set to

http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithBaseElement

Hence, when looked at in a browser the transform whichdir.xsl points to

http://www.w3.org/2001/sw/grddl-wg/td/whichdir.xsl

Similarly, when looking at either

http://www.w3.org/2001/sw/grddl-wg/td/xhtmlWithoutBaseElement
or
http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithoutBaseElement
in a browser, the target of the <a> element is

http://www.w3.org/2001/sw/grddl-wg/td/base/whichdir.xsl

I think that GRDDL has to follow HTML here, and resolve the href in the 
same way as HTML, so that


http://www.w3.org/2001/sw/grddl-wg/td/whichdir.xsl
is a transformation of
http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithBaseElement

and


http://www.w3.org/2001/sw/grddl-wg/td/base/whichdir.xsl
is a transformation of
http://www.w3.org/2001/sw/grddl-wg/td/base/xhtmlWithoutBaseElement

Jeremy







-- 
Hewlett-Packard Limited
registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England
Received on Wednesday, 18 April 2007 14:20:26 GMT

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