Sergiy
August 18, 2014, 10:19pm
1
Hi Karen,
Most likely it complains about some non-standard term for COUNTRY. Remember that XML syntax is case-sensitive and considers any blank characters like leading of trailing spaces as a part of an actual value.
Unfortunately your example code is not enough to perform diagnostics.
Kind Regards,
Sergiy
Hi ,
I have the below error messages:
xpath
Variables
Values
Rule ID
Message
//MetaDataVersion[@OID=‘TS-P04834 Phase III MEC -CDISC-SDTMIG.3.1.2’]/def:leaf[1]
def:leaf
Annotated Case Report Form
DD0023
Element ‘def:leaf’ in wrong order within Define.xml
//CodeList[@OID=‘COUNTRY’]
CodeList/@OID , ItemDef/@OID
COUNTRY, DM.COUNTRY
DD0024
Invalid Codelist for ‘COUNTRY’ variable
below is teh section of the code:
deftext= ’ def:StandardVersion=“'||”&MetaDataStandardVersion"||‘">’; linenum+1;output;
*** Annotated CRF section ***;
%if &CRFDocName ne %then %do;
deftext= ’ def:AnnotatedCRF ';linenum+1;output;
deftext= ’ <def:DocumentRef leafID=“blankcrf”/> ';linenum+1;output;
deftext= ’ </def:AnnotatedCRF> ';linenum+1;output;
deftext= ’ <def:leaf ID=“blankcrf” xlink:href=“'||”&CRFDocName"||‘">’; linenum+1;output;
deftext= " def:title &CRFDocLabel</def:title>"; linenum+1;output;
deftext= ’ </def:leaf> ';linenum+1;output;
%end;
*** Supplemental document section ***;
%if &RefDocName ne %then %do;
deftext= ’ def:SupplementalDoc <def:DocumentRef leafID=“SupplementalDataDefinitions”/></def:SupplementalDoc>';linenum+1;output;
deftext= ’ <def:leaf ID=“SupplementalDataDefinitions” xlink:href=“'||”&RefDocName"||‘">’; linenum+1;output;
deftext= ’ def:title ’||“&RefDocLabel”||‘</def:title>’; linenum+1;output;
deftext= ’ </def:leaf>'; linenum+1;output;
%end;
end;
Thanks,
Kiran