You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2008/04/09 17:26:24 UTC
[jira] Resolved: (XALANJ-2440) Incorrect serialization of XML
output
[ 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org