DId you do an XML-Schema validation first? That is usually the best first step.
The error sounds like you have an invalid XML element (name) somewhere or that the order of the elements is incorrect.
The easiest way to find out what/where is to use an XML-editor (oXygen, StylusStudio, Liquid, …) and to do a validation against the XML-Schema (file define2-0-0.xsd) and it will show you immediately (graphically) where the problem is.
In case of doubt you can always contact me, but then I will probably need a copy of your define.xml file.
What is your diagnostic message for this DD0007 issue? (in Variables and Values columns of validation report).
Examples of typical errors are 1) incorrect case in name of Element and Attributes (e.g., “ItemREF” or “itemref” instead of “ItemRef”) or 2) not following an order of Elements per Define-XML standard documentation (XML-Schema).
Kind Regards,
Sergiy
P.S. XML-Schema validation is included in Pinnacle 21. So, you do not need to run an additional validation.
We have created a define.xml 2.0. But while validating the define in Pinnacle, we are getting an error
error id: DD0007
Rule: Define.xml must only contain elements that are defined in either ODM or Define-XML specifications. The elements must also follow the cardinality and order specified in the specifications.