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

StreamingMarkupBuilder should provide an option for using double quotes around attributes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.1
    • 1.7.2, 1.8-beta-1
    • None
    • None

    Description

      StreamingMarkupBuilder currently only uses single quotes for attributes, e.g.:

      <?xml version='1.0'?>
      <root><a a1='one'><b>3 &lt; 5</b><c a2='two'>blah</c></a></root>
      

      it would be good to support double quotes:

      <?xml version="1.0"?>
      <root><a a1="one"><b>3 &lt; 5</b><c a2="two">blah</c></a></root>
      

      Attachments

        Activity

          People

            paulk Paul King
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: