[ 
http://issues.apache.org/jira/browse/XALANC-597?page=comments#action_12365594 ] 

David Bertoni commented on XALANC-597:
--------------------------------------

I don't know how you can read it that way.  Perhaps you could experiment by 
trying to parse an XML document that contains an external entity that's:

    1. Not encoded in either UTF-8 or UTF-16
    2. Has no text declaration

I suspect you will find that every reasonable XML parser will reject the entity 
because it's not well-formed.  Both Xerces-C and Xerces-J certainly do.

> 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]

Reply via email to