home *** CD-ROM | disk | FTP | other *** search
/ ftp.novell.com / 2014.06.ftp.novell.com.tar / ftp.novell.com / forge / camtasia.msi / Cabs.w1.cab / imscp_v1p1.xsd5 < prev    next >
Extensible Markup Language  |  2009-08-17  |  18KB  |  373 lines

  1. <?xml version = "1.0" encoding = "UTF-8"?>
  2. <!--Generated by Turbo XML 2.3.1.100. Conforms to w3c http://www.w3.org/2001/XMLSchema-->
  3. <xsd:schema xmlns = "http://www.imsglobal.org/xsd/imscp_v1p1"
  4.      targetNamespace = "http://www.imsglobal.org/xsd/imscp_v1p1"
  5.      xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
  6.      xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
  7.      version = "IMS CP 1.1.4"
  8.      elementFormDefault = "qualified">
  9.     <xsd:import namespace = "http://www.w3.org/XML/1998/namespace" schemaLocation = "http://www.w3.org/2001/xml.xsd"/>
  10.  
  11.     <!-- ******************** -->
  12.     
  13.     
  14.     <!-- ** Change History ** -->
  15.     
  16.     
  17.     <!-- ******************** -->
  18.     <xsd:annotation>
  19.     <xsd:documentation xml:lang = "en">DRAFT XSD for IMS Content Packaging version 1.1 DRAFT                </xsd:documentation>
  20.     <xsd:documentation> Copyright (c) 2001 IMS GLC, Inc.                                                    </xsd:documentation>
  21.     <xsd:documentation>2000-04-21, Adjustments by T.D. Wason from CP 1.0.                                   </xsd:documentation>
  22.     <xsd:documentation>2001-02-22, T.D.Wason: Modify for 2000-10-24 XML-Schema version.                     </xsd:documentation>
  23.     <xsd:documentation> Modified to support extension.                                                      </xsd:documentation>
  24.     <xsd:documentation>2001-03-12, T.D.Wason: Change filename, target and meta-data namespaces              </xsd:documentation>
  25.     <xsd:documentation> and meta-data filename.                                                             </xsd:documentation>
  26.     <xsd:documentation> Add meta-data to itemType, fileType and organizationType.                           </xsd:documentation>
  27.     <xsd:documentation> Do not define namespaces for xml in XML instances generated from this xsd.          </xsd:documentation>
  28.     <xsd:documentation> Imports IMS meta-data xsd, lower case element names.                                </xsd:documentation>
  29.     <xsd:documentation> This XSD provides a reference to the IMS meta-data root element as imsmd:record     </xsd:documentation>
  30.     <xsd:documentation> If the IMS meta-data is to be used in the XML instance then the instance            </xsd:documentation>
  31.     <xsd:documentation> must definean IMS meta-data prefix with a namespace.                                </xsd:documentation>
  32.     <xsd:documentation> The meta-data targetNamespace should be used.                                       </xsd:documentation>
  33.     <xsd:documentation> </xsd:documentation>
  34.     <xsd:documentation>2001-03-20, Thor Anderson: Remove manifestref, change resourceref back to            </xsd:documentation>
  35.     <xsd:documentation> identifierref, change manifest back to contained by manifest.                       </xsd:documentation>
  36.     <xsd:documentation> </xsd:documentation>
  37.     <xsd:documentation> --Tom Wason: manifest may contain _none_ or more manifests.                         </xsd:documentation>
  38.     <xsd:documentation>2001-04-13 Tom Wason: corrected attirbute name structure.  Was misnamed type.        </xsd:documentation>
  39.     <xsd:documentation> </xsd:documentation>
  40.     <xsd:documentation>2001-05-14 Schawn Thropp: Made all complexType extensible with the group.any         </xsd:documentation>
  41.     <xsd:documentation> Added the anyAttribute to all complexTypes.                                         </xsd:documentation>
  42.     <xsd:documentation> Changed the href attribute on the fileType and resourceType to xsd:string           </xsd:documentation>
  43.     <xsd:documentation> Changed the maxLength of the href, identifierref, parameters, structure             </xsd:documentation>
  44.     <xsd:documentation> attributes to match the Information model.                                          </xsd:documentation>
  45.     <xsd:documentation> </xsd:documentation>
  46.     <xsd:documentation>2001-07-25 Schawn Thropp: Changed the namespace for the Schema of Schemas to     </xsd:documentation>
  47.     <xsd:documentation> the 5/2/2001 W3C XML Schema Recommendation.                                         </xsd:documentation>
  48.     <xsd:documentation> attributeGroup attr.imsmd deleted, was not used anywhere.                           </xsd:documentation>
  49.     <xsd:documentation> Any attribute declarations that have use = "default"                                </xsd:documentation>
  50.     <xsd:documentation> changed to use="optional" - attr.structure.req.                                     </xsd:documentation>
  51.     <xsd:documentation> Any attribute declarations that have value="somevalue" changed to                   </xsd:documentation>
  52.     <xsd:documentation> default="somevalue" - attr.structure.req (hierarchical).                            </xsd:documentation>
  53.     <xsd:documentation> Removed references to IMS MD Version 1.1.                                           </xsd:documentation>
  54.     <xsd:documentation> Modified attribute group "attr.resourcetype.req" to change use from optional        </xsd:documentation>
  55.     <xsd:documentation> to required to match the information model.  As a result the default value          </xsd:documentation>
  56.     <xsd:documentation> also needed to be removed                                                           </xsd:documentation>
  57.     <xsd:documentation> Name change for XSD.  Changed to match version of CP Spec                           </xsd:documentation>
  58.     <xsd:documentation> </xsd:documentation>
  59.     <xsd:documentation> 2001-11-04 Chris Moffatt:                                                           </xsd:documentation>
  60.     <xsd:documentation>  1. Refer to the xml namespace using the "x" abbreviation instead of "xml".         </xsd:documentation>
  61.     <xsd:documentation>     This changes enables the schema to work with commercial XML Tools               </xsd:documentation>
  62.     <xsd:documentation>  2. Revert to original IMS CP version 1.1 namespace.                                </xsd:documentation>
  63.     <xsd:documentation>     i.e. "http://www.imsglobal.org/xsd/imscp_v1p1"                                  </xsd:documentation>
  64.     <xsd:documentation>     This change done to support the decision to only change the XML namespace with  </xsd:documentation>
  65.     <xsd:documentation>     major revisions of the specification i.e. where the information model or binding</xsd:documentation>
  66.     <xsd:documentation>     changes (as opposed to addressing bugs or omissions). A stable namespace is     </xsd:documentation>
  67.     <xsd:documentation>     necessary to the increasing number of implementors.                             </xsd:documentation>
  68.     <xsd:documentation>  3. Changed name of schema file to "imscp_v1p1p3.xsd" and                           </xsd:documentation>
  69.     <xsd:documentation>     version attribute to "IMS CP 1.1.3" to reflect minor version change             </xsd:documentation>
  70.     <xsd:documentation>       </xsd:documentation>
  71.     <xsd:documentation>2003-03-21 Schawn Thropp                                                             </xsd:documentation>
  72.     <xsd:documentation>The following updates were made to the Version 1.1.3 "Public Draft" version:         </xsd:documentation>
  73.     <xsd:documentation>  1. Updated name of schema file (imscp_v1p1.xsd) to match to IMS naming guideance   </xsd:documentation>
  74.     <xsd:documentation>  2. Updated the import statement to reference the xml.xsd found at                  </xsd:documentation>
  75.     <xsd:documentation>       "http://www.w3.org/2001/03/xml.xsd".  This is the current W3C schema          </xsd:documentation>
  76.     <xsd:documentation>        recommended by the W3C to reference.                                         </xsd:documentation>
  77.     <xsd:documentation>  3. Removed all maxLength's facets.  The maxLength facets was an incorrect binding  </xsd:documentation>
  78.     <xsd:documentation>     implementation.  These lengths were supposed, according to the information      </xsd:documentation>
  79.     <xsd:documentation>     model, to be treated as smallest permitted maximums.                            </xsd:documentation>
  80.     <xsd:documentation>  4. Added the variations content model to support the addition in the information   </xsd:documentation>
  81.     <xsd:documentation>     model.                                                                          </xsd:documentation>
  82.     <xsd:documentation>            </xsd:documentation>
  83.     <xsd:documentation> 2004-09-14 Alex Jackl, IMS Global:                                                           </xsd:documentation>
  84.     <xsd:documentation>  1. Added "xmlns:xsi" declaration                    </xsd:documentation>
  85.     <xsd:documentation>  2. Changed elementFormDefault to "qualified"           </xsd:documentation>
  86.     <xsd:documentation>  3. Changed version attribute to "IMS CP 1.1.4" to reflect minor version change             </xsd:documentation>
  87.      <xsd:documentation>  4. Changed Process Content Values to "lax" from "strict"            </xsd:documentation>
  88.      <xsd:documentation>  5. Added attribute extension to  metadataType        </xsd:documentation>     
  89.     <xsd:documentation>  6. Corrected documentation title placement     </xsd:documentation>    
  90.     <xsd:documentation>  7. Changed xsd namespace schema location from "http://www.w3.org/2001/03/xml.xsd" to "http://www.w3.org/2001/xml.xsd" </xsd:documentation>
  91.     <xsd:documentation>  8. Changed item multiplicity to "1 to many"</xsd:documentation>    
  92.     </xsd:annotation>
  93.  
  94.     <!-- ******************** -->
  95.     
  96.     
  97.     <!-- ** Attribute Declarations** -->
  98.     
  99.     
  100.     <!-- ******************** -->
  101.  
  102.     <xsd:attributeGroup name = "attr.base">
  103.         <xsd:attribute ref = "xml:base"/>
  104.     </xsd:attributeGroup>
  105.     <xsd:attributeGroup name = "attr.default">
  106.         <xsd:attribute name = "default" type = "xsd:IDREF"/>
  107.     </xsd:attributeGroup>
  108.     <xsd:attributeGroup name = "attr.href">
  109.         <xsd:attribute name = "href" type = "xsd:anyURI"/>
  110.     </xsd:attributeGroup>
  111.     <xsd:attributeGroup name = "attr.href.req">
  112.         <xsd:attribute name = "href" use = "required" type = "xsd:anyURI"/>
  113.     </xsd:attributeGroup>
  114.     <xsd:attributeGroup name = "attr.identifier.req">
  115.         <xsd:attribute name = "identifier" use = "required" type = "xsd:ID"/>
  116.     </xsd:attributeGroup>
  117.     <xsd:attributeGroup name = "attr.identifier">
  118.         <xsd:attribute name = "identifier" type = "xsd:ID"/>
  119.     </xsd:attributeGroup>
  120.     <xsd:attributeGroup name = "attr.isvisible">
  121.         <xsd:attribute name = "isvisible" type = "xsd:boolean"/>
  122.     </xsd:attributeGroup>
  123.     <xsd:attributeGroup name = "attr.parameters">
  124.         <xsd:attribute name = "parameters" type = "xsd:string"/>
  125.     </xsd:attributeGroup>
  126.     <xsd:attributeGroup name = "attr.identifierref">
  127.         <xsd:attribute name = "identifierref" type = "xsd:string"/>
  128.     </xsd:attributeGroup>
  129.     <xsd:attributeGroup name = "attr.identifierref.req">
  130.         <xsd:attribute name = "identifierref" use = "required" type = "xsd:string"/>
  131.     </xsd:attributeGroup>
  132.     <xsd:attributeGroup name = "attr.resourcetype.req">
  133.         <xsd:attribute name = "type" use = "required" type = "xsd:string"/>
  134.     </xsd:attributeGroup>
  135.     <xsd:attributeGroup name = "attr.structure.req">
  136.         <xsd:attribute name = "structure" default = "hierarchical" type = "xsd:string"/>
  137.     </xsd:attributeGroup>
  138.     <xsd:attributeGroup name = "attr.version">
  139.         <xsd:attribute name = "version" type = "xsd:string"/>
  140.     </xsd:attributeGroup>
  141.     <xsd:group name = "grp.any">
  142.         <xsd:annotation>
  143.         <xsd:documentation>Any namespaced element from any namespace may be included within an "any" element.  The namespace for the imported element must be defined in the instance, and the schema must be imported.  </xsd:documentation>
  144.         </xsd:annotation>
  145.         <xsd:sequence>
  146.             <xsd:any namespace = "##other" processContents = "lax" minOccurs = "0" maxOccurs = "unbounded"/>
  147.         </xsd:sequence>
  148.     </xsd:group>
  149.     
  150.  
  151.     
  152.     <!-- ************************** -->
  153.     
  154.     
  155.     <!-- ** Element Declarations ** -->
  156.     
  157.     
  158.     <!-- ************************** -->
  159.     
  160.     <xsd:element name = "dependency" type = "dependencyType"/>
  161.     <xsd:element name = "file" type = "fileType"/>
  162.     <xsd:element name = "item" type = "itemType"/>
  163.     <xsd:element name = "manifest" type = "manifestType"/>
  164.     <xsd:element name = "metadata" type = "metadataType"/>
  165.     <xsd:element name = "organization" type = "organizationType"/>
  166.     <xsd:element name = "organizations" type = "organizationsType"/>
  167.     <xsd:element name = "resource" type = "resourceType"/>
  168.     <xsd:element name = "resources" type = "resourcesType"/>
  169.     <xsd:element name = "schema" type = "schemaType"/>
  170.     <xsd:element name = "schemaversion" type = "schemaversionType"/>
  171.     <xsd:element name = "title" type = "titleType"/>
  172.     
  173.     <!-- ******************* -->
  174.     
  175.     
  176.     <!-- ** Complex Types ** -->
  177.     
  178.     
  179.     <!-- ******************* -->
  180.     
  181.     
  182.     <!-- **************** -->
  183.     
  184.     
  185.     <!-- ** dependency ** -->
  186.     
  187.     
  188.     <!-- **************** -->
  189.     
  190.     <xsd:complexType name = "dependencyType">
  191.         <xsd:sequence>
  192.             <xsd:group ref = "grp.any"/>
  193.         </xsd:sequence>
  194.         <xsd:attributeGroup ref = "attr.identifierref.req"/>
  195.         <xsd:anyAttribute namespace = "##other" processContents = "strict"/>
  196.     </xsd:complexType>
  197.     
  198.     <!-- ********** -->
  199.     
  200.     
  201.     <!-- ** file ** -->
  202.     
  203.     
  204.     <!-- ********** -->
  205.     
  206.     <xsd:complexType name = "fileType">
  207.         <xsd:sequence>
  208.             <xsd:element ref = "metadata" minOccurs = "0"/>
  209.             <xsd:group ref = "grp.any"/>
  210.         </xsd:sequence>
  211.         <xsd:attributeGroup ref = "attr.href.req"/>
  212.         <xsd:anyAttribute namespace = "##other" processContents = "lax"/>
  213.     </xsd:complexType>
  214.     
  215.     <!-- ********** -->
  216.     
  217.     
  218.     <!-- ** item ** -->
  219.     
  220.     
  221.     <!-- ********** -->
  222.     
  223.     <xsd:complexType name = "itemType">
  224.         <xsd:sequence>
  225.             <xsd:element ref = "title" minOccurs = "0"/>
  226.             <xsd:element ref = "item" minOccurs = "0" maxOccurs = "unbounded"/>
  227.             <xsd:element ref = "metadata" minOccurs = "0"/>
  228.             <xsd:group ref = "grp.any"/>
  229.         </xsd:sequence>
  230.         <xsd:attributeGroup ref = "attr.identifier.req"/>
  231.         <xsd:attributeGroup ref = "attr.identifierref"/>
  232.         <xsd:attributeGroup ref = "attr.isvisible"/>
  233.         <xsd:attributeGroup ref = "attr.parameters"/>
  234.         <xsd:anyAttribute namespace = "##other" processContents = "lax"/>
  235.     </xsd:complexType>
  236.     
  237.     <!-- ************** -->
  238.     
  239.     
  240.     <!-- ** manifest ** -->
  241.     
  242.     
  243.     <!-- ************** -->
  244.     
  245.     <xsd:complexType name = "manifestType">
  246.         <xsd:sequence>
  247.             <xsd:element ref = "metadata" minOccurs = "0"/>
  248.             <xsd:element ref = "organizations"/>
  249.             <xsd:element ref = "resources"/>
  250.             <xsd:element ref = "manifest" minOccurs = "0" maxOccurs = "unbounded"/>
  251.             <xsd:group ref = "grp.any"/>
  252.         </xsd:sequence>
  253.         <xsd:attributeGroup ref = "attr.identifier.req"/>
  254.         <xsd:attributeGroup ref = "attr.version"/>
  255.         <xsd:attribute ref = "xml:base"/>
  256.         <xsd:anyAttribute namespace = "##other" processContents = "lax"/>
  257.     </xsd:complexType>
  258.     
  259.     <!-- ************** -->
  260.     
  261.     
  262.     <!-- ** metadata ** -->
  263.     
  264.     
  265.     <!-- ************** -->
  266.     
  267.     <xsd:complexType name = "metadataType">
  268.         <xsd:sequence>
  269.             <xsd:element ref = "schema" minOccurs = "0"/>
  270.             <xsd:element ref = "schemaversion" minOccurs = "0"/>
  271.             <xsd:group ref = "grp.any"/>
  272.         </xsd:sequence>
  273.         <xsd:anyAttribute namespace = "##other" processContents = "lax"/>
  274.     </xsd:complexType>
  275.     
  276.     <!-- ******************* -->
  277.     
  278.     
  279.     <!-- ** organizations ** -->
  280.     
  281.     
  282.     <!-- ******************* -->
  283.     
  284.     <xsd:complexType name = "organizationsType">
  285.         <xsd:sequence>
  286.             <xsd:element ref = "organization" minOccurs = "0" maxOccurs = "unbounded"/>
  287.             <xsd:group ref = "grp.any"/>
  288.         </xsd:sequence>
  289.         <xsd:attributeGroup ref = "attr.default"/>
  290.         <xsd:anyAttribute namespace = "##other" processContents = "lax"/>
  291.     </xsd:complexType>
  292.     
  293.     <!-- ****************** -->
  294.     
  295.     
  296.     <!-- ** organization ** -->
  297.     
  298.     
  299.     <!-- ****************** -->
  300.     
  301.     <xsd:complexType name = "organizationType">
  302.         <xsd:sequence>
  303.             <xsd:element ref = "title" minOccurs = "0"/>
  304.             <xsd:element ref = "item" maxOccurs = "unbounded"/>
  305.             <xsd:element ref = "metadata" minOccurs = "0"/>
  306.             <xsd:group ref = "grp.any"/>
  307.         </xsd:sequence>
  308.         <xsd:attributeGroup ref = "attr.identifier.req"/>
  309.         <xsd:attributeGroup ref = "attr.structure.req"/>
  310.         <xsd:anyAttribute namespace = "##other" processContents = "lax"/>
  311.     </xsd:complexType>
  312.     
  313.     <!-- *************** -->
  314.     
  315.     
  316.     <!-- ** resources ** -->
  317.     
  318.     
  319.     <!-- *************** -->
  320.     
  321.     <xsd:complexType name = "resourcesType">
  322.         <xsd:sequence>
  323.             <xsd:element ref = "resource" minOccurs = "0" maxOccurs = "unbounded"/>
  324.             <xsd:group ref = "grp.any"/>
  325.         </xsd:sequence>
  326.         <xsd:attributeGroup ref = "attr.base"/>
  327.         <xsd:anyAttribute namespace = "##other" processContents = "lax"/>
  328.     </xsd:complexType>
  329.     
  330.     <!-- ************** -->
  331.     
  332.     
  333.     <!-- ** resource ** -->
  334.     
  335.     
  336.     <!-- ************** -->
  337.     
  338.     <xsd:complexType name = "resourceType">
  339.         <xsd:sequence>
  340.             <xsd:element ref = "metadata" minOccurs = "0"/>
  341.             <xsd:element ref = "file" minOccurs = "0" maxOccurs = "unbounded"/>
  342.             <xsd:element ref = "dependency" minOccurs = "0" maxOccurs = "unbounded"/>
  343.             <xsd:group ref = "grp.any"/>
  344.         </xsd:sequence>
  345.         <xsd:attributeGroup ref = "attr.identifier.req"/>
  346.         <xsd:attributeGroup ref = "attr.resourcetype.req"/>
  347.         <xsd:attributeGroup ref = "attr.base"/>
  348.         <xsd:attributeGroup ref = "attr.href"/>
  349.         <xsd:anyAttribute namespace = "##other" processContents = "lax"/>
  350.     </xsd:complexType>
  351.     
  352.     
  353.     <!-- ****************** -->
  354.     
  355.     
  356.     <!-- ** Simple Types ** -->
  357.     
  358.     
  359.     <!-- ****************** -->
  360.     
  361.     <xsd:simpleType name = "schemaType">
  362.         <xsd:restriction base = "xsd:string"/>
  363.     </xsd:simpleType>
  364.     <xsd:simpleType name = "schemaversionType">
  365.         <xsd:restriction base = "xsd:string"/>
  366.     </xsd:simpleType>
  367.     <xsd:simpleType name = "titleType">
  368.         <xsd:restriction base = "xsd:string"/>
  369.     </xsd:simpleType>
  370.  
  371. <!-- Copyright (2) 2004 IMS Global Learning Consortium, Inc. -->
  372.     
  373. </xsd:schema>