You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Gary Lawrence Murphy (JIRA)" <xe...@xml.apache.org> on 2007/08/02 20:59:53 UTC

[jira] Commented: (XERCESJ-1262) incorrect rendering of a single space in xsl:text

    [ https://issues.apache.org/jira/browse/XERCESJ-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517340 ] 

Gary Lawrence Murphy commented on XERCESJ-1262:
-----------------------------------------------

never mind, appears to have been in issue of another jar on the classpath usurping some essential function, in this case the resin.jar from the Caucho resin servlet container; when renamed to _resin.jar (moved to the end of the classpath) the issue goes away.

I tried to close this, but apparently the creator of a ticket is not given that priviledge.

> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org