evaluation of xpath expression containing number-functions failes
-----------------------------------------------------------------

         Key: XALANC-528
         URL: http://issues.apache.org/jira/browse/XALANC-528
     Project: XalanC
        Type: Bug
  Components: XalanC  
    Versions: CurrentCVS    
 Environment: SuSE Linux 9.3
    Reporter: Axel Weiss
 Attachments: test.xml, test1.xsl, test2.xsl, test3.xsl

The evaluation of an xpath expression like
<xsl:variable name="index" select="/test/b/[EMAIL PROTECTED]/position()"/>
fails. Error message: XPathParserException: '{0}' is an unknown node type.
expression = '/test/b/[EMAIL PROTECTED]/position()' Remaining tokens are:  ( 
'position' '(' ')')

While very similar expressions like
<xsl:variable name="index" select="/test/b/[EMAIL PROTECTED]/@y"/>
or
<xsl:variable name="index" select="position()"/>
give correct results.

I'll attach some simple test cases.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to