[
https://issues.apache.org/jira/browse/XMLBEANS-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896587#action_12896587
]
David Kramer commented on XMLBEANS-353:
---------------------------------------
Hmmm. Just restested and it seems to work (ie when I use save with an
OutputStream and an options, it writes out the xml declaration.
This issue should be closed as fixed.
> 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]