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

        Arek created issue -
        Hide
        Arek added a comment -

        There is the mistake in the title. It shoud be XmlNodePrinter instade of PrintWriter

        Show
        Arek added a comment - There is the mistake in the title. It shoud be XmlNodePrinter instade of PrintWriter
        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
        Hide
        Paul King added a comment -

        Added, as per MarkupBuilder

        Show
        Paul King added a comment - Added, as per MarkupBuilder
        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 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12733953 ] Default workflow, editable Closed status [ 12745775 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12971498 ] Default workflow, editable Closed status [ 12979269 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        9h 56m 1 Paul King 16/Sep/11 19:13
        Resolved Resolved Closed Closed
        27d 6h 14m 1 Paul King 14/Oct/11 01:28

          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