updated main IMS schemas
authorGreg Gay <info@atutor.ca>
Wed, 6 Jul 2011 16:50:55 +0000 (16:50 -0000)
committerGreg Gay <info@atutor.ca>
Wed, 6 Jul 2011 16:50:55 +0000 (16:50 -0000)
docs/home/ims/imscp_v1p2.xsd
docs/home/ims/imscp_v1p2_constraintsDocument.scmt
docs/home/ims/imscp_v1p2_localised.xsd
docs/home/ims/main.xsd

index 3260030..4013ea9 100644 (file)
@@ -1,4 +1,58 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+    IPR, License and Distribution Notices\r
+    This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2 \r
+    found at http://www.imsglobal.org/content/packaging/ and the original IMS schema binding or code base \r
+    http://www.imsglobal.org/content/packaging/.\r
+    \r
+    Recipients of this document are requested to submit, with their comments, notification of any relevant patent \r
+    claims or other intellectual property rights of which they may be aware that might be infringed by the schema \r
+    binding contained in this document.\r
+    \r
+    IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be \r
+    claimed to pertain to the implementation or use of the technology described in this document or the extent to \r
+    which any license under such rights might or might not be available; neither does it represent that it has made \r
+    any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications \r
+    can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.\r
+    \r
+    Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.\r
+    \r
+    License Notice for Users\r
+    Users of products or services that include this document are hereby granted a worldwide, royalty-free, \r
+    non-exclusive license to use this document.\r
+    \r
+    Distribution Notice for Developers\r
+    Developers of products or services that are not original incorporators of this document and have not changed this \r
+    document, that is, are distributing a software product that incorporates this document as is from a third-party source \r
+    other than IMS, are hereby granted permission to copy, display and distribute the contents of this document in any \r
+    medium for any purpose without fee or royalty provided that you include this IPR, License and Distribution notice in its \r
+    entirety on ALL copies, or portions thereof.\r
+    \r
+    Developers of products or services that are original incorporators of this document and wish to provide distribution \r
+    of this document as is or with modifications and developers of products and services that are not original incorporators \r
+    of this document and have changed this document, are required to register with the IMS community on the IMS website \r
+    as described in the following two paragraphs:\r
+    \r
+    - If you wish to distribute this document as is, with no modifications, you are hereby granted permission to copy, \r
+    display and distribute the contents of this document in any medium for any purpose without fee or royalty provided \r
+    that you include this IPR, License and Distribution notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid license registration with IMS and receive an email from IMS granting the license. \r
+    To register, follow the instructions on the IMS website: http://www.imsglobal.org/specificationdownload.cfm. Once \r
+    registered you are granted permission to transfer unlimited distribution rights of this document for the purposes \r
+    of third-party or other distribution of your product or service that incorporates this document as long as this IPR, \r
+    License and Distribution notice remains in place in its entirety.\r
+    \r
+    - If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, \r
+    display and distribute the contents of the derived work in any medium for any purpose without fee or royalty provided that you include this IPR, License and Distribution notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid profile registration with IMS and receive an email from IMS granting the license. To register, follow the instructions on the IMS website: http://www.imsglobal.org/profile/. Once registered you are granted permission to transfer unlimited distribution rights of the derived work for the purposes of third-party or other distribution of your product or service that incorporates the derived work as long as this IPR, License and Distribution notice remains in place in its entirety.\r
+    \r
+    The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.\r
+    \r
+    THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, \r
+    ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION \r
+    SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR \r
+    ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER \r
+    OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING \r
+    FROM THE USE OF THIS SPECIFICATION.\r
+-->\r
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imscp_v1p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imscp_v1p1" version="IMS CP 1.2" elementFormDefault="qualified" attributeFormDefault="unqualified">\r
     <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd" />\r
     <xs:annotation>\r
index e23040d..0ee9287 100644 (file)
   <!--***********************************************************************************************-->\r
 \r
 \r
+  <pattern name="pattern_2">\r
+    <rule context="ims:organizations/ims:organization//ims:item">\r
+      <assert test="not(@isvisible='false') or count(./ims:item)=count(./ims:item[@isvisible='false'])">Assertion failed for pattern_2. If an item is invisible, its descendants must be invisible too.(#S02)</assert>\r
+    </rule>\r
+  </pattern>\r
+\r
   <pattern name="pattern_3">\r
     <rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">\r
       <assert test="(not(../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='webcontent']/@identifier)">Assertion failed for pattern_3. A Resource object which is a Learning Object associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>\r
     </rule>\r
   </pattern>\r
 \r
+<!-- Reference to SCORM removed\r
+  <pattern name="pattern_8">\r
+    <rule context="ims:manifest/ims:resources/ims:resource">\r
+      <assert test="not(./@type='imscc_xmlv1p0/scorm') or (count(./ims:file) = 1 and count(./ims:dependency)=0 and count(./@href)=0)">Error: Assertion validation failed for pattern_8:For SCORM resources the Resource object must contain a single File object which references the SCORM package interchange file.(#S08)</assert>\r
+    </rule>\r
+  </pattern>\r
+  -->\r
+<!-- TI references removed\r
+  <pattern name="pattern_9">\r
+    <rule context="ims:manifest/ims:resources/ims:resource">\r
+      <assert test="not(./@type='imstiptdc_xmlv1p0') or (count(./ims:file) = 1 and count(./ims:dependency)=1 and count(./@href)=0)">Error: Assertion validation failed for pattern_9: For TI Deployment Context Resources the Resource object must contain a single File object which references the TI deployment context XML file. It must have a single dependency which references a Resource object with Type 'imstiptdd_xmlv1p0'. This represents the Tools Interoperabilty Deployment Descriptor.The TI Deployment Context Resource must not have any href attribute(#S09)</assert>\r
+    </rule>\r
+  </pattern>\r
+\r
+\r
+  <pattern name="pattern_10">\r
+    <rule context="ims:manifest/ims:resources/ims:resource">\r
+      <assert test="not(./@type='imstiptdd_xmlv1p0') or (count(./ims:file) = 1 and count(./ims:dependency)=0 and count(./@href)=0)">Error: Assertion validation failed for pattern_9: For Deployment Descriptor Resources the Resource object must contain a single File object which references the TI deployment descriptor XML file. This file must conform to the schema http://www.imsglobal.org/services/cc/imsti_ptdd_v1p0. The Deployment Descriptor Resource must have neither a dependency nor an href attribute.(#S10)</assert>\r
+    </rule>\r
+  </pattern>\r
+-->\r
 \r
   <pattern name="pattern_11a">\r
     <rule context="ims:manifest/ims:resources/ims:resource">\r
       <assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (count(./ims:file) = 1 and count(./@href)=0)">Error: Assertion validation failed for pattern_11a: For Assessment resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.zip. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11a)</assert>\r
     </rule>\r
   </pattern>\r
-\r
+<!--\r
+       The following pattern has been broken up into pattern 11b1-11b4 for better readability of reports\r
+  <pattern name="pattern_11b">\r
+    <rule context="ims:manifest/ims:resources/ims:resource">\r
+      <assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or (count(./ims:file) = 1 and count(./@href)=0 and not(//ims:item[@identifierref]=./@identifier) and count(//ims:resource[@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank'])=1)">Error: Assertion validation failed for pattern_11b: For Question Bank resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.zip. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute. Moreover a Question Bank Resource must not be referenced from an item. There can be only one Questionbank Resource in a cartridge.(#S11b)</assert>\r
+    </rule>\r
+  </pattern>\r
+-->\r
   <pattern name="pattern_11b1">\r
     <rule context="ims:manifest/ims:resources/ims:resource">\r
       <assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or (count(./ims:file) = 1 )">Error: Assertion validation failed for pattern_11b1: For Question Bank resources the Resource object must contain a single File object which references the QTI XML file. (#S11b1)</assert>\r
     </rule>\r
   </pattern>\r
 \r
+<!-- TI reference removed\r
+  <pattern name="pattern_13">\r
+    <rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">\r
+      <assert test="(not(../@type='imstiptdc_xmlv1p0')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='imstiptdd_xmlv1p0']/@identifier)">Assertion failed for pattern_13. A Resource object which is a Deployment Context may contain a single Dependency object which reference Resource objects which describe a Deployment descriptor.(#S13)</assert>\r
+    </rule>\r
+  </pattern>\r
+-->\r
+\r
   <pattern name="pattern_14">\r
     <rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">\r
       <assert test="(not(../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='webcontent']/@identifier) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_14. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>\r
index c8a87f1..e1375e0 100644 (file)
@@ -1,4 +1,58 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+    IPR, License and Distribution Notices\r
+    This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2 \r
+    found at http://www.imsglobal.org/content/packaging/ and the original IMS schema binding or code base \r
+    http://www.imsglobal.org/content/packaging/.\r
+    \r
+    Recipients of this document are requested to submit, with their comments, notification of any relevant patent \r
+    claims or other intellectual property rights of which they may be aware that might be infringed by the schema \r
+    binding contained in this document.\r
+    \r
+    IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be \r
+    claimed to pertain to the implementation or use of the technology described in this document or the extent to \r
+    which any license under such rights might or might not be available; neither does it represent that it has made \r
+    any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications \r
+    can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.\r
+    \r
+    Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.\r
+    \r
+    License Notice for Users\r
+    Users of products or services that include this document are hereby granted a worldwide, royalty-free, \r
+    non-exclusive license to use this document.\r
+    \r
+    Distribution Notice for Developers\r
+    Developers of products or services that are not original incorporators of this document and have not changed this \r
+    document, that is, are distributing a software product that incorporates this document as is from a third-party source \r
+    other than IMS, are hereby granted permission to copy, display and distribute the contents of this document in any \r
+    medium for any purpose without fee or royalty provided that you include this IPR, License and Distribution notice in its \r
+    entirety on ALL copies, or portions thereof.\r
+    \r
+    Developers of products or services that are original incorporators of this document and wish to provide distribution \r
+    of this document as is or with modifications and developers of products and services that are not original incorporators \r
+    of this document and have changed this document, are required to register with the IMS community on the IMS website \r
+    as described in the following two paragraphs:\r
+    \r
+    - If you wish to distribute this document as is, with no modifications, you are hereby granted permission to copy, \r
+    display and distribute the contents of this document in any medium for any purpose without fee or royalty provided \r
+    that you include this IPR, License and Distribution notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid license registration with IMS and receive an email from IMS granting the license. \r
+    To register, follow the instructions on the IMS website: http://www.imsglobal.org/specificationdownload.cfm. Once \r
+    registered you are granted permission to transfer unlimited distribution rights of this document for the purposes \r
+    of third-party or other distribution of your product or service that incorporates this document as long as this IPR, \r
+    License and Distribution notice remains in place in its entirety.\r
+    \r
+    - If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, \r
+    display and distribute the contents of the derived work in any medium for any purpose without fee or royalty provided that you include this IPR, License and Distribution notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid profile registration with IMS and receive an email from IMS granting the license. To register, follow the instructions on the IMS website: http://www.imsglobal.org/profile/. Once registered you are granted permission to transfer unlimited distribution rights of the derived work for the purposes of third-party or other distribution of your product or service that incorporates the derived work as long as this IPR, License and Distribution notice remains in place in its entirety.\r
+    \r
+    The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.\r
+    \r
+    THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, \r
+    ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION \r
+    SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR \r
+    ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER \r
+    OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING \r
+    FROM THE USE OF THIS SPECIFICATION.\r
+-->\r
 <!--*************************************************************************-->\r
 <!--** This schema has been modified from the original base schema named - **-->\r
 <!--** imscp_v1p2.xsd                                                      **-->\r
index e74cbc9..b97427e 100644 (file)
@@ -6,6 +6,7 @@
     xmlns:imscp     ="http://www.imsglobal.org/xsd/imscc/imscp_v1p1"
     xmlns:imslom    ="http://ltsc.ieee.org/xsd/imscc/LOM"
     xmlns:lom       ="http://ltsc.ieee.org/xsd/LOM"
+       xmlns:voc       ="http://ltsc.ieee.org/xsd/LOM/vocab"
     xmlns:cc        ="http://www.imsglobal.org/xsd/imsccauth_v1p0"
     xmlns:qti      ="http://www.imsglobal.org/xsd/ims_qtiasiv1p2"
     xmlns:wl       ="http://www.imsglobal.org/xsd/imswl_v1p0"
@@ -19,7 +20,8 @@
     <xs:import namespace ="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" schemaLocation = "imscp_v1p2_localised.xsd"                     />
     <xs:import namespace ="http://ltsc.ieee.org/xsd/imscc/LOM"            schemaLocation = "domainProfile_1/lomLoose_localised.xsd"       />
     <xs:import namespace ="http://ltsc.ieee.org/xsd/LOM"                  schemaLocation = "domainProfile_2/lomLoose_localised.xsd"       />
-    <xs:import namespace ="http://www.imsglobal.org/xsd/imsccauth_v1p0"   schemaLocation = "domainProfile_0/imsccauth_v1p0_localised.xsd" />
+    <xs:import namespace ="http://ltsc.ieee.org/xsd/LOM/vocab"            schemaLocation = "domainProfile_2/vocab/loose.xsd"       />
+       <xs:import namespace ="http://www.imsglobal.org/xsd/imsccauth_v1p0"   schemaLocation = "domainProfile_0/imsccauth_v1p0_localised.xsd" />
     <xs:import namespace ="http://www.imsglobal.org/xsd/ims_qtiasiv1p2"   schemaLocation = "domainProfile_4/ims_qtiasiv1p2_localised.xsd" />
     <xs:import namespace ="http://www.imsglobal.org/xsd/imswl_v1p0"      schemaLocation = "domainProfile_5/imswl_v1p0_localised.xsd"     />    
     <xs:import namespace ="http://www.imsglobal.org/xsd/imsdt_v1p0"      schemaLocation = "domainProfile_6/imsdt_v1p0_localised.xsd"     />