Parse Xml Netconf msgs without defer-node-expansion option
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)
commitf071cb48e0374aaab6ebcd53084d840682c991d1
tree62ac9645ace3e16ae3669044132d5f853d179bad
parente8782cbd01da561d3f76403c16ed509420d0456c
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