Resolution of DOM XPath LC Issue diether7

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 UTC