Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

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