xsl-list
[Top] [All Lists]

RE: Unknown variables in XPATH (2.0)

2004-03-13 09:51:31
Strictly speaking, the static context defines which variables are in scope
for an XPath expression, and there is nothing that prevents the static
context containing an infinite number of variables whose (dynamic) value is
false. But I think that if you have more than one user, the others will all
be surprised by this interpretation of the spec, and irritated not to get an
error message when they misspell a variable name.

Also, () would be a more natural value to return than false().

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>