[ http://issues.apache.org/jira/browse/XALANC-597?page=comments#action_12365591 ]
Henry Zongaro commented on XALANC-597: -------------------------------------- If I'm reading correctly, the text you've quoted from http://www.w3.org/TR/REC-xml/#charencoding is not a well-formedness constraint, which would mean that an external general parsed entity whose encoding is other than UTF-8 and UTF-16 can still be considered to be well-formed even if it has no text declaration, regardless of whether external encoding information is available to the XML processor for a particular reference to the entity. > 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]
