[jira] [Created] (XMLBEANS-548) XmlDocumentProperties.setStandalone is ignored when saving

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (XMLBEANS-548) XmlDocumentProperties.setStandalone is ignored when saving

PJ Fanning (Jira)
Manfred Schenk created XMLBEANS-548:
---------------------------------------

             Summary: XmlDocumentProperties.setStandalone is ignored when saving
                 Key: XMLBEANS-548
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-548
             Project: XMLBeans
          Issue Type: Bug
          Components: XmlObject
    Affects Versions: Version 3.1.0
            Reporter: Manfred Schenk


If you set standalone = true on the documentProperties this flag is ignored when saving the document to an xml file.

This has already been mentioned on the mailing list some years ago, there was even a patch in the following mail ([http://xmlbeans.996285.n3.nabble.com/How-to-add-standalone-attribute-tp657p660.html)] that didn't make it into the official sources.

 

Due to this error it is not possible to generate xml-files with xmlbeans where standalone is set to "yes" in the first line of the file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]