XStream
  1. XStream
  2. XSTR-301

Element not closed correctly after an empty element, in Dom4JWriter

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None

      Description

      After an empty element, a call to endNode() generates an empty element instead of a closing tag, when using the Dom4JWriter. (Others seem OK.) The endNode() method is not restoring the correct state for Dom4JWriter's internal flags after popping an element off its element stack.

      1. fix-patch
        0.7 kB
        Michael Hackett
      2. test-patch
        3 kB
        Michael Hackett

        People

        • Assignee:
          Unassigned
          Reporter:
          Michael Hackett
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: