[ http://nagoya.apache.org/jira/browse/XALANJ-1927?page=history ]

Henry Zongaro updated XALANJ-1927:
----------------------------------

       Priority: Major  (was: Blocker)
    Bugzilla Id:   (was: 30765)

Priorty was inadvertently changed to "Blocker."  Priority in bugzilla was 
"normal," but there is no such priority in Jira, so I'm changing it to "Major."

> Inconsistent support of redirect extension by Xalan and Xalan-XSLTC
> -------------------------------------------------------------------
>
>          Key: XALANJ-1927
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1927
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan-extensions
>     Versions: 2.6
>  Environment: Operating System: Other
> Platform: PC
>     Reporter: Barys Dubauski

>
> Redirect extension support is incompatible between 2 variants of Xalan. 
> Namespace xmlns:redirect="http://xml.apache.org/xalan/redirect"; is not 
> supported by interpretive Xalan. It is however required by XSLTC. This 
> prevents us from using the same stylesheets for both variants of Xalan 
> (interpretive and XSLTC). 
> TransformerFactory.newTemplates() fails on stylesheet using 
> xmlns:redirect="http://xml.apache.org/xalan/redirect"; namespace. This is when 
> org.apache.xalan.processor.TransformerFactoryImpl is used as transformer. All 
> is fine for XSLTC ("org.apache.xalan.xsltc.trax.TransformerFactoryImpl").
> Example stylesheet (taken from http://xml.apache.org/xalan-
> j/extensions_xsltc.html#redirect_ext). This stylesheet will cause failure 
> during TransformerFactory.newTemplates() call.
> <xsl:stylesheet 
>    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>    xmlns:xsltc="http://xml.apache.org/xalan/xsltc";
>    xmlns:redirect="http://xml.apache.org/xalan/redirect";
>    extension-element-prefixes="xsltc redirect"
>    version="1.0">
>    <xsl:template match="/">
>      <xsl:text>This goes to standard output</xsl:text>
>      <xsltc:output file="blob.xml">
>        <xsl:text>This ends up in the file 'blob.xml'</xsl:text>
>      </xsltc:output>
>      <redirect:write file="blob2.xml">
>        <xsl:text>This ends up in the file 'blob2.xml'</xsl:text>
>      </redirect:write>
>    </xsl:template>
> </xsl:stylesheet>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to