[ http://issues.apache.org/jira/browse/XALANJ-1787?page=all ]
Brian Minchau updated XALANJ-1787:
----------------------------------
Version: 2.6
(was: Latest Development Code)
> XML element inside of <xsl:text> element - different results for Xalan-J and
> XSLTC
> ----------------------------------------------------------------------------------
>
> Key: XALANJ-1787
> URL: http://issues.apache.org/jira/browse/XALANJ-1787
> Project: XalanJ2
> Type: Bug
> Components: XSLTC
> Versions: 2.6
> Environment: Operating System: Other
> Platform: Other
> Reporter: Brian Minchau
> Assignee: Xalan Developers Mailing List
> Attachments: blah.xsl
>
> This stylesheet:
> -----------------------------------------
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:output method="xml" />
> <xsl:template match="/">
> <doc><xsl:text>abc<bad/>def</xsl:text></doc>
> </xsl:template>
> </xsl:stylesheet>
> -----------------------------------------
> Produces this output with XSLTC:
> -----------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <doc>abcdef<bad/></doc>
> -----------------------------------------
> But Xalan-J correctly throws an exception,
> javax.xml.transform.TransformerException:
> bad is not allowed in this position in the stylesheet!
--
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]