Error from Validator

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

This is all I’ve got.

<?xml version="1.0" encoding="ISO-8859-1" ?> <?xml-stylesheet type="text/xsl" href="define1-0-0.xsl"?>

<ODM xmlns=“http://www.cdisc.org/ns/odm/v1.2
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xmlns:xlink=“XLink namespace
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”

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=“XLink namespace
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