Re: Make 5.7.2 consistent wrt context node

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,
                                          norm

-- 
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