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

Nagasena EXI library encodes xml incorrectly

    XMLWordPrintable

Details

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

    • 722

    Description

      See https://git.opendaylight.org/gerrit/#/c/5678/13/opendaylight/netconf/netconf-util/src/test/java/org/opendaylight/controller/netconf/util/EXILibTest.java

      The encoding process succeeds, but decoding then fails. The problem is namespace handling and appears only when using SAX Transformer to encode DOM to EXI.

      There is a workaround in https://git.opendaylight.org/gerrit/#/c/5678/13/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/handler/NetconfMessageToEXIEncoder.java but it needs to be fixed.

      We need to pinpoint the issue and if it really is a nagasena bug, then
      we need either to fix nagasena library ourselves and propose a patch:
      https://sourceforge.net/projects/openexi/
      or report the issue to nagasena developers and wait for them to fix it.

      Attachments

        Issue Links

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

          Activity

            People

              mmarsale@cisco.com Maros Marsalek
              mmarsale@cisco.com Maros Marsalek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: