You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/04/20 15:49:36 UTC

[Bug 1429] New - not working with

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1429

*** shadow/1429	Fri Apr 20 06:49:36 2001
--- shadow/1429.tmp.7174	Fri Apr 20 06:49:36 2001
***************
*** 0 ****
--- 1,30 ----
+ +============================================================================+
+ | <xsl:text> not working with <xsl:output method="xml" />                    |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1429                        Product: XalanJ2                 |
+ |       Status: NEW                         Version: 2.0.0                   |
+ |   Resolution:                            Platform: Sun                     |
+ |     Severity: Normal                   OS/Version: Solaris                 |
+ |     Priority: High                      Component: org.apache.xalan.xsltc  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xalan-dev@xml.apache.org                                     |
+ |  Reported By: tamiro@east.sun.com                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The <xsl:text> element is failing to output any text 
+ when your stylesheet explicitly sets the ouput method to "xml".
+ It works if you explicitly set the method to "html" or 
+ do not have an <xsl:output > element and let the default apply.
+ 
+ Here's a simple stylesheet that will reproduce the probelm.
+ 
+ <?xml version="1.0"?> 
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:output method="xml"/>
+ <xsl:template match="/">
+ <xsl:text>Hi, I'm text </xsl:text>
+ </xsl:template>
+ </xsl:stylesheet>