BUG-1770: emit proper namespaces 46/10946/5
authorRobert Varga <rovarga@cisco.com>
Tue, 9 Sep 2014 13:47:11 +0000 (15:47 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Fri, 12 Sep 2014 12:32:03 +0000 (14:32 +0200)
commit47f7972a8891038ae911f5eb3ab2e40bd76572ad
tree25856f68e37b012f1f8dca85586cb4372ce8e87c
parentf7e533e380799649d2966a391cc58761f22f8c7e
BUG-1770: emit proper namespaces

We add calls to setPrefix() and only use the calls with explicit
namespace prefix to emit elements.

Change-Id: Ib603567b3080388c6016ece5e34cac6a723ef8c0
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/xml/XMLStreamNormalizedNodeStreamWriter.java
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/xml/XmlStreamUtils.java