[ http://issues.apache.org/jira/browse/XALANC-597?page=comments#action_12365135 ]
Dmitry Hayes commented on XALANC-597: ------------------------------------- The patch will make the behavior of the serializer consistent with the serializar of the older versions. Although, opening again the old discussion, I'm not sure it's the right reading of the spec. The spec directly says "The xml output method should output an XML declaration unless the omit-xml-declaration attribute has the value yes." The user may have reasons to create ISO8859-1 encoded XML files with no XML declaration , with providing the encoding thought the external media. > Serializers for encodings other than UTF-8 and UTF-16 should not omit the XML > declaration > ----------------------------------------------------------------------------------------- > > Key: XALANC-597 > URL: http://issues.apache.org/jira/browse/XALANC-597 > Project: XalanC > Type: Bug > Versions: CurrentCVS > Reporter: David Bertoni > Assignee: David Bertoni > Attachments: patch.diff > > Our new serializer for encodings other than UTF-8 and UTF-16 will omit the > XML declaration if the xsl:output element attribute omit-xml-declaration is > equal to "yes." This is contrary to what the XSLT recommendation states, as > it can create XML that is not well-formed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
