[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Closed: (XMLBEANS-353) XmlTokenSource.save(Writer [,
From:       "Cezar Andrei (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2007-12-11 19:37:43
Message-ID: 16456977.1197401863453.JavaMail.jira () brutus
[Download RAW message or body]


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic