d Daniel
on

 

Hi all,

 

Validator looks great.  I'm getting this error though, and am not sure why:

 

Missing or invalid Namespace attribute

  • OD0002: The ODM file must reference the CDISC ODM namespace 'http://www.cdisc.org/ns/odm/v1.2'.
  • Occurrences: 1
  • Severity: High

The first line of my define is:

<ODM xmlns="http://www.cdisc.org/ns/odm/v1.2"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xlink="http://www.w3.org/1999/xlink"
 xmlns:def="http://www.cdisc.org/ns/def/v1.0"
 xsi:schemaLocation="http://www.cdisc.org/ns/odm/v1.2 define1-0-0.xsd"
 FileType="Snapshot"
 FileOID="DefineXML_XXX"
 CreationDateTime="2010-02-25T14:11:24"
 ODMVersion="1.2"
>

 

Any ideas?

Dan

Forums: Define.xml

m Max
on February 25, 2010

Hi Dan,

Your ODM element looks good. I created a define.xml with just your ODM element, but could not reproduce your issue. There must be something else in your file that is causing this, but what?

Check the following:

  • Do you have any lines before the ODM element besides the xml declaration?
  • Do you have any other namespace declarations in the file besides the ones on the ODM element?

Thanks,

Max

d Daniel
on February 26, 2010

This is all I've got.

 

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="define1-0-0.xsl"?>
<!-- **************************************************************** -->
<!-- File: define.xml                                                 -->
<!-- Date: 26FEB10    11:17                                       -->
<!-- Author: Genzyme Corporation - D.Boisvert                                                  -->
<!-- Description: This the define.xml which implements the Case       -->
<!--  Report Tabulation Data Definition Specification Version 1.0.0   -->
<!-- **************************************************************** -->
<ODM   xmlns="http://www.cdisc.org/ns/odm/v1.2"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xlink="http://www.w3.org/1999/xlink"
 xmlns:def="http://www.cdisc.org/ns/def/v1.0"
 xsi:schemaLocation="http://www.cdisc.org/ns/odm/v1.2 define1-0-0.xsd"
 FileType="Snapshot"
 FileOID="DefineXML_XXX"
 CreationDateTime="2010-02-26T15:03:47"
 ODMVersion="1.2"
>

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.