W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > October 2008

RE: href on p:store

From: <Toman_Vojtech@emc.com>
Date: Mon, 20 Oct 2008 04:07:32 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870D12C9AE@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

> Why is the default value for the href option on p:store the 
> empty string?
> 
> I thought the semantic was that if href wasn't specified then the base
> URI of the document on the source port was to be used.
> 

I thought so, too. Especially after your comments on Henry's changes
regarding 'Optional options w/o defaults' (from 9/18/08):

> > p:store
> >  href Add select="''" (implied by prose) and add prose lower down as
follows:
> >                              "The value of the href option may be
> >                               relative, in which case it will be
> >                               resolved against the base URI of its
> >                               p:option element or parent before
use."
>
> I don't think this one is right.
>
>   <p:store href="''"/>
>
> would make the href="" attribute absolute wrt the base URI of p:store.
>
>   <p:store/>
>
> uses the base URI *of the input document* as the URI.


So I would say the default should be unspecified in this case.

Regards,
Vojtech
Received on Monday, 20 October 2008 08:08:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC