W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2002

Resolution of DOM XPath LC Issue diether7

From: Ray Whitmer <rayw@netscape.com>
Date: Wed, 11 Dec 2002 01:23:40 -0800
Message-ID: <3DF7041C.7090202@netscape.com>
To: "www-dom@w3.org" <www-dom@w3.org>

DOM XPath module last call issue diether7 was about the requirement that 
XPathEvaluator.createExpression should raise an INVALID_EXPRESSION_ERR 
if the expression is not legal makes it necessary to test the expression 
syntax immediately.

The working group was aware of the difficulty in doing this in a minimal 
implementation, but the alternative was to prevent the createExpression 
call from optimizing the resolution of the namespace APIs. This seems 
consistent with XPath 2.0 which clearly places the namespace resolution 
into the static context, not into the dynamic context.  For this reason, 
the working group has chosen to continue to require the exception 
immediately.

See the issues list for more information at 
http://www.w3.org/03/DOM-Level-3-XPath-issues/all.html#diether1

Please let us know if you are, or are not satisfied with this resolution.

Ray Whitmer
rayw@netscape.com
Received on Wednesday, 11 December 2002 04:24:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT