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

DomToGroovy produces invalid output when namespaces are used in the source xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.4
    • 1.6.2, 1.7-beta-1
    • XML Processing
    • None
    • linux
      java 1.6.0.13

    Description

      When the source xml contains namespaces, like for example, an xml element having an attribute like

      <element xml:lang="en-US" > blabla </element>

      The produced markup is
      element(xml:lang:'en-US', blabla)
      which doesn't compile...

      The proper output should have been:
      element("xml:lang":'en-US', blabla)

      Attachments

        Activity

          People

            paulk Paul King
            jprobichaud Jean-Philippe Robichaud
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: