incorrect rendering of a single space in xsl:text
-------------------------------------------------
Key: XERCESJ-1262
URL: https://issues.apache.org/jira/browse/XERCESJ-1262
Project: Xerces2-J
Issue Type: Bug
Affects Versions: 2.9.0
Environment: debian linux with sun java 1.5
Reporter: Gary Lawrence Murphy
Originally posted as XALANJ-2392 (sorry)
<boo>
moo<xsl:text> </xsl:text>boo
</boo>
renders as "moo boo" in older editions, but in 2.9.0 it renders as mooboo
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
--
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]