Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5028

Add method to expand empty elements in XmlNodePrinter

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.2
    • 1.8.3, 1.9-beta-4, 1.7.11
    • None
    • 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

      Attachments

        Activity

          People

            paulk Paul King
            arek 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