[ 
https://issues.apache.org/jira/browse/XALANJ-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henry Zongaro resolved XALANJ-2440.
-----------------------------------

    Resolution: Invalid

Resolved as invalid per Mukul's recommendation.

> Incorrect serialization of XML output
> -------------------------------------
>
>                 Key: XALANJ-2440
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2440
>             Project: XalanJ2
>          Issue Type: Improvement
>          Components: Serialization
>    Affects Versions: 2.7.1
>         Environment: Windows XP professional, Intel Celeron M, Xalan-J 2.7.1, 
> JRE 1.4.2_05
>            Reporter: Mukul Gandhi
>            Priority: Minor
>
> I think, there is scope of improvement to the Xalan-J 2.7.1 serializer.
> I tried this sample XSLT stylesheet with Xalan-J 2.7.1.
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>              version="1.0">
>   <xsl:output method="xml" indent="yes" />
>   <xsl:template match="/">
>       <x>
>         <y/>
>       </x>
>   </xsl:template>
>   
> </xsl:stylesheet> 
> The output produced by Xalan is:
> <?xml version="1.0" encoding="UTF-8"?><x>
> <y/>
> </x>
> Please note that top most element tag, <x> is not indented properly.
> I wish the output in this case should be:
> <?xml version="1.0" encoding="UTF-8"?>
> <x>
>    <y/>
> </x>
> This problem seems to happen with any XML output.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to