CDISC DEFINE.XML Validation
Overview
The following are results from testing latest draft DEFINE.XML within the CDISC SDS team against tools validating if they are well formed.
No Software Name  Validation Result Status
1 DecisionSoft

Well Formed: INCOMPLETE
Schema Validation: SCHEMA NOT FOUND
The following errors were found:

TYPE

LOC

MESSAGE

Validation

37, 15

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Study '.

You may have submitted an instance in the schema field.

Validation

37, 110

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw ', Data Definitions'.

You may have submitted an instance in the schema field.

Validation

41, 27

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'function updateResize()'.

You may have submitted an instance in the schema field.

Validation

42, 5

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '{'.

You may have submitted an instance in the schema field.

Validation

44, 23

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'collapse("toc1");'.

You may have submitted an instance in the schema field.

Validation

45, 23

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'collapse("toc2");'.

You may have submitted an instance in the schema field.

Validation

46, 26

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'collapse("tocb2.1");'.

You may have submitted an instance in the schema field.

Validation

47, 74

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'content.style.width = Math.max(document.body.clientWidth - 220, 0); '.

You may have submitted an instance in the schema field.

Validation

48, 5

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '}'.

You may have submitted an instance in the schema field.

Validation

50, 31

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'function parentClick(idname)'.

You may have submitted an instance in the schema field.

Validation

51, 4

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '{'.

You may have submitted an instance in the schema field.

Validation

52, 24

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'var Source, Target;'.

You may have submitted an instance in the schema field.

Validation

53, 38

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Source = window.event.srcElement;'.

You may have submitted an instance in the schema field.

Validation

56, 54

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'if( Source.className.indexOf("tocParent") == 0 ) '.

You may have submitted an instance in the schema field.

Validation

57, 6

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '{'.

You may have submitted an instance in the schema field.

Validation

58, 12

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'i=1;'.

You may have submitted an instance in the schema field.

Validation

60, 70

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Target = document.getElementById(idname + "." + i.toString());'.

You may have submitted an instance in the schema field.

Validation

62, 61

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'if (Target != null && Target.style.display == "none")'.

You may have submitted an instance in the schema field.

Validation

63, 9

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '{'.

You may have submitted an instance in the schema field.

Validation

64, 58

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Source.style.listStyleImage = "url(icon3.gif)";'.

You may have submitted an instance in the schema field.

Validation

65, 26

s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'expand(idname);'.

You may have submitted an instance in the schema field.

Terminal

0, 0

There have been too many errors, please check that you have not submitted the instance and schema the wrong way round.

 
2 Stylus Studio Well Formed: The XML document define.xml is well-formed.

Schema Validation:
http://www.cdisc.org/schema/odm/v1.2.1/ODM1-2-1.xsd:21,67: unable to find declaration in the schema being redefined corresponding to 'MetaDataVersionAttributeExtension'
http://www.cdisc.org/schema/odm/v1.2.1/ODM1-2-1.xsd:28,66: unable to find declaration in the schema being redefined corresponding to 'MetaDataVersionPreIncludeElementExtension'
http://www.cdisc.org/schema/odm/v1.2.1/ODM1-2-1.xsd:44,64: unable to find declaration in the schema being redefined corresponding to 'ItemGroupDefAttributeExtension'
http://www.cdisc.org/schema/odm/v1.2.1/ODM1-2-1.xsd:53,53: unable to find declaration in the schema being redefined corresponding to 'ItemGroupDefElementExtension'
http://www.cdisc.org/schema/odm/v1.2.1/ODM1-2-1.xsd:66,59: unable to find declaration in the schema being redefined corresponding to 'ItemDefAttributeExtension'
http://www.cdisc.org/schema/odm/v1.2.1/ODM1-2-1.xsd:73,48: unable to find declaration in the schema being redefined corresponding to 'ItemDefElementExtension'
http://www.cdisc.org/schema/odm/v1.2.1/ODM1-2-1.xsd:85,64: unable to find declaration in the schema being redefined corresponding to 'CodeListItemAttributeExtension'
http://www.w3.org/2001/XMLSchema.dtd:121,9: warning: attribute 'xmlns' has already been declared for element 'schema'
http://www.cdisc.org/schema/def/v1.0/define-ns.xsd:72,71: type 'http://www.cdisc.org/ns/odm/v1.2:oid' not found
http://www.cdisc.org/schema/def/v1.0/define-ns.xsd:72,71: simpleType 'http://www.cdisc.org/ns/odm/v1.2:oid' for attribute 'OID' not found
http://www.cdisc.org/schema/def/v1.0/define-ns.xsd:81,79: type 'http://www.cdisc.org/ns/odm/v1.2:ItemRef' not found
http://www.cdisc.org/schema/def/v1.0/define-ns.xsd:81,79: referenced element 'odm:ItemRef' not found
http://www.cdisc.org/schema/def/v1.0/define-extension.xsd:21,67: global attributeGroup 'MetaDataVersionAttributeExtension' declared more than once
http://www.cdisc.org/schema/def/v1.0/define-extension.xsd:28,66: global group 'MetaDataVersionPreIncludeElementExtension' declared more than once
http://www.cdisc.org/schema/def/v1.0/define-extension.xsd:44,64: global attributeGroup 'ItemGroupDefAttributeExtension' declared more than once
http://www.cdisc.org/schema/def/v1.0/define-extension.xsd:53,53: global group 'ItemGroupDefElementExtension' declared more than once
http://www.cdisc.org/schema/def/v1.0/define-extension.xsd:66,59: global attributeGroup 'ItemDefAttributeExtension' declared more than once
http://www.cdisc.org/schema/def/v1.0/define-extension.xsd:73,48: global group 'ItemDefElementExtension' declared more than once
http://www.cdisc.org/schema/def/v1.0/define-extension.xsd:85,64: global attributeGroup 'CodeListItemAttributeExtension' declared more than once
define.xml:43,33: attribute '{http://www.cdisc.org/ns/def/v1.0}DefineVersion' is not declared for element 'MetaDataVersion'
define.xml:43,33: attribute '{http://www.cdisc.org/ns/def/v1.0}StandardName' is not declared for element 'MetaDataVersion'
define.xml:43,33: attribute '{http://www.cdisc.org/ns/def/v1.0}StandardVersion' is not declared for element 'MetaDataVersion'
define.xml:50,50: unable to find validator for simple type of attribute 'OID'
define.xml:53,50: unable to find validator for simple type of attribute 'OID'
define.xml:59,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:68,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:71,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:83,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:93,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:98,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:106,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:111,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:114,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:136,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:145,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:151,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:158,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:167,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:170,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:173,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:176,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:179,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:182,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:207,24: element 'ItemRef' is not allowed for content model 'EMPTY'
define.xml:220,44: attribute '{http://www.cdisc.org/ns/def/v1.0}Label' is not declared for element 'ItemGroupDef'
define.xml:220,44: attribute '{http://www.cdisc.org/ns/def/v1.0}Structure' is not declared for element 'ItemGroupDef'
define.xml:220,44: attribute '{http://www.cdisc.org/ns/def/v1.0}DomainKeys' is not declared for element 'ItemGroupDef'
define.xml:220,44: attribute '{http://www.cdisc.org/ns/def/v1.0}Class' is not declared for element 'ItemGroupDef'
define.xml:220,44: attribute '{http://www.cdisc.org/ns/def/v1.0}ArchiveLocationID' is not declared for element 'ItemGroupDef'
define.xml:280,20: element 'leaf' is not allowed for content model '(ItemRef,Alias)'
define.xml:290,44: attribute '{http://www.cdisc.org/ns/def/v1.0}Label' is not declared for element 'ItemGroupDef'
Too many errors: validation canceled
The XML document define.xml is NOT valid (50 errors)

3 Validator Buddy <?xml version="1.0" encoding="UTF-16" standalone="no" ?>
<log>

<file>
<file done="true" path="..\definexml\oct14\define.xml" time="10/23/09 11:27:42" well_formed="true">
<general></general>
</file>
</file>

</log>
4 Oxygen XML Editor
5 Liquid XML Studio 2009  
6  CookTop  
7 XMLBlueprint XML Editor

 
Keys
 
     Last Updated Oct 23, 2009