[ http://issues.apache.org/jira/browse/XALANC-597?page=comments#action_12365611 ]
David Bertoni commented on XALANC-597: -------------------------------------- If you provide the XML parser with external encoding information, it will ignore the encoding pseudo-attribute in the XML/text declaration, so it doesn't matter it it's there. However, I'm not opposed to an option on XalanTransformer and a Xalan-specific extention on xsl:output that overrides the default behavior and omits the XML declaration. We do the same with URI-encoding and the generation of the META tag. Let me work on adding that support to the patch. > 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]
