Forums: Define.xml
Hi Leonid,
Rule DD0023 indicated that there is a problem with the order of elements within your define.xml. In your case, it looks like the <def:leaf> element is not in the right position within the <ItemGroupDef> element. The <ItemGroupDef> should have the following structure:
<ItemGroupDef>
<ItemRef/>
<ItemRef/>
<ItemRef/>
<def:leaf>
<def:title>DM.XPT</def:title>
</def:leaf>
</ItemGroupDef>
Check to make sure that <def:leaf> is the last element within <ItemGroupDef> and the only elements that come before it are <ItemRef> elements.
Regards,
Max
Thanks Max! I updated my code per your suggestion and warning is gone.
I have some more warnings I need a help with:
1. What Rule DD005 does indicate? The message I'm getting is: Attribute 'Role' in wrong position within Define.xml. This message is present for every single variable in VLM. I checked the order of columns in paragraph 2.1.4 of Case Report Tabulaltion Data Definition Specification against columns in VLM tab of spreadsheet and I see no problem there. Where do I need to look for solution?
2. Another one I'm getting is DD0022: Invalid 'def:StandardVersion' value. Value: 2.0. It looks like this check does not recognize the ADaM Versions 2.0 or 2.1. Did I identify this problem correctly?
Thank you.
Leonid
Hi All,
I am having an error message when validating Define.xml for ADaM datasets. I am not sure what element order was violated. I checked an order of datasets and an order of variables inside of the datasets against their positions in define.xml. Everything looks fine. Would you please help?
Thank you in advance!
Leonid