Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2117

org.jboss.util.xml.DOMWriter.printInternal() skips the DOCUMENT_NODE

    XMLWordPrintable

Details

    Description

      Somewhere along the line the xml property editors got changed such that the tests break.

      Probably for pretty printing? So I'm assigning this to Thomas, to validate and apply to JBoss4 as appropriate.

      It doesn't look like it changed the meaning of the xml,
      nor does it change what was attempted to be tested according to the comment.

      I've fixed the tests as follows in head:

      // Comments can appear outside of a document
      String s = "<!-- document --><doc name='whatever'/>";
      // WAS String s = "<!-- document --><doc name=\"whatever\"></doc>";

      // Test whitespace preservation
      s = "<element>\n\n<e2/> testing\n\n</element>";
      // WAS s = "<element>\n\n<e2></e2> testing\n\n</element>";

      Attachments

        Activity

          People

            dandread1@redhat.com Dimitrios Andreadis
            adrian.brock Adrian Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h