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
<xs:schema xmlns="http://www.imsglobal.org/xsd/imsccv1p1/imsdt_v1p1"
3
    targetNamespace="http://www.imsglobal.org/xsd/imsccv1p1/imsdt_v1p1"
4
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
    version="IMS CC DTPC 1.1"
6
    elementFormDefault="qualified"
7
    attributeFormDefault="unqualified">
8
    <xs:annotation>
9
        <xs:documentation>
10
            XSD Data File Information
11
            -------------------------
12
            Author:         Colin Smythe
13
            Date:           31st August, 2010
14
            Version:        1.1
15
            Status:         Final
16
            Description:    This is the IMS GLC Discussion Topics Data Model for the Common Cartridge.
17
 
18
            History:        Version 1.0 - the first release of this data model;
19
                            Version 1.1 - updates made to the namespace.
20
 
21
            License:        IPR, License and Distribution Notices
22
 
23
                            This machine readable file is derived from IMS Global Learning Consortium (GLC) specification IMS Common Cartridge Version 1.1
24
                            found at http://www.imsglobal.org/cc and the original IMS GLC schema binding or code base
25
                            http://www.imsglobal.org/cc.
26
 
27
                            Recipients of this document are requested to submit, with their comments, notification of any
28
                            relevant patent claims or other intellectual property rights of which they may be aware that might be
29
                            infringed by the schema binding contained in this document.
30
 
31
                            IMS GLC takes no position regarding the validity or scope of any intellectual property or other
32
                            rights that might be claimed to pertain to the implementation or use of the technology described in this
33
                            document or the extent to which any license under such rights might or might not be available; neither
34
                            does it represent that it has made any effort to identify any such rights. Information on IMS GLCs
35
                            procedures with respect to rights in IMS GLC specifications can be found at the IMS GLC Intellectual Property
36
                            Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
37
 
38
                            Copyright (c) IMS Global Learning Consortium 1999-2011. All Rights Reserved.
39
 
40
                            License Notice for Users
41
 
42
                            Users of products or services that include this document are hereby granted a worldwide, royalty-free,
43
                            non-exclusive license to use this document.
44
 
45
                            Distribution Notice for Developers
46
 
47
                            Developers of products or services that are not original incorporators of this document and
48
                            have not changed this document, that is, are distributing a software product that incorporates this
49
                            document as is from a third-party source other than IMS, are hereby granted permission to copy,
50
                            display and distribute the contents of this document in any medium for any purpose without fee or
51
                            royalty provided that you include this IPR, License and Distribution notice in its entirety on ALL
52
                            copies, or portions thereof.
53
 
54
                            Developers of products or services that are original incorporators of this document and wish
55
                            to provide distribution of this document as is or with modifications and developers of products and
56
                            services that are not original incorporators of this document and have changed this document, are
57
                            required to register with the IMS GLC community on the IMS GLC website as described in the following two
58
                            paragraphs:-
59
 
60
                            *  If you wish to distribute this document as is, with no modifications, you are hereby granted
61
                               permission to copy, display and distribute the contents of this document in any medium for any
62
                               purpose without fee or royalty provided that you include this IPR, License and Distribution notice in
63
                               its entirety on ALL copies, or portions thereof, that you make and you complete a valid license
64
                               registration with IMS and receive an email from IMS granting the license. To register, follow the
65
                               instructions on the IMS website: http://www.imsglobal.org/specificationdownload.cfm. Once
66
                               registered you are granted permission to transfer unlimited distribution rights of this document for the
67
                               purposes of third-party or other distribution of your product or service that incorporates this
68
                               document as long as this IPR, License and Distribution notice remains in place in its entirety;
69
 
70
                            *  If you wish to create and distribute a derived work from this document, you are hereby
71
                               granted permission to copy, display and distribute the contents of the derived work in any medium for
72
                               any purpose without fee or royalty provided that you include this IPR, License and Distribution
73
                               notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid
74
                               profile registration with IMS GLC and receive an email from IMS GLC granting the license. To register, follow
75
                               the instructions on the IMS GLC website: http://www.imsglobal.org/profile/. Once registered you are
76
                               granted permission to transfer unlimited distribution rights of the derived work for the purposes of
77
                               third-party or other distribution of your product or service that incorporates the derived work as long
78
                               as this IPR, License and Distribution notice remains in place in its entirety.
79
 
80
                            The limited permissions granted above are perpetual and will not be revoked by IMS GLC or its
81
                            successors or assigns.
82
 
83
                            THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, ANY WARRANTY OF NONINFRINGEMENT IS
84
                            EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION SHALL BE MADE ENTIRELY AT THE IMPLEMENTERS OWN RISK, AND NEITHER THE CONSORTIUM
85
                            NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF
86
                            ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING FROM THE USE OF THIS SPECIFICATION.
87
 
88
            Source UML File Information
89
            ---------------------------
90
            The source file information must be supplied as an XMI file (without diagram layout information).
91
            The supported UML authoring tools are:
92
            (a) Poseidon – v6 (and later)
93
 
94
            Source XSLT File Information
95
            ----------------------------
96
            XSL Generator:    UMLtoXSDTransformv0p9.xsl
97
            XSLT Processor:   Xalan
98
            Release:          1.0 Beta 3
99
            Date:             31st May, 2009
100
 
101
            IMS GLC Auto-generation Binding Tool-kit (I-BAT)
102
            ------------------------------------------------
103
            This file was auto-generated using the IMS GLC Binding Auto-generation Tool-kit (I-BAT).  While every
104
            attempt has been made to ensure that this tool auto-generates the files correctly, users should be aware
105
            that this is an experimental tool.  Permission is given to make use of this tool.  IMS GLC makes no
106
            claim on the materials created by third party users of this tool.  Details on how to use this tool
107
            are contained in the IMS GLC "I-BAT" Documentation available at the IMS GLC web-site.
108
 
109
            Tool Copyright:  2005-2010 (c) IMS Global Learning Consortium Inc.  All Rights Reserved.
110
        </xs:documentation>
111
    </xs:annotation>
112
 
113
    <!-- Generate Global Attributes *********************************************************************** -->
114
 
115
    <!-- ================================================================================================== -->
116
 
117
    <!-- Generate Namespaced extension Group  ************************************************************* -->
118
 
119
    <xs:group name="grpStrict.any">
120
        <xs:annotation>
121
            <xs:documentation>
122
                Any namespaced element from any namespace may be included within an "any" element.
123
                The namespace for the imported element must be defined in the instance, and the schema must be imported.
124
                The extension has a definition of "strict" i.e. they must have their own namespace.
125
            </xs:documentation>
126
        </xs:annotation>
127
        <xs:sequence>
128
            <xs:any namespace = "##other" processContents = "strict" minOccurs = "0" maxOccurs = "unbounded"/>
129
        </xs:sequence>
130
    </xs:group>
131
 
132
    <!-- ================================================================================================== -->
133
 
134
    <!-- Generate Special DataTypes  ********************************************************************** -->
135
 
136
    <xs:complexType name="EmptyPrimitiveType.Type">
137
        <xs:complexContent>
138
            <xs:restriction base="xs:anyType"/>
139
        </xs:complexContent>
140
    </xs:complexType>
141
 
142
    <!-- ================================================================================================== -->
143
 
144
    <!-- Generate the enumerated simpleType declarations ************************************************** -->
145
 
146
    <!-- ================================================================================================== -->
147
 
148
    <!-- Generate the simpleType elements based IMS data-types  ******************************************* -->
149
 
150
    <!-- ================================================================================================== -->
151
 
152
    <!-- Generate the derived data-type elements based upon simpleType ************************************ -->
153
 
154
    <!-- ================================================================================================== -->
155
 
156
    <!-- Generate the derived data-type elements based upon derived simpleType **************************** -->
157
 
158
    <!-- ================================================================================================== -->
159
 
160
    <!-- Generate the data-type ComplexTypes ************************************************************** -->
161
 
162
    <xs:complexType name="Topic.Type">
163
        <xs:annotation>
164
            <xs:documentation source="umldocumentation">
165
                The Topic complexType for the discussion topic object.
166
            </xs:documentation>
167
        </xs:annotation>
168
        <xs:sequence>
169
            <xs:element name="title" type="xs:normalizedString" minOccurs = "1" maxOccurs = "1"/>
170
            <xs:element name="text" type="Text.Type" minOccurs = "1" maxOccurs = "1"/>
171
            <xs:element name="attachments" type="Attachments.Type" minOccurs = "0" maxOccurs = "1"/>
172
            <xs:group ref="grpStrict.any"/>
173
        </xs:sequence>
174
    </xs:complexType>
175
 
176
    <xs:complexType name="Attachments.Type">
177
        <xs:sequence>
178
            <xs:element name="attachment" type="Attachment.Type" minOccurs = "1" maxOccurs = "unbounded"/>
179
        </xs:sequence>
180
    </xs:complexType>
181
 
182
    <xs:complexType name="Text.Type">
183
        <xs:annotation>
184
            <xs:documentation source="umldocumentation">
185
                The Text for the discussion topic.
186
            </xs:documentation>
187
        </xs:annotation>
188
        <xs:simpleContent>
189
            <xs:extension base="xs:string">
190
                <xs:attribute name="texttype" use="required">
191
                    <xs:simpleType>
192
                        <xs:restriction base="xs:string">
193
                            <xs:enumeration value="text/plain"/>
194
                            <xs:enumeration value="text/html"/>
195
                        </xs:restriction>
196
                    </xs:simpleType>
197
                </xs:attribute>
198
            </xs:extension>
199
        </xs:simpleContent>
200
    </xs:complexType>
201
 
202
    <xs:complexType name="Attachment.Type">
203
        <xs:complexContent>
204
            <xs:extension base="EmptyPrimitiveType.Type">
205
                <xs:attribute name="href" use="required" type="xs:normalizedString"/>
206
            </xs:extension>
207
        </xs:complexContent>
208
    </xs:complexType>
209
 
210
    <!-- ================================================================================================== -->
211
 
212
    <!-- Declaration of the elements ********************************************************************** -->
213
 
214
    <!-- ================================================================================================== -->
215
 
216
    <!-- Declaration of the root element(s) *************************************************************** -->
217
 
218
    <xs:element name="topic" type="Topic.Type"/>
219
 
220
    <!-- ================================================================================================== -->
221
 
222
</xs:schema>