b Balaji
on

 

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.

Not sure how to resolve this issue. 

Does anyone have any solution?

Forums: Define.xml

j Jozef
on September 5, 2019

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.

How did you create the define.xml?

Jozef Aerts
CDISC Define-XML development team

Sergiy
on September 5, 2019

Hi Balaji, 

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.

b Balaji
on September 6, 2019

Hi Sergiy,

  Thanks for your reply. 

  diagnostic message for this DD0007 issue is 

    In Variable column : Line Number, XML

    In Values column : 10361, <CodeListRef CodeListOID="CL.NY"/>

    In Message column : Invalid content was found starting with element 'CodeListRef'.

Regards,

Balaji.

    

b Balaji
on September 6, 2019

Hi Jozef,

  Thanks for the reply.

   We created define.xml using SAS.

Regards,

Balaji.

j Jozef
on September 6, 2019

The line:
<CodeListRef CodeListOID="CL.NY"/>

looks fine to me.

A separate XML-Schema validation will surely help you further ...

Trevor
on September 7, 2019

Balaji,

If you would like me to take a look at this and help, I'd need you to send me the define.xml document via email: tmankus@pinnacle21.com

Once I get the file, I can help explain what is going on.

Thanks,

Trevor

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.