D
Dan Gilleland
Here's an interesting problem:
I am attempting to use an existing schema for use in
creating learning objects. I am just beginning to explore
Word's potential in this venue, and I am having some
problems. Basically, Word is saying that the schema I'm
using (from IMS) has a problem. Can anyone help??
The technical info behind this problem is as follows:
----------------------------------------------------
The schema location is:
http://www.imsglobal.org/xsd/imsmd_v1p2p2.xsd
When I try to use it in Word, I get a message that states
the following:
"The schema(s) you have selected cannot be used in this
document. Some of the schemas may or may not be valid, or
they may require addtional schemas in order to operate
correctly."
The details of the message state that there is an
undeclared xsd attribute:
'{http://www.w3.org/XML/1998/namespace}lang'
From examining the schema, I believe the problem lies in
the declaration of the following complex type:
<xs:complexType name="stringType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="x:lang"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
The x: and xs: namespaces are declared in the start of the
schema as follows:
xmlns:x="http://www.w3.org/XML/1998/namespace"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
Am I correct in interpreting this as a problem resolving
the lang attribute reference in the x: namespace??
------------------------
Many thanks in advance for any help with this!
Sincerely,
Dan Gilleland
([email protected])
I am attempting to use an existing schema for use in
creating learning objects. I am just beginning to explore
Word's potential in this venue, and I am having some
problems. Basically, Word is saying that the schema I'm
using (from IMS) has a problem. Can anyone help??
The technical info behind this problem is as follows:
----------------------------------------------------
The schema location is:
http://www.imsglobal.org/xsd/imsmd_v1p2p2.xsd
When I try to use it in Word, I get a message that states
the following:
"The schema(s) you have selected cannot be used in this
document. Some of the schemas may or may not be valid, or
they may require addtional schemas in order to operate
correctly."
The details of the message state that there is an
undeclared xsd attribute:
'{http://www.w3.org/XML/1998/namespace}lang'
From examining the schema, I believe the problem lies in
the declaration of the following complex type:
<xs:complexType name="stringType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="x:lang"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
The x: and xs: namespaces are declared in the start of the
schema as follows:
xmlns:x="http://www.w3.org/XML/1998/namespace"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
Am I correct in interpreting this as a problem resolving
the lang attribute reference in the x: namespace??
------------------------
Many thanks in advance for any help with this!
Sincerely,
Dan Gilleland
([email protected])