Groovy
  1. Groovy
  2. GROOVY-5028

Add method to expand empty elements in XmlNodePrinter

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.8.3, 1.9-beta-4, 1.7.11
    • Component/s: None
    • Labels:
      None

      Description

      In groovy.util.XmlNodePrinter class there is no option to expand or not emtpy elements.

      <div></div>

      is transformed to

      <div/>

      In groovy.xml.MarkupBuilder there is such method

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12971498 ] Default workflow, editable Closed status [ 12979269 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12733953 ] Default workflow, editable Closed status [ 12745775 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Paul King made changes -
        Assignee Paul King [ paulk ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.8.3 [ 17657 ]
        Fix Version/s 1.9-beta-4 [ 17656 ]
        Fix Version/s 1.7.11 [ 17244 ]
        Resolution Fixed [ 1 ]
        Guillaume Delcroix made changes -
        Field Original Value New Value
        Summary Add method to expand empty elements in PrintWriter Add method to expand empty elements in XmlNodePrinter
        Arek created issue -

          People

          • Assignee:
            Paul King
            Reporter:
            Arek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development