[ 
https://issues.apache.org/jira/browse/XMLBEANS-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cezar Andrei closed XMLBEANS-353.
---------------------------------

    Resolution: Fixed

XmlTokenSource.save(Writer [, XmlOptions]) cannot include the xml declaration 
since the declaration includes the encoding, and the encoding is not known for 
a writer.

> XmlTokenSource.save(Writer [, XmlOptions]) should save the XML declaration.
> ---------------------------------------------------------------------------
>
>                 Key: XMLBEANS-353
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-353
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: XmlObject
>    Affects Versions: unspecified
>         Environment: Ubuntu Gutsy, Windows, JDK 1.6.0_03
>            Reporter: Alex Marshall
>            Priority: Minor
>             Fix For: unspecified
>
>
> XmlTokenSource.save(Writer [, XmlOptions]) should save the XML declaration as 
> is done with the corresponding methods using OutputStream and File.  If 
> developers don't want the XML declaration included, that's what 
> XmlOptions.setSaveNoXmlDecl is for.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to