xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5332] New: - [XSLTC] problem with XPath expression "namespace"
Date Sun, 09 Dec 2001 10:08:31 GMT
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: xalan-dev@xml.apache.org
        ReportedBy: ville.skytta@popsystems.com


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

Mime
View raw message