[YANGTOOLS-282] NormalizedNodeWriter does not emit keys in correct order Created: 02/Sep/14 Updated: 10/Apr/22 Resolved: 03/Sep/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 1668 |
| Description |
|
RFC 6020 calls for XML encoding to list the nodes which are part of a keyed container's key first, in the order as they appear in the key definition. JSON encoding does not care. NormalizedNodeWriter does not honor this, as it will emit the nodes in the iteration order of the underlying map. |
| Comments |
| Comment by Robert Varga [ 02/Sep/14 ] |
|
https://git.opendaylight.org/gerrit/10644 |