DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14229>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

XSLTC indents as if indent always set to yes





------- Additional Comments From [EMAIL PROTECTED]  2002-11-21 16:52 -------
This is not the actual program that I am working on, but it should illustrate
the potential bug that I am seeing.  The command line version of XSLTC and the
regular Xalan seem to work as expected.

I am using the TransformServlet example that comes with Xalan-J and calling
the Servlet via this URL on both IE 6.0 and Phoenix 0.4 on Windows:

http://localhost:8080/XsltcApp/TransformServlet?class=tester1&source=c:/tester1.xml

I am using org.apache.xalan.xsltc.cmdline.Compile to generate the tester* class
files.  This is tested on the latest Xalan-J build as of 11/20/02.

I also tried to remove the following statement from tester2.xsl but that did not 
fix the problem:
  <xsl:output method="html" indent="no"/>

<!--
###################################################
-->

<!-- tester1.xsl -->

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                version="1.0">
<xsl:output method="html" indent="no"/>

<xsl:include href="tester2.xsl"/>

<xsl:template match="/">
<html>
<head><title><xsl:call-template name="tester2"/></title></head>
<body>
  <table>
    <tr><td><img src="test.png"/></td></tr>
  </table>
</body>
</html>
</xsl:template>

</xsl:stylesheet>

<!--
###################################################
-->

<!-- tester2.xsl -->

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                version="1.0">
<xsl:output method="html" indent="no"/>

<xsl:template name="tester2">
DUMMY TITLE
</xsl:template>

</xsl:stylesheet>


<!--
###################################################
-->

<-- tester1.xml -->

<?xml version="1.0"?>

<test>
hello world
</test>

<!--
###################################################
-->

<!-- OUTPUT -->

<html>
  <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>
DUMMY TITLE
</title>
  </head>
  <body>
    <table>
      <tr>
        <td><img src="test.png">

        </td>
      </tr>
    </table>
  </body>
</html><!-- transformed by XSLTC in 70msecs -->

Reply via email to