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

XmlDocumentProperties.setStandalone is ignored when saving

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Version 3.1.0
    • Version 4.0.0
    • XmlObject
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            pj.fanning PJ Fanning
            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

                Slack

                  Issue deployment