AC_4897, AC_4898, AC_4899: Multifile uploader fixes.
[acontent.git] / home / ims / domainProfile_3 / imscp_extensionv1p2_localised.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3     IPR, License and Distribution Notices\r
4     This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2 \r
5     found at http://www.imsglobal.org/content/packaging and the original IMS schema binding or code base \r
6     http://www.imsglobal.org/content/packaging/.\r
7     \r
8     Recipients of this document are requested to submit, with their comments, notification of any relevant patent \r
9     claims or other intellectual property rights of which they may be aware that might be infringed by the schema \r
10     binding contained in this document.\r
11     \r
12     IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be \r
13     claimed to pertain to the implementation or use of the technology described in this document or the extent to \r
14     which any license under such rights might or might not be available; neither does it represent that it has made \r
15     any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications \r
16     can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.\r
17     \r
18     Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.\r
19     \r
20     License Notice for Users\r
21     Users of products or services that include this document are hereby granted a worldwide, royalty-free, \r
22     non-exclusive license to use this document.\r
23     \r
24     Distribution Notice for Developers\r
25     Developers of products or services that are not original incorporators of this document and have not changed this document, that is, are distributing a software product that incorporates this document as is from a third-party source other than IMS, are hereby granted permission to copy, display and distribute the contents of this document 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.\r
26     \r
27     Developers of products or services that are original incorporators of this document and wish to provide distribution of this document as is or with modifications and developers of products and services that are not original incorporators of this document and have changed this document, are required to register with the IMS community on the IMS website as described in the following two paragraphs:\r
28     \r
29     - If you wish to distribute this document as is, with no modifications, you are hereby granted permission to copy, \r
30     display and distribute the contents of this document in any medium for any purpose without fee or royalty provided \r
31     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
32     To register, follow the instructions on the IMS website: http://www.imsglobal.org/specificationdownload.cfm. Once \r
33     registered you are granted permission to transfer unlimited distribution rights of this document for the purposes \r
34     of third-party or other distribution of your product or service that incorporates this document as long as this IPR, \r
35     License and Distribution notice remains in place in its entirety.\r
36     \r
37     - If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, \r
38     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
39     \r
40     The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.\r
41     \r
42     THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, \r
43     ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION \r
44     SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR \r
45     ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER \r
46     OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING \r
47     FROM THE USE OF THIS SPECIFICATION.\r
48 -->\r
49 <!--*************************************************************************-->\r
50 <!--** This schema has been modified from the original base schema named - **-->\r
51 <!--** imscp_extensionv1p2.xsd                                             **-->\r
52 <!--** using the IMS SchemaProf tool. This tool is based on software from  **-->\r
53 <!--** the TELCERT Project which was funded in part by the European        **-->\r
54 <!--** Commission under contract IST-507128                                **-->\r
55 <!--*************************************************************************-->\r
56 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.imsglobal.org/xsd/imscp_extensionv1p2" targetNamespace="http://www.imsglobal.org/xsd/imscp_extensionv1p2" version="IMS CPX 1.2 localised_Schema_2008_6_30" elementFormDefault="qualified" attributeFormDefault="unqualified">\r
57     <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.imsglobal.org/xsd/ims_xlink.xsd" />\r
58     <xs:annotation>\r
59         <xs:documentation>\r
60             XSD Data File Information\r
61             -------------------------\r
62             Author:       Colin Smythe (IMS, UK)\r
63             Date:         31st October, 2006\r
64             Version:      2.0\r
65             Status:       Public Draft\r
66             Description:  This is a normative representation of the IMS Packaging Extension 1.0 Information Model for binding \r
67                           purposes.  Read the corresponding IMS Content Packaging Information Model for the Platform \r
68                           Independent Model representation.\r
69 \r
70             History:      Version 2 includes the modified definition of LingualTitle.\r
71                           Version 1  of the IMS Packaging Utility v1.2 XSD for public draft release.\r
72                           It has a target namespace of http://www.imsglobal.org/xsd/imscp_extensionv1p2.\r
73                           This Utility uses this general approach to modeling:\r
74                           (1) All of the elements and attributes are defined as local to their host object;\r
75                           (2) There are multiple host objects;\r
76                           (3) Comments have been added to the complexType definitions.\r
77 \r
78             Copyright:    2006 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.\r
79                           IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information\r
80                           contained in this binding ("Specification") for purposes of scientific\r
81                           experimental and scholarly collaboration only.  IMS/GLC makes no warranty or \r
82                           representation regarding the accuracy or completeness of the Specification.\r
83                           This material is provided on an "As Is" and "As Available basis".\r
84                           The Specification is at all times subject to change and revision without\r
85                           notice. It is your sole responsibility to evaluate the usefulness, accuracy\r
86                           and completeness of the Specification as it relates to you.  IMS/GLC would\r
87                           appreciate receiving your comments and suggestions.  Please contact IMS/GLC\r
88                           through our website at: http://www.imsglobal.org.\r
89 \r
90             Source XSLT File Information\r
91             ----------------------------\r
92             XSL Generator:    UMLtoXSDTransformv0p7.xsl\r
93             XSLT Processor:   Xalan\r
94             Release:          1.0 Beta 1\r
95             Date:             30th November, 2005\r
96 \r
97             Auto-generation Tool\r
98             --------------------\r
99             This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool.  While every attempt\r
100             has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware\r
101             that this is an experimental tool.  Permission is given to make use of this tool.  IMS makes no\r
102             claim on the materials created by third party users of this tool.  Details on how to use this tool\r
103             are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"\r
104             available at the IMS web-site.\r
105             Tool Copyright:  2006 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.\r
106         </xs:documentation>\r
107     <xs:documentation xml:lang="en">general: This profile of the extension schema of IMS CP 1.2 restricts extensions to use the variant element only.</xs:documentation>\r
108         </xs:annotation>\r
109 \r
110         <!-- Generate Global Attributes ***********************************************************************  -->\r
111 \r
112         <!-- =====================================  -->\r
113 \r
114         <!-- Generate Namespaced extension Group  *************************************************************  -->\r
115 \r
116             <xs:group name="grpStrict.any">\r
117                 <xs:annotation>\r
118                     <xs:documentation>\r
119                         Any namespaced element from any namespace may be included within an "any" element.\r
120                         The namespace for the imported element must be defined in the instance, and the schema must be imported.\r
121                         The extension has a definition of "strict" i.e. they must have their own namespace.\r
122                     </xs:documentation>\r
123                 </xs:annotation>\r
124                 <xs:sequence>\r
125                     <xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />\r
126                 </xs:sequence>\r
127             </xs:group>\r
128 \r
129         <!-- =====================================  -->\r
130 \r
131         <!-- Generate the enumerated simpleType declarations **************************************************  -->\r
132 \r
133         <!-- =====================================  -->\r
134 \r
135         <!-- Generate the simpleType elements based IMS data-types  *******************************************  -->\r
136 \r
137         <!-- =====================================  -->\r
138 \r
139         <!-- Generate the derived data-type elements **********************************************************  -->\r
140 \r
141         <!-- =====================================  -->\r
142 \r
143         <!-- Generate the data-type elements ******************************************************************  -->\r
144 \r
145             <xs:complexType name="IPointer.Type">\r
146                 <xs:annotation>\r
147                     <xs:documentation>\r
148                         A bound instance of an IPointer object allows a packager to associate\r
149                         a specific XML node set in the same IMS Manifest Document that contains \r
150                         it or an XML node set in a different IMS Manifest Document instance with \r
151                         the parent object containing an IMS Pointer instance.  \r
152                         \r
153                         A referenced node set must be a valid child of the referencing parent element, \r
154                         both as to kind and multiplicity in a referencing parent's context.\r
155 \r
156                         <p>Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>\r
157                     </xs:documentation>\r
158                 </xs:annotation>\r
159                 <xs:sequence>\r
160                     <xs:group ref="grpStrict.any" />\r
161                 </xs:sequence>\r
162                 <xs:attribute name="identifier" use="required" type="xs:ID" />\r
163                 <xs:attribute ref="xlink:type" use="optional" default="simple" />\r
164                 <xs:attribute ref="xlink:href" use="required" />\r
165                 <xs:anyAttribute namespace="##other" processContents="strict" />\r
166             </xs:complexType>\r
167 \r
168             <xs:complexType name="Metadata.Type">\r
169                 <xs:annotation>\r
170                     <xs:documentation>\r
171                         An instance of the metadata element contains data structures that declare descriptive\r
172                         information about a metadata element's parent only.\r
173                         \r
174                         One or more different metadata models may be declared as child extensions of a \r
175                         metadata element.\r
176 \r
177                         <p>Represents a binding of the kinds of child objects defined for ims-cp-imMetadata:  Metadata.[ Extension ].</p>\r
178                     </xs:documentation>\r
179                 </xs:annotation>\r
180                 <xs:sequence>\r
181                     <xs:group ref="grpStrict.any" />\r
182                 </xs:sequence>\r
183             </xs:complexType>\r
184 \r
185             <xs:complexType name="Variant.Type">\r
186                 <xs:annotation>\r
187                     <xs:documentation>\r
188                         A variant element is closely analogous to a resource element in the \r
189                         IMS Content Packaging Information Model.  Variant is a container for a \r
190                         an alternative resource.  A resource may contain references \r
191                         to assets that are all of the same type or different types (i.e., file formats).\r
192                         \r
193                         The Variant class points to the alternatibe resource.  Metadata is used to \r
194                         describe the nature of a collection of alternative assets and their intended \r
195                         use.  Examples include, but are not limited to, use as lingual variants, \r
196                         visual or auditory variants, remediation variants, or platform delivery variants.\r
197                         \r
198                         The scope of referenced assets is specific to a Variant object.  Their use is in the\r
199                         context of the parent object containing a variant instance, typically a bound instance\r
200                         of a Resource object from the IMS CP namespace.\r
201 \r
202                         <p>Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>\r
203                     </xs:documentation>\r
204                 </xs:annotation>\r
205                 <xs:sequence>\r
206                     <xs:element name="metadata" type="Metadata.Type" minOccurs="1" maxOccurs="1" />\r
207                 </xs:sequence>\r
208                 <xs:attribute name="identifier" use="required" type="xs:ID" />\r
209                 <xs:attribute name="identifierref" use="required" type="xs:IDREF" />\r
210             </xs:complexType>\r
211 \r
212             <xs:complexType name="LingualTitle.Type">\r
213                 <xs:simpleContent>\r
214                     <xs:extension base="xs:string">\r
215                         <xs:attribute name="language" use="required" type="xs:string" />\r
216                     </xs:extension>\r
217                 </xs:simpleContent>\r
218             </xs:complexType>\r
219 \r
220         <!-- =====================================  -->\r
221 \r
222         <!-- Declaration of the elements **********************************************************************  -->\r
223 \r
224         <!-- =====================================  -->\r
225 \r
226         <!-- Declaration of the root element(s) ***************************************************************  -->\r
227 \r
228             <xs:element name="ipointer" type="IPointer.Type" />\r
229             <xs:element name="variant" type="Variant.Type" />\r
230             <xs:element name="lingualTitle" type="LingualTitle.Type" />\r
231 \r
232         <!-- =====================================  -->\r
233 \r
234 </xs:schema>\r