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
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imscp_extensionv1p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" targetNamespace="http://www.imsglobal.org/xsd/imscp_extensionv1p2" version="IMS CPX 1.2" elementFormDefault="qualified" attributeFormDefault="unqualified">
50
    <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.imsglobal.org/xsd/ims_xlink.xsd" />
51
    <xs:annotation>
52
        <xs:documentation>
53
            XSD Data File Information
54
            -------------------------
55
            Author:       Colin Smythe (IMS, UK)
56
            Date:         31st October, 2006
57
            Version:      2.0
58
            Status:       Public Draft
59
            Description:  This is a normative representation of the IMS Packaging Extension 1.0 Information Model for binding
60
                          purposes.  Read the corresponding IMS Content Packaging Information Model for the Platform
61
                          Independent Model representation.
62
 
63
            History:      Version 2 includes the modified definition of LingualTitle.
64
                          Version 1  of the IMS Packaging Utility v1.2 XSD for public draft release.
65
                          It has a target namespace of http://www.imsglobal.org/xsd/imscp_extensionv1p2.
66
                          This Utility uses this general approach to modeling:
67
                          (1) All of the elements and attributes are defined as local to their host object;
68
                          (2) There are multiple host objects;
69
                          (3) Comments have been added to the complexType definitions.
70
 
71
            Copyright:    2006 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.
72
                          IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information
73
                          contained in this binding ("Specification") for purposes of scientific
74
                          experimental and scholarly collaboration only.  IMS/GLC makes no warranty or
75
                          representation regarding the accuracy or completeness of the Specification.
76
                          This material is provided on an "As Is" and "As Available basis".
77
                          The Specification is at all times subject to change and revision without
78
                          notice. It is your sole responsibility to evaluate the usefulness, accuracy
79
                          and completeness of the Specification as it relates to you.  IMS/GLC would
80
                          appreciate receiving your comments and suggestions.  Please contact IMS/GLC
81
                          through our website at: http://www.imsglobal.org.
82
 
83
            Source XSLT File Information
84
            ----------------------------
85
            XSL Generator:    UMLtoXSDTransformv0p7.xsl
86
            XSLT Processor:   Xalan
87
            Release:          1.0 Beta 1
88
            Date:             30th November, 2005
89
 
90
            Auto-generation Tool
91
            --------------------
92
            This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool.  While every attempt
93
            has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware
94
            that this is an experimental tool.  Permission is given to make use of this tool.  IMS makes no
95
            claim on the materials created by third party users of this tool.  Details on how to use this tool
96
            are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"
97
            available at the IMS web-site.
98
            Tool Copyright:  2006 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.
99
        </xs:documentation>
100
    </xs:annotation>
101
 
102
        <!-- Generate Global Attributes ***********************************************************************  -->
103
 
104
        <!-- =====================================  -->
105
 
106
        <!-- Generate Namespaced extension Group  *************************************************************  -->
107
 
108
            <xs:group name="grpStrict.any">
109
                <xs:annotation>
110
                    <xs:documentation>
111
                        Any namespaced element from any namespace may be included within an "any" element.
112
                        The namespace for the imported element must be defined in the instance, and the schema must be imported.
113
                        The extension has a definition of "strict" i.e. they must have their own namespace.
114
                    </xs:documentation>
115
                </xs:annotation>
116
                <xs:sequence>
117
                    <xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
118
                </xs:sequence>
119
            </xs:group>
120
 
121
        <!-- =====================================  -->
122
 
123
        <!-- Generate the enumerated simpleType declarations **************************************************  -->
124
 
125
        <!-- =====================================  -->
126
 
127
        <!-- Generate the simpleType elements based IMS data-types  *******************************************  -->
128
 
129
        <!-- =====================================  -->
130
 
131
        <!-- Generate the derived data-type elements **********************************************************  -->
132
 
133
        <!-- =====================================  -->
134
 
135
        <!-- Generate the data-type elements ******************************************************************  -->
136
 
137
            <xs:complexType name="IPointer.Type">
138
                <xs:annotation>
139
                    <xs:documentation>
140
                        A bound instance of an IPointer object allows a packager to associate
141
                        a specific XML node set in the same IMS Manifest Document that contains
142
                        it or an XML node set in a different IMS Manifest Document instance with
143
                        the parent object containing an IMS Pointer instance.
144
 
145
                        A referenced node set must be a valid child of the referencing parent element,
146
                        both as to kind and multiplicity in a referencing parent's context.
147
 
148
                        <p>Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>
149
                    </xs:documentation>
150
                </xs:annotation>
151
                <xs:sequence>
152
                    <xs:group ref="grpStrict.any" />
153
                </xs:sequence>
154
                <xs:attribute name="identifier" use="required" type="xs:ID" />
155
                <xs:attribute ref="xlink:type" use="optional" default="simple" />
156
                <xs:attribute ref="xlink:href" use="required" />
157
                <xs:anyAttribute namespace="##other" processContents="strict" />
158
            </xs:complexType>
159
 
160
            <xs:complexType name="Metadata.Type">
161
                <xs:annotation>
162
                    <xs:documentation>
163
                        An instance of the metadata element contains data structures that declare descriptive
164
                        information about a metadata element's parent only.
165
 
166
                        One or more different metadata models may be declared as child extensions of a
167
                        metadata element.
168
 
169
                        <p>Represents a binding of the kinds of child objects defined for ims-cp-imMetadata:  Metadata.[ Extension ].</p>
170
                    </xs:documentation>
171
                </xs:annotation>
172
                <xs:sequence>
173
                    <xs:group ref="grpStrict.any" />
174
                </xs:sequence>
175
            </xs:complexType>
176
 
177
            <xs:complexType name="Variant.Type">
178
                <xs:annotation>
179
                    <xs:documentation>
180
                        A variant element is closely analogous to a resource element in the
181
                        IMS Content Packaging Information Model.  Variant is a container for a
182
                        an alternative resource.  A resource may contain references
183
                        to assets that are all of the same type or different types (i.e., file formats).
184
 
185
                        The Variant class points to the alternatibe resource.  Metadata is used to
186
                        describe the nature of a collection of alternative assets and their intended
187
                        use.  Examples include, but are not limited to, use as lingual variants,
188
                        visual or auditory variants, remediation variants, or platform delivery variants.
189
 
190
                        The scope of referenced assets is specific to a Variant object.  Their use is in the
191
                        context of the parent object containing a variant instance, typically a bound instance
192
                        of a Resource object from the IMS CP namespace.
193
 
194
                        <p>Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>
195
                    </xs:documentation>
196
                </xs:annotation>
197
                <xs:sequence>
198
                    <xs:element name="metadata" type="Metadata.Type" minOccurs="1" maxOccurs="1" />
199
                </xs:sequence>
200
                <xs:attribute name="identifier" use="required" type="xs:ID" />
201
                <xs:attribute name="identifierref" use="required" type="xs:IDREF" />
202
            </xs:complexType>
203
 
204
            <xs:complexType name="LingualTitle.Type">
205
                <xs:simpleContent>
206
                    <xs:extension base="xs:string">
207
                        <xs:attribute name="language" use="required" type="xs:string" />
208
                    </xs:extension>
209
                </xs:simpleContent>
210
            </xs:complexType>
211
 
212
        <!-- =====================================  -->
213
 
214
        <!-- Declaration of the elements **********************************************************************  -->
215
 
216
        <!-- =====================================  -->
217
 
218
        <!-- Declaration of the root element(s) ***************************************************************  -->
219
 
220
            <xs:element name="ipointer" type="IPointer.Type" />
221
            <xs:element name="variant" type="Variant.Type" />
222
            <xs:element name="lingualTitle" type="LingualTitle.Type" />
223
 
224
        <!-- =====================================  -->
225
 
226
</xs:schema>