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

Re: Make 5.7.2 consistent wrt context node

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 21 Oct 2008 07:52:24 +0200
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2k5c2xzon.fsf@nwalsh.com>
Norman Walsh <ndw@nwalsh.com> writes:
> In 5.7.2, we say that the context node for a p:option is an empty
> document node. For consistency with other changes, I think we should
> say that it's an empty document node for XPath 1.0 implementations and
> undefined for XPath 2.0 implementations.
> For one thing, that'll catch this error:
>   <p:option name="chapter" select="//chapter[1]"/>
> which you'd think might be valid, but it isn't.

No one objected, so I've gone ahead and made this change. I'll leave it
on the agenda for Thursday morning just to double-check.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Even while a thing is in the act of
http://nwalsh.com/            | coming into existence, some part of it
                              | has already ceased to be.--Marcus
                              | Aurelius

Received on Tuesday, 21 October 2008 05:54:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:41:08 UTC