DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5332>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5332

[XSLTC] problem with XPath expression "namespace"

           Summary: [XSLTC] problem with XPath expression "namespace"
           Product: XalanJ2
           Version: 2.2.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using the TRaX API, XSLTC fails to parse the XPath expression "namespace".

Trying to do a TransformerFactorty.newTemplates() with this XSL:
<?xml version="1.0"?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
  <xsl:template match="namespace">
    <out><xsl:value-of select="."/></out>
  </xsl:template>
</xsl:stylesheet>

... results in message:
foo.xsl: line 3: Error parsing XPath expression 'namespace'.

This happens with Xalan 2.2.D14. Also, some other expressions which have the
form of an XPath axis name [1] fail with a similar message, for example
"ancestor" and "following".

[1] http://www.w3.org/TR/xpath#axes

Reply via email to