Idea to actually make deprecated elements better visible
As we are all aware, deprecation of elements (let alone enumerations) is very poorly possible using XML Schema. This means that scanning existing documents for deprecated elements is troublesome because it is not programmatically available, just as comment from the XML Schema.
My proposal would be to resolve the situation for elements by introducing an attribute that attribute can have a default value for example -v2.0 if we have deprecated something in version 2.0. If this element is used in applications that regenerate their classes this will be automatically be added to the output (if defaults are enabled). We could also propose the attribute to have a fixed value in that case the validator using the newer schema will actively complain if the element is missing, and the document itself can be easily scanned for the attribute deprecated.
I would love to hear some feedback.
We should discuss this next week.
That would be Ok for me. Could be named "deprecatedFrom" and have the corresponding fixed NeTEx version value.
@trurlurl can you put this on your todo list?