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

Re: More on namespace bindings

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 04 Sep 2008 07:58:26 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2bpz4xgv1.fsf_-_@nwalsh.com>
Toman_Vojtech@emc.com writes:

> I was wondering whether we shouldn't say that options specified using
> the shortcut form inherit the in-scope namespace bindings of the step
> where they are specified - so that the following would work properly:
>
>> |
>> | <!-- 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"/>
>
> In a reply, Mohammed pointed out that: 
>
>> 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
>
> Perhaps 5.7.5 should be more explicit about what happens with option
> shortcuts? 

I think that is precisely what is meant, but I'll try to make it clearer.


                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | In every work of genius we recognize
http://nwalsh.com/            | our own rejected thoughts; they come
                              | back to us with a certain alienated
                              | majesty.-- Emerson

Received on Thursday, 4 September 2008 11:59:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 4 September 2008 11:59:15 GMT