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

http://issues.apache.org/bugzilla/show_bug.cgi?id=27935

Xalan fails namespace24 test from OASIS

           Summary: Xalan fails namespace24 test from OASIS
           Product: XalanJ2
           Version: CurrentCVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Xalan does not process namespace-alias as it should on elements created by using
the xsl:element command (as opposed to literal result elements). libxslt gets
this one right:

[EMAIL PROTECTED] namespace]$ java -classpath
/opt/xml/xalan-j_2_6_0/bin/xalansamples.jar:/opt/xml/xalan-j_2_6_0/bin/xercesImpl.jar:/opt/xml/xalan-j_2_6_0/bin/xalan.jar
org.apache.xalan.xslt.Process -IN namespace24.xml -XSL namespace24.xsl
<?xml version="1.0" encoding="UTF-8"?>
<axsl:stylesheet xmlns:axsl="http://www.w3.org/1999/XSL/TransAlias"; version="1.0">
<axsl:template xmlns:axsl="http://www.w3.org/1999/XSL/Transform";
match="h1"><axsl:apply-templates/></axsl:template>
</axsl:stylesheet>
[EMAIL PROTECTED] namespace]$ xsltproc namespace24.xsl namespace24.xml
<?xml version="1.0"?>
<axsl:stylesheet xmlns:axsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
<axsl:template match="h1"><axsl:apply-templates/></axsl:template>
</axsl:stylesheet>

Reply via email to