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

problem with default namespace in StreamingSAXBuilder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6-beta-1
    • 1.6-rc-2, 1.5.8, 1.7-beta-1
    • None
    • None
    • Ubuntu-8.04, Java-6

    Description

      def bc = builder.bind {
         mkp.declareNamespace("" : "uri:urn1")
         test()
      }
      

      creates

      <?xml version="1.0" encoding="ISO-8859-1"?><test xmlns::="uri:urn1"/> 
      ------------------------------------------------------^^
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: