BUG-1668: make sure MapEntryNodes emit key children first 45/10645/2
authorRobert Varga <rovarga@cisco.com>
Tue, 2 Sep 2014 17:47:23 +0000 (19:47 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 2 Sep 2014 21:12:58 +0000 (23:12 +0200)
commit9b9bd1d401837b5a85cf759085c8515c504a0cbe
treeb7c2d2cea8913a1f1cfbcfbecbca811e047a7487
parentfc3db0ab38fb19a422d608ac0d607718433890e9
BUG-1668: make sure MapEntryNodes emit key children first

As per RFC6020, the XML representation requires the key entries to be
emitted first. It takes some doing, but this patch does exactly that.

Change-Id: If1b8155f914475224389609cc43e244e2e431f23
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/NormalizedNodeWriter.java