BUG-7506: use common DocumentBuilderFactory 95/51195/1
authorRobert Varga <rovarga@cisco.com>
Fri, 20 Jan 2017 10:51:18 +0000 (11:51 +0100)
committerRobert Varga <rovarga@cisco.com>
Mon, 30 Jan 2017 16:04:53 +0000 (17:04 +0100)
commit0361c989786073139a4053287f7532f816515329
tree4cbf928842fa8ec99d33ed91d6ad5aed31d4f5a7
parent90fc6d978ba3f608f72410971e480d5e782a52eb
BUG-7506: use common DocumentBuilderFactory

Yangtools exports UntrustedXML utility class, which contains pre-configured
document builder factories for dealing with XMLs which are not completely
trusted. Reuse that instead of rolling our own, especially in the XML parse
path.

Change-Id: I83d0ea60104f2266669493548e2d40b5ab6e4772
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 1071bff328641dadd4e44d8c0571a069f8747da0)
opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/DataStoreAppConfigMetadata.java
opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/OpendaylightNamespaceHandler.java