Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-548

XmlDocumentProperties.setStandalone is ignored when saving

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Version 3.1.0
    • Fix Version/s: Version 4.0.0
    • Component/s: XmlObject
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              pj.fanning PJ Fanning
              Reporter:
              mschenk74iosb Manfred Schenk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m