Skip to content
Discussion options

You must be logged in to vote

In the SDK xsds have no notion of attribute order, I also do no think that XML attributes have a notion of order at all.
Attributes are key/value (get or set by attribute name), and I have never seen any program rely on the XML attribute order.
For the order of elements, you must rely on the the SDK xsd order (sequences), this will be easier to do once SDK 1.6 comes out:
https://github.com/OP-TED/eforms-notice-editor/blob/develop/src/test/java/eu/europa/ted/eforms/noticeeditor/helper/notice/NoticeXmlTagSorterTest.java (note that the Java package location may change later)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rouschr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
fields Related to field metadata (/fields/fields.json) notice-types Related to the notice type definitions (/notice-types).
2 participants