1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!--*************************************************************************-->
\r
3 <!--** This schema has been modified from the original base schema named - **-->
\r
4 <!--** dataTypes.xsd **-->
\r
5 <!--** using the IMS SchemaProf tool. This tool is based on software from **-->
\r
6 <!--** the TELCERT Project which was funded in part by the European **-->
\r
7 <!--** Commission under contract IST-507128 **-->
\r
8 <!--*************************************************************************-->
\r
9 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ag="http://ltsc.ieee.org/xsd/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/LOM/extend" xmlns="http://ltsc.ieee.org/xsd/LOM" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
\r
10 <xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_mR_definition.xsd" />
\r
13 This work is licensed under the Creative Commons Attribution-ShareAlike
\r
14 License. To view a copy of this license, see the file license.txt,
\r
15 visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
\r
16 Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
\r
19 This component schema defintion defines global schema data type declarations
\r
20 for data types defined in the LOMv1.0 base schema.
\r
23 This file has been modified by the Knowledge Media Institute of the
\r
24 University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
\r
26 1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
\r
27 because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
\r
28 2) In all component XSDs the schemaLocation attribute was amended to the
\r
29 xs:import and xs:include statements. This enables the usage of the schemas
\r
30 with tools which don't deal well with missing schemaLocation informations.
\r
32 This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
\r
35 <xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="./unique/loose.xsd" />
\r
36 <xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="./extend/custom.xsd" />
\r
37 <xs:include schemaLocation="elementTypes_localised.xsd" />
\r
38 <!-- Data type declarations -->
\r
39 <!-- CharacterString -->
\r
40 <xs:simpleType name="CharacterString">
\r
41 <xs:restriction base="xs:string" />
\r
44 <xs:complexType name="LanguageId">
\r
46 <xs:extension base="xs:language">
\r
47 <xs:attributeGroup ref="ex:customAttributes" />
\r
52 <xs:complexType name="VCard">
\r
54 <xs:extension base="CharacterString">
\r
55 <xs:attributeGroup ref="ex:customAttributes" />
\r
60 <xs:simpleType name="MimeType">
\r
61 <xs:restriction base="CharacterString" />
\r
64 <xs:simpleType name="Size">
\r
65 <xs:restriction base="xs:nonNegativeInteger" />
\r
67 <!-- LanguageString -->
\r
68 <xs:complexType name="LanguageString">
\r
69 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
70 <xs:element name="string" type="LangString" />
\r
71 <xs:group ref="ex:customElements" />
\r
73 <xs:attributeGroup ref="ex:customAttributes" />
\r
75 <xs:complexType name="LangString">
\r
77 <xs:extension base="CharacterString">
\r
78 <xs:attribute name="language" type="xs:language" />
\r
79 <xs:attributeGroup ref="ex:customAttributes" />
\r
84 <xs:complexType name="DateTime">
\r
85 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
86 <xs:element name="dateTime" type="DateTimeValue" />
\r
87 <xs:element name="description" type="description" />
\r
88 <xs:group ref="ex:customElements" />
\r
91 <xs:complexType name="DateTimeValue">
\r
93 <xs:extension base="DateTimeString">
\r
94 <xs:attributeGroup ref="ag:DateTimeValue" />
\r
95 <xs:attributeGroup ref="ex:customAttributes" />
\r
99 <!-- Regular expresion from Christian Klaue -->
\r
100 <xs:simpleType name="DateTimeString">
\r
101 <xs:restriction base="CharacterString">
\r
102 <xs:pattern value="([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]|[0-9][1-9][0-9]{2}|[1-9][0-9]{3})(\-(0[1-9]|1[0-2])(\-(0[1-9]|[1-2][0-9]|3[0-1])(T([0-1][0-9]|2[0-3])(:[0-5][0-9](:[0-5][0-9](\.[0-9]{1,}(Z|((\+|\-)([0-1][0-9]|2[0-3]):[0-5][0-9]))?)?)?)?)?)?)?" />
\r
106 <xs:complexType name="Duration">
\r
107 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
108 <xs:element name="duration" type="DurationValue" />
\r
109 <xs:element name="description" type="description" />
\r
110 <xs:group ref="ex:customElements" />
\r
113 <xs:complexType name="DurationValue">
\r
115 <xs:extension base="DurationString">
\r
116 <xs:attributeGroup ref="ag:DurationValue" />
\r
117 <xs:attributeGroup ref="ex:customAttributes" />
\r
119 </xs:simpleContent>
\r
121 <!-- Regular expresion from Christian Klaue -->
\r
122 <xs:simpleType name="DurationString">
\r
123 <xs:restriction base="CharacterString">
\r
124 <xs:pattern value="P([0-9]{1,}Y){0,1}([0-9]{1,}M){0,1}([0-9]{1,}D){0,1}(T([0-9]{1,}H){0,1}([0-9]{1,}M){0,1}([0-9]{1,}(\.[0-9]{1,}){0,1}S){0,1}){0,1}" />
\r