[ 
https://issues.apache.org/jira/browse/XMLBEANS-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896564#action_12896564
 ] 

David Kramer commented on XMLBEANS-353:
---------------------------------------

Is this issue still open after four years?

If this isn't going to get fixed,
- Is there a way to have the xml declaration added, short of appending a 
hard-coded string?

- Can the JavaDoc be updated to reflect that save will not add the xml 
delcaration?

> 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: dev-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: dev-h...@xmlbeans.apache.org

Reply via email to