Parse Xml Netconf msgs without defer-node-expansion option 79/18579/1
authorMaros Marsalek <mmarsale@cisco.com>
Fri, 17 Apr 2015 11:46:21 +0000 (13:46 +0200)
committerMaros Marsalek <mmarsale@cisco.com>
Sat, 18 Apr 2015 12:58:50 +0000 (14:58 +0200)
commit5d2143e1a7ec0531014007c4612f688bd3333b19
tree8d467276991b0e25d1a519bd2e1453cd3c2af452
parent9f1f923d51b8fe8df4ec570055c3d39eb79e8af6
Parse Xml Netconf msgs without defer-node-expansion option

The defer-node-expansion expands inner nodes on traversal, but its suitable for
bigger xmls (100k bytes) and messages that are not fully traversed. This is not
the case with incomming netconf rpc.

Source:
https://xerces.apache.org/xerces2-j/faq-performance.html

Tested:
Netconf server pipeline performance was improved by 5-6%

Change-Id: I3bd4b917841f0ebe212ff753d6e0f655d618968c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/xml/XmlUtil.java