You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Gary Lawrence Murphy (JIRA)" <xa...@xml.apache.org> on 2007/08/02 18:41:52 UTC

[jira] Created: (XALANJ-2392) incorrect rendering of a single space in xsl:text

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


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

Posted by "Gary Lawrence Murphy (JIRA)" <xa...@xml.apache.org>.
    [ 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Resolved: (XALANJ-2392) incorrect rendering of a single space in xsl:text

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XALANJ-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henry Zongaro resolved XALANJ-2392.
-----------------------------------

    Resolution: Invalid

I see the Xerces-J issue that you opened (XERCESJ-1262) has been closed as invalid.  I assume that we can close this issue as invalid as well.  Please reopen if this is still a valid problem.

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