The Define-XML specification defines a strict order for the elements. Just because the stylesheet displays the define.xml file, does not mean that the elements in your define.xml follow the correct order.
Hi Lex, Is this from section 6 in 2.0 specs pdf? I will update accordingly but still would like to know the reasoning.
Thanks,
Nitin.
It is very common that a well designed XML document has an order of elements defined. If the spec does not define this, users would define their own order, which will make things very confusing.
A good reference is IBM Developer
Hi, I get a few of these errors for different elements but everything seems to be lined up correctly in the define when viewed in IE.
DD0023 Element ‘ItemDef’ in wrong order within Define.xml
DD0023 Element ‘ItemGroupDef’ in wrong order within Define.xml
DD0023 Element ‘def:CommentDef’ in wrong order within Define.xml
DD0023 Element ‘def:leaf’ in wrong order within Define.xml
example:
Annotated Case Report Form DD0023 Element ‘def:leaf’ in wrong order within Define.xml
Reviewers Guide DD0023 Element ‘def:leaf’ in wrong order within Define.xml
Complex Algorithms DD0023 Element ‘def:leaf’ in wrong order within Define.xml