RE: [xsl] Unknown variables in XPATH (2.0)

Subject: RE: [xsl] Unknown variables in XPATH (2.0)
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sat, 13 Mar 2004 16:51:31 -0000
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


Current Thread