Xalan and Saxon both allow an arbitrary number of space characters
between the parenthesis in a node test, and I was
wondering if this is technically legal in XPath 1.0.
An example would be:
<xsl:apply-templates select="node( )"/>
The XPath TR specifically states that whitespace can exist between
tokens, but I'm not exactly sure how "token" is defined after reading
the recent thread concerning "$ varname".
A node test in the XPath TR is defined as:
[7] NodeTest ::= NameTest
| NodeType '(' ')'
| 'processing-instruction' '('
Literal ')'
Can anyone explain this to me?
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--