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 2004/08/12 18:21:21 UTC

DO NOT REPLY [Bug 30622] New: - xsl:output method="xml" indent="yes" not working as expected.

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=30622

xsl:output method="xml" indent="yes" not working as expected.

           Summary: xsl:output method="xml" indent="yes" not working as
                    expected.
           Product: XalanJ2
           Version: 2.6
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: ed.knoll@cosd.fedex.com
                CC: ed.knoll@cosd.fedex.com


I'm converting an input XML file into an output XML file using 'java
org.apache.xalan.xslt.Process".  Some of the input XML elements are output as
is, some are modified, and some new ones are introduced via the XSL style sheet
using xml:element.  All elements which are pased through as is or are modified
appear to be indented as expected.  However, elements created via xsl:element do
not appear to be indented correctly: the opening tag appears to always be
indented, but all subelements created after that and the closing tag are not
indented at all.

This is not inducing any errors downstream; it only makes the file more
difficult for people to read.

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org