[
https://issues.apache.org/jira/browse/XALANJ-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517323
]
Gary Lawrence Murphy commented on XALANJ-2392:
----------------------------------------------
hmmm ... this may be a xerces issue:
when I use the current xalan OR xalan 2.5.2 with xercesImpl-2.6.0.jar, I get
the correct output, but when I use either xalan with xerces jars from 2.9.0, I
get the wrong behaviour.
here's a test case:
test.xml:
<goo>
<foo/>
<foo/>
</goo>
test.xsl:
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" />
<xsl:template match="foo">
<boo>
moo<xsl:text> </xsl:text>boo
</boo>
</xsl:template>
</xsl:stylesheet>
used with the command line:
java org.apache.xalan.xslt.Process -xml -in test.xml -xsl test.xsl
> incorrect rendering of a single space in xsl:text
> -------------------------------------------------
>
> Key: XALANJ-2392
> URL: https://issues.apache.org/jira/browse/XALANJ-2392
> Project: XalanJ2
> Issue Type: Bug
> Components: Xalan
> Affects Versions: 2.7
> Environment: Linux Debian, sun java 1.5
> Reporter: Gary Lawrence Murphy
>
> In XalanJ versions 2.6.x,
> <boo>
> moo<xsl:text> </xsl:text>boo
> </boo>
> renders as "moo boo" but in 2.7.0 (release and in the current svn) it renders
> as mooboo
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]