added a comment -
2010-07-08 12:07 Definitely with issues.
I added the following attributes to the root element:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openmath.org/OpenMathCD
http://www.openmath.org/standard/om20-2004-06-30/omcd2.xsd"
Here's the validator report:
cd/tensor1.ocd:5: 54:
[Error] cvc-complex-type.2.4.a: Invalid content was found starting with element 'math'. One of '{"http://www.openmath.org/OpenMathCD":CDComment, "http://www.openmath.org/OpenMathCD":Description, "http://www.openmath.org/OpenMathCD":CDName, "http://www.openmath.org/OpenMathCD":CDURL, "http://www.openmath.org/OpenMathCD":CDBase, "http://www.openmath.org/OpenMathCD":CDReviewDate, "http://www.openmath.org/OpenMathCD":CDDate, "http://www.openmath.org/OpenMathCD":CDStatus, "http://www.openmath.org/OpenMathCD":CDUses, "http://www.openmath.org/OpenMathCD":CDVersion, "http://www.openmath.org/OpenMathCD":CDRevision, "http://www.openmath.org/OpenMathCD":CDDefinition}' is expected.
cd/tensor1.ocd:72: 21:
[Error] cvc-type.3.1.2: Element 'Description' is a simple type, so it must have no element information item
[children].
cd/tensor1.ocd:98: 7:
[Error] cvc-complex-type.2.4.a: Invalid content was found starting with element 'OMA'. One of '{"http://www.openmath.org/OpenMath":OMOBJ}' is expected.
cd/tensor1.ocd:165: 60:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
cd/tensor1.ocd:170: 64:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
cd/tensor1.ocd:171: 64:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
cd/tensor1.ocd:172: 64:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
cd/tensor1.ocd:174: 59:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
cd/tensor1.ocd:209: 64:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
cd/tensor1.ocd:210: 64:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
cd/tensor1.ocd:211: 64:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
cd/tensor1.ocd:213: 60:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
cd/tensor1.ocd:214: 59:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
cd/tensor1.ocd:216: 8:
[Error] cvc-complex-type.2.3: Element 'OMA' cannot have character
[children], because the type's content type is element-only.
14 errors in cd/tensor1.ocd.
There's an issue with this CD file.
The transformation is there at http://www.openmath.org/cd/tensor1.xhtml but it fails quite much.
Have you validated it?
paul