Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-16

newDomNode creates a DOM with empty strings for namespace URIs for unprefixed attributes (rather than null)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • unspecified
    • None
    • DOM
    • None
    • Operating System: Windows XP
      Platform: PC

    Description

      on attributes without a prefix qualifier, element.getAttributeNS(null, "name") should work; however, the
      DOM that xmlbeans creates sets the namespace URI to an empty string rather than null. DOM specifies
      that empty namespaceURI parameters are represented by null

      Attachments

        1. fix16.patch
          1 kB
          Aaron Dunlop
        2. newDomNode.patch
          0.7 kB
          David Waite
        3. test16.patch
          3 kB
          Aaron Dunlop

        Activity

          People

            cezar Cezar Cristian Andrei
            mass@akuma.org David Waite
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: