Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-305

config-netconf-connector: Creating DOM Document's elements with namespace

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • netconf
    • None
    • Operating System: Linux
      Platform: PC

    • 714

    Description

      -currently elements are created with Document#createElement(String tagName) method and then namespace is set with Element#setAttribute(), it causes that Node#getNamespaceURI() method returns null - fails to compare two DOM Documents with XMLUnit, however are identical
      -correct way is to use Document#createElementNS(String namespaceURI, String qualifiedName) method

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              milos.fabian@pantheon.tech Milos Fabian
              milos.fabian@pantheon.tech Milos Fabian
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: