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

Re: Quirks in code fragment of 5.7.5 Namespaces on variables, options, and parameters

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 21 Aug 2008 17:10:58 +0200
Message-ID: <546c6c1c0808210810k6a5063f7g7e133285f7a484c1@mail.gmail.com>
To: Toman_Vojtech@emc.com
Cc: public-xml-processing-model-wg@w3.org

On Thu, Aug 21, 2008 at 3:29 PM,  <Toman_Vojtech@emc.com> wrote:
>
>> |
>> | Am I right in proposing to write it, the following way ?
>> |
>> | <!-- prefix p should be already bound at this point -->
>> | <ex:delete-in-div xmlns:ex="http://example.org/ns/ex"
>> | divchild="html:p[@class='delete']"
>> |                  xmlns:html="http://www.w3.org/1999/xhtml"/>
>>
>> Yes. Good catch! Fixed.
>
> Shouldn't section 4.8.1 (Syntactic Shortcut for Option Values) say that
> options specified using the shortcut form inherit the in-scope namespace
> of the step? Otherwise the above mentioned fix does not work.
>
Well
this bullet point in 5.7.5
[[
Otherwise, the in-scope namespaces from the element providing the
value are used.
]]
is not far from saying that

But you are right, it not clearly stated

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Thursday, 21 August 2008 15:11:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 21 August 2008 15:11:36 GMT