MDL-22102 killing all CRLFs, sorry for introducing them, we need to do search replace before each commit of 3rd party lib
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
<?xml version = "1.0" encoding = "UTF-8"?>
|
||||
<xs:schema xmlns ="http://dummy.libxml2.validator"
|
||||
targetNamespace ="http://dummy.libxml2.validator"
|
||||
xmlns:xs ="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:imscp ="http://www.imsglobal.org/xsd/imscc/imscp_v1p1"
|
||||
xmlns:imslom ="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:lom ="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:cc ="http://www.imsglobal.org/xsd/imsccauth_v1p0"
|
||||
version="1.0"
|
||||
elementFormDefault ="qualified"
|
||||
attributeFormDefault="unqualified"
|
||||
>
|
||||
|
||||
<xs:import namespace ="http://www.w3.org/XML/1998/namespace" schemaLocation = "xml.xsd" />
|
||||
<xs:import namespace ="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" schemaLocation = "imscp_v1p2_localised.xsd" />
|
||||
<xs:import namespace ="http://ltsc.ieee.org/xsd/imscc/LOM" schemaLocation = "domainProfile_1/lomLoose_localised.xsd" />
|
||||
<xs:import namespace ="http://ltsc.ieee.org/xsd/LOM" schemaLocation = "domainProfile_2/lomLoose_localised.xsd" />
|
||||
<xs:import namespace ="http://www.imsglobal.org/xsd/imsccauth_v1p0" schemaLocation = "domainProfile_0/imsccauth_v1p0_localised.xsd" />
|
||||
</xs:schema>
|
||||
<?xml version = "1.0" encoding = "UTF-8"?>
|
||||
<xs:schema xmlns ="http://dummy.libxml2.validator"
|
||||
targetNamespace ="http://dummy.libxml2.validator"
|
||||
xmlns:xs ="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:imscp ="http://www.imsglobal.org/xsd/imscc/imscp_v1p1"
|
||||
xmlns:imslom ="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:lom ="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:cc ="http://www.imsglobal.org/xsd/imsccauth_v1p0"
|
||||
version="1.0"
|
||||
elementFormDefault ="qualified"
|
||||
attributeFormDefault="unqualified"
|
||||
>
|
||||
|
||||
<xs:import namespace ="http://www.w3.org/XML/1998/namespace" schemaLocation = "xml.xsd" />
|
||||
<xs:import namespace ="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" schemaLocation = "imscp_v1p2_localised.xsd" />
|
||||
<xs:import namespace ="http://ltsc.ieee.org/xsd/imscc/LOM" schemaLocation = "domainProfile_1/lomLoose_localised.xsd" />
|
||||
<xs:import namespace ="http://ltsc.ieee.org/xsd/LOM" schemaLocation = "domainProfile_2/lomLoose_localised.xsd" />
|
||||
<xs:import namespace ="http://www.imsglobal.org/xsd/imsccauth_v1p0" schemaLocation = "domainProfile_0/imsccauth_v1p0_localised.xsd" />
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,63 +1,63 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<config>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imscc/imscp_v1p1</namespace>
|
||||
<path>imscp_v1p2_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imscp_v1p1</namespace>
|
||||
<path>imscp_v1p2.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imsccauth_v1p0</namespace>
|
||||
<path>domainProfile_0/imsccauth_v1p0_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/imscc/LOM</namespace>
|
||||
<path>domainProfile_1/lomLoose_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/imscc/LOM/unique</namespace>
|
||||
<path>domainProfile_1/loose.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/imscc/LOM/vocab</namespace>
|
||||
<path>domainProfile_1/vocab/loose.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/imscc/LOM/extend</namespace>
|
||||
<path>domainProfile_1/extend/custom.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/LOM</namespace>
|
||||
<path>domainProfile_2/lomLoose_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/LOM/unique</namespace>
|
||||
<path>domainProfile_2/loose.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/LOM/vocab</namespace>
|
||||
<path>domainProfile_2/vocab/loose.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/LOM/extend</namespace>
|
||||
<path>domainProfile_2/extend/custom.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imscp_extensionv1p2</namespace>
|
||||
<path>domainProfile_3/imscp_extensionv1p2_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/ims_qtiasiv1p2</namespace>
|
||||
<path>domainProfile_4/ims_qtiasiv1p2_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imswl_v1p0</namespace>
|
||||
<path>domainProfile_5/imswl_v1p0_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imsdt_v1p0</namespace>
|
||||
<path>domainProfile_6/imsdt_v1p0_localised.xsd</path>
|
||||
</mapping>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<config>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imscc/imscp_v1p1</namespace>
|
||||
<path>imscp_v1p2_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imscp_v1p1</namespace>
|
||||
<path>imscp_v1p2.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imsccauth_v1p0</namespace>
|
||||
<path>domainProfile_0/imsccauth_v1p0_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/imscc/LOM</namespace>
|
||||
<path>domainProfile_1/lomLoose_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/imscc/LOM/unique</namespace>
|
||||
<path>domainProfile_1/loose.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/imscc/LOM/vocab</namespace>
|
||||
<path>domainProfile_1/vocab/loose.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/imscc/LOM/extend</namespace>
|
||||
<path>domainProfile_1/extend/custom.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/LOM</namespace>
|
||||
<path>domainProfile_2/lomLoose_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/LOM/unique</namespace>
|
||||
<path>domainProfile_2/loose.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/LOM/vocab</namespace>
|
||||
<path>domainProfile_2/vocab/loose.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://ltsc.ieee.org/xsd/LOM/extend</namespace>
|
||||
<path>domainProfile_2/extend/custom.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imscp_extensionv1p2</namespace>
|
||||
<path>domainProfile_3/imscp_extensionv1p2_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/ims_qtiasiv1p2</namespace>
|
||||
<path>domainProfile_4/ims_qtiasiv1p2_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imswl_v1p0</namespace>
|
||||
<path>domainProfile_5/imswl_v1p0_localised.xsd</path>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<namespace>http://www.imsglobal.org/xsd/imsdt_v1p0</namespace>
|
||||
<path>domainProfile_6/imsdt_v1p0_localised.xsd</path>
|
||||
</mapping>
|
||||
</config>
|
||||
@@ -1,76 +1,76 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imsccauth_v1p0" targetNamespace="http://www.imsglobal.org/xsd/imsccauth_v1p0" elementFormDefault="qualified">
|
||||
|
||||
<xs:element name="authorizations" type="authorizationsType" />
|
||||
|
||||
<xs:complexType name="authorizationsType">
|
||||
<xs:sequence>
|
||||
<xs:element name="authorization" type="authorizationType" />
|
||||
<xs:group ref="grpStrict.any" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="access" type="accessType" use="required" />
|
||||
<xs:attribute name="import" type="xs:boolean" default="false" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="authorizationType">
|
||||
<xs:sequence>
|
||||
<xs:element name="cartridgeId" type="xs:string" />
|
||||
<xs:element name="webservice" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="accessType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="cartridge" />
|
||||
<xs:enumeration value="resource" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This group is defined exactly as in IMS Content Packaging v 1.2.
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<xs:attribute name="protected" type="xs:boolean" default="false" />
|
||||
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imsccauth_v1p0" targetNamespace="http://www.imsglobal.org/xsd/imsccauth_v1p0" elementFormDefault="qualified">
|
||||
|
||||
<xs:element name="authorizations" type="authorizationsType" />
|
||||
|
||||
<xs:complexType name="authorizationsType">
|
||||
<xs:sequence>
|
||||
<xs:element name="authorization" type="authorizationType" />
|
||||
<xs:group ref="grpStrict.any" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="access" type="accessType" use="required" />
|
||||
<xs:attribute name="import" type="xs:boolean" default="false" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="authorizationType">
|
||||
<xs:sequence>
|
||||
<xs:element name="cartridgeId" type="xs:string" />
|
||||
<xs:element name="webservice" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="accessType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="cartridge" />
|
||||
<xs:enumeration value="resource" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This group is defined exactly as in IMS Content Packaging v 1.2.
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<xs:attribute name="protected" type="xs:boolean" default="false" />
|
||||
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,68 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.ascc.net/xml/schematron">
|
||||
<ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsd" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
|
||||
<ns prefix="ac" uri="http://iwm.uni-koblenz.de/xsd/tel_addc_v1p1" />
|
||||
<ns prefix="ims" uri="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" />
|
||||
<!--***********************************************************************************************-->
|
||||
<!--** Constraints document - this document holds Schematron rules that have been generated from **-->
|
||||
<!--** AP condition and assertion elements. IMPORTANT: If this document exists, it MUST be **-->
|
||||
<!--** used in the validation of instances derived from the resultant schema - failure to do so **-->
|
||||
<!--** can result in an instance that does not conform to either the base schema or the **-->
|
||||
<!--** Application Profile. **-->
|
||||
<!--***********************************************************************************************-->
|
||||
<pattern name="pattern_1">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref) and not (count(../item)=0)">Assertion failed for pattern_1. An Item object which represents a folder is indicated by the absence of an IdentifierRef characteristic object. Folder Items support unlimited nesting of other folder Items and learning object link Items. Learning Application Resource Item objects may be nested by folder Item object but may not nest other folder or Learning Application resource Item objects.(#S04)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_2">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref) and (../../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current() = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_2. A Resource object which is a Learning Object Web Content may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_3">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item) and (@isvisible='false') and not (count(./item)=count(./item[@isvisible='false']))">Assertion failed for pattern_3. If an item is invisible, its descendants must be invisible too.(#S02)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_4">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsdt_xmlv1p0') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier or current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_4. A Resource object which is a Discussion Topic associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S12)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_5">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_5.
|
||||
The test was: .
|
||||
The context was: ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_6">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') and not ((current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier) or (current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier))">Assertion failed for pattern_6. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_7">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='webcontent' or ./@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and ./@identifier = //item/@identifierref) and not (count(./@href)=1)">Assertion failed for pattern_7. If a cartridge web content or associated content resource is linked from a Learning Application Object link Item object it must have an Href characteristic object which represents the launchable resource.(#S05)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_8">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imsdt_xmlv1p0') and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_8. For Discussion Topic Resources the Resource object must contain a single File object which references the Discussion Topic descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imsdt_v1p0 schema. It must not have any href attribute.(#S06)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_9">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imswl_xmlv1p0') and not (count(./file)=1 and count(./dependency)=0 and count(./@href)=0)">Assertion failed for pattern_9. For Web Link Resources the Resource object must contain a single File object which references the Web Link descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imswl_v1p0 schema. It must contain neither Dependency objects nor an href attribute.(#S07)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_10">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank')) and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_10. For Assessment or Question Bank Resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.xdm. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
</schema>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.ascc.net/xml/schematron">
|
||||
<ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsd" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
|
||||
<ns prefix="ac" uri="http://iwm.uni-koblenz.de/xsd/tel_addc_v1p1" />
|
||||
<ns prefix="ims" uri="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" />
|
||||
<!--***********************************************************************************************-->
|
||||
<!--** Constraints document - this document holds Schematron rules that have been generated from **-->
|
||||
<!--** AP condition and assertion elements. IMPORTANT: If this document exists, it MUST be **-->
|
||||
<!--** used in the validation of instances derived from the resultant schema - failure to do so **-->
|
||||
<!--** can result in an instance that does not conform to either the base schema or the **-->
|
||||
<!--** Application Profile. **-->
|
||||
<!--***********************************************************************************************-->
|
||||
<pattern name="pattern_1">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref) and not (count(../item)=0)">Assertion failed for pattern_1. An Item object which represents a folder is indicated by the absence of an IdentifierRef characteristic object. Folder Items support unlimited nesting of other folder Items and learning object link Items. Learning Application Resource Item objects may be nested by folder Item object but may not nest other folder or Learning Application resource Item objects.(#S04)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_2">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref) and (../../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current() = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_2. A Resource object which is a Learning Object Web Content may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_3">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item) and (@isvisible='false') and not (count(./item)=count(./item[@isvisible='false']))">Assertion failed for pattern_3. If an item is invisible, its descendants must be invisible too.(#S02)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_4">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsdt_xmlv1p0') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier or current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_4. A Resource object which is a Discussion Topic associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S12)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_5">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_5.
|
||||
The test was: .
|
||||
The context was: ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_6">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') and not ((current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier) or (current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier))">Assertion failed for pattern_6. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_7">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='webcontent' or ./@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and ./@identifier = //item/@identifierref) and not (count(./@href)=1)">Assertion failed for pattern_7. If a cartridge web content or associated content resource is linked from a Learning Application Object link Item object it must have an Href characteristic object which represents the launchable resource.(#S05)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_8">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imsdt_xmlv1p0') and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_8. For Discussion Topic Resources the Resource object must contain a single File object which references the Discussion Topic descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imsdt_v1p0 schema. It must not have any href attribute.(#S06)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_9">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imswl_xmlv1p0') and not (count(./file)=1 and count(./dependency)=0 and count(./@href)=0)">Assertion failed for pattern_9. For Web Link Resources the Resource object must contain a single File object which references the Web Link descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imswl_v1p0 schema. It must contain neither Dependency objects nor an href attribute.(#S07)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_10">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank')) and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_10. For Assessment or Question Bank Resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.xdm. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
</schema>
|
||||
|
||||
|
||||
@@ -1,86 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright � IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imsccauth_v1p0.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imsccauth_v1p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imsccauth_v1p0" elementFormDefault="qualified">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">general: This specification defines the authorizations for Common Cartridges and the roles to be used for selective display of resources to Learner or Instructor.</xs:documentation>
|
||||
</xs:annotation><xs:element name="authorizations" type="authorizationsType" />
|
||||
|
||||
<xs:complexType name="authorizationsType">
|
||||
<xs:sequence>
|
||||
<xs:element name="authorization" type="authorizationType" />
|
||||
<xs:group ref="grpStrict.any" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="access" type="accessType" use="required" />
|
||||
<xs:attribute name="import" type="xs:boolean" default="false" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="authorizationType">
|
||||
<xs:sequence>
|
||||
<xs:element name="cartridgeId" type="xs:string" />
|
||||
<xs:element name="webservice" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="accessType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="cartridge" />
|
||||
<xs:enumeration value="resource" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This group is defined exactly as in IMS Content Packaging v 1.2.
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<xs:attribute name="protected" type="xs:boolean" default="false" />
|
||||
|
||||
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright � IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imsccauth_v1p0.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imsccauth_v1p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imsccauth_v1p0" elementFormDefault="qualified">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">general: This specification defines the authorizations for Common Cartridges and the roles to be used for selective display of resources to Learner or Instructor.</xs:documentation>
|
||||
</xs:annotation><xs:element name="authorizations" type="authorizationsType" />
|
||||
|
||||
<xs:complexType name="authorizationsType">
|
||||
<xs:sequence>
|
||||
<xs:element name="authorization" type="authorizationType" />
|
||||
<xs:group ref="grpStrict.any" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="access" type="accessType" use="required" />
|
||||
<xs:attribute name="import" type="xs:boolean" default="false" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="authorizationType">
|
||||
<xs:sequence>
|
||||
<xs:element name="cartridgeId" type="xs:string" />
|
||||
<xs:element name="webservice" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="accessType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="cartridge" />
|
||||
<xs:enumeration value="resource" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This group is defined exactly as in IMS Content Packaging v 1.2.
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<xs:attribute name="protected" type="xs:boolean" default="false" />
|
||||
|
||||
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax" />
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax" />
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,44 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** anyElement.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_m_definition.xsd" />
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax" />
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** anyElement.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_m_definition.xsd" />
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax" />
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax"/>
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax"/>
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,118 +1,118 @@
|
||||
<xs:schema xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion defines global schema data type declarations
|
||||
for data types defined in the LOMv1.0 base schema.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="../unique/loose.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="../extend/custom.xsd"/>
|
||||
<xs:include schemaLocation="elementTypes.xsd"/>
|
||||
<!-- Data type declarations -->
|
||||
<!-- CharacterString -->
|
||||
<xs:simpleType name="CharacterString">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<!-- LanguageId -->
|
||||
<xs:complexType name="LanguageId">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:language">
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- VCard -->
|
||||
<xs:complexType name="VCard">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- MimeType -->
|
||||
<xs:simpleType name="MimeType">
|
||||
<xs:restriction base="CharacterString"/>
|
||||
</xs:simpleType>
|
||||
<!-- Size -->
|
||||
<xs:simpleType name="Size">
|
||||
<xs:restriction base="xs:nonNegativeInteger"/>
|
||||
</xs:simpleType>
|
||||
<!-- LanguageString -->
|
||||
<xs:complexType name="LanguageString">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="string" type="LangString"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LangString">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attribute name="language" type="xs:language"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- DateTime -->
|
||||
<xs:complexType name="DateTime">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="dateTime" type="DateTimeValue"/>
|
||||
<xs:element name="description" type="description"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DateTimeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DateTimeString">
|
||||
<xs:attributeGroup ref="ag:DateTimeValue"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DateTimeString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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]))?)?)?)?)?)?)?"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- Duration -->
|
||||
<xs:complexType name="Duration">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="duration" type="DurationValue"/>
|
||||
<xs:element name="description" type="description"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DurationValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DurationString">
|
||||
<xs:attributeGroup ref="ag:DurationValue"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DurationString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:schema xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion defines global schema data type declarations
|
||||
for data types defined in the LOMv1.0 base schema.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="../unique/loose.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="../extend/custom.xsd"/>
|
||||
<xs:include schemaLocation="elementTypes.xsd"/>
|
||||
<!-- Data type declarations -->
|
||||
<!-- CharacterString -->
|
||||
<xs:simpleType name="CharacterString">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<!-- LanguageId -->
|
||||
<xs:complexType name="LanguageId">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:language">
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- VCard -->
|
||||
<xs:complexType name="VCard">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- MimeType -->
|
||||
<xs:simpleType name="MimeType">
|
||||
<xs:restriction base="CharacterString"/>
|
||||
</xs:simpleType>
|
||||
<!-- Size -->
|
||||
<xs:simpleType name="Size">
|
||||
<xs:restriction base="xs:nonNegativeInteger"/>
|
||||
</xs:simpleType>
|
||||
<!-- LanguageString -->
|
||||
<xs:complexType name="LanguageString">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="string" type="LangString"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LangString">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attribute name="language" type="xs:language"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- DateTime -->
|
||||
<xs:complexType name="DateTime">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="dateTime" type="DateTimeValue"/>
|
||||
<xs:element name="description" type="description"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DateTimeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DateTimeString">
|
||||
<xs:attributeGroup ref="ag:DateTimeValue"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DateTimeString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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]))?)?)?)?)?)?)?"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- Duration -->
|
||||
<xs:complexType name="Duration">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="duration" type="DurationValue"/>
|
||||
<xs:element name="description" type="description"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DurationValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DurationString">
|
||||
<xs:attributeGroup ref="ag:DurationValue"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DurationString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,43 +1,43 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defintion provides the element name declaration for the
|
||||
root element for all LOM XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Element declarations -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:element name="lom" type="lom">
|
||||
<xs:unique name="lomUnique">
|
||||
<xs:selector xpath="*"/>
|
||||
<xs:field xpath="@uniqueElementName"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defintion provides the element name declaration for the
|
||||
root element for all LOM XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Element declarations -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:element name="lom" type="lom">
|
||||
<xs:unique name="lomUnique">
|
||||
<xs:selector xpath="*"/>
|
||||
<xs:field xpath="@uniqueElementName"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,355 +1,355 @@
|
||||
<xs:schema xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" xmlns:voc="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion provides global type declarations for those
|
||||
LOM data elements whose values are taken from a Vocabulary data type.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:annotation>
|
||||
<xs:documentation>This component XSD requires schema components from other
|
||||
schemas that are defined in other namespaces. These statements import the
|
||||
appropriate components. The xsi:schemaLocation attribute is used to specify
|
||||
the location of the file that contains the schema that defines the namespace.
|
||||
The xsi:schemaLocation attribute is optional and is ommitted. By definition of
|
||||
the composite schemas the appropriate namespaces and related files where those
|
||||
namespaces are defined are brought into scope. Some XML parsers may require
|
||||
these import statements to contain the optional xsi:schemaLocation attribute.</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="../unique/loose.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="../extend/custom.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" schemaLocation="../vocab/loose.xsd"/>
|
||||
<!-- Vocabulary type declarations -->
|
||||
<!-- Source -->
|
||||
<xs:complexType name="sourceValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:source">
|
||||
<xs:attributeGroup ref="ag:source"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:complexType name="structureVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="structureValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="structureValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:structure">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:complexType name="aggregationLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="aggregationLevelValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="aggregationLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:aggregationLevel">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.2 Status -->
|
||||
<xs:complexType name="statusVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="statusValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="statusValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:status">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:complexType name="roleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="roleValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:role">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:complexType name="roleMetaVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="roleMetaValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleMetaValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:roleMeta">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:complexType name="typeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="typeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="typeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:type">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:complexType name="nameVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="nameValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="nameValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:name">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:complexType name="interactivityTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="interactivityTypeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityType">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:complexType name="learningResourceTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="learningResourceTypeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="learningResourceTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:learningResourceType">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:complexType name="interactivityLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="interactivityLevelValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityLevel">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:complexType name="semanticDensityVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="semanticDensityValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="semanticDensityValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:semanticDensity">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:complexType name="intendedEndUserRoleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="intendedEndUserRoleValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="intendedEndUserRoleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:intendedEndUserRole">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.6 Context -->
|
||||
<xs:complexType name="contextVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="contextValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="contextValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:context">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:complexType name="difficultyVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="difficultyValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="difficultyValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:difficulty">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:complexType name="costVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="costValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="costValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:cost">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="copyrightAndOtherRestrictionsValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:copyrightAndOtherRestrictions">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:complexType name="kindVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="kindValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="kindValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:kind">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:complexType name="purposeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="purposeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="purposeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:purpose">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:schema xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" xmlns:voc="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion provides global type declarations for those
|
||||
LOM data elements whose values are taken from a Vocabulary data type.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:annotation>
|
||||
<xs:documentation>This component XSD requires schema components from other
|
||||
schemas that are defined in other namespaces. These statements import the
|
||||
appropriate components. The xsi:schemaLocation attribute is used to specify
|
||||
the location of the file that contains the schema that defines the namespace.
|
||||
The xsi:schemaLocation attribute is optional and is ommitted. By definition of
|
||||
the composite schemas the appropriate namespaces and related files where those
|
||||
namespaces are defined are brought into scope. Some XML parsers may require
|
||||
these import statements to contain the optional xsi:schemaLocation attribute.</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="../unique/loose.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="../extend/custom.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" schemaLocation="../vocab/loose.xsd"/>
|
||||
<!-- Vocabulary type declarations -->
|
||||
<!-- Source -->
|
||||
<xs:complexType name="sourceValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:source">
|
||||
<xs:attributeGroup ref="ag:source"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:complexType name="structureVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="structureValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="structureValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:structure">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:complexType name="aggregationLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="aggregationLevelValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="aggregationLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:aggregationLevel">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.2 Status -->
|
||||
<xs:complexType name="statusVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="statusValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="statusValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:status">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:complexType name="roleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="roleValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:role">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:complexType name="roleMetaVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="roleMetaValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleMetaValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:roleMeta">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:complexType name="typeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="typeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="typeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:type">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:complexType name="nameVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="nameValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="nameValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:name">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:complexType name="interactivityTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="interactivityTypeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityType">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:complexType name="learningResourceTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="learningResourceTypeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="learningResourceTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:learningResourceType">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:complexType name="interactivityLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="interactivityLevelValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityLevel">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:complexType name="semanticDensityVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="semanticDensityValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="semanticDensityValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:semanticDensity">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:complexType name="intendedEndUserRoleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="intendedEndUserRoleValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="intendedEndUserRoleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:intendedEndUserRole">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.6 Context -->
|
||||
<xs:complexType name="contextVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="contextValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="contextValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:context">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:complexType name="difficultyVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="difficultyValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="difficultyValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:difficulty">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:complexType name="costVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="costValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="costValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:cost">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="copyrightAndOtherRestrictionsValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:copyrightAndOtherRestrictions">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:complexType name="kindVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="kindValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="kindValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:kind">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:complexType name="purposeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="purposeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="purposeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:purpose">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
@@ -1,266 +1,266 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides global type declarations for the standard
|
||||
LOMv1.0 vocabulary tokens for those LOM data elements whose values are taken from
|
||||
a Vocabulary data type.
|
||||
|
||||
This component schema defintion defines the stanard vocabulary value
|
||||
declarations as defined in the LOMv1.0 base schema. These vocabulary
|
||||
value declarations are used in conjunction with both vocab/custom.xsd and
|
||||
vocab/loose.xsd.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- LOMv1.0 base schema vocabulary source and value declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="sourceValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="LOMv1.0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structureValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="atomic"/>
|
||||
<xs:enumeration value="collection"/>
|
||||
<xs:enumeration value="networked"/>
|
||||
<xs:enumeration value="hierarchical"/>
|
||||
<xs:enumeration value="linear"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="1"/>
|
||||
<xs:enumeration value="2"/>
|
||||
<xs:enumeration value="3"/>
|
||||
<xs:enumeration value="4"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="statusValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="draft"/>
|
||||
<xs:enumeration value="final"/>
|
||||
<xs:enumeration value="revised"/>
|
||||
<xs:enumeration value="unavailable"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="roleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="author"/>
|
||||
<xs:enumeration value="publisher"/>
|
||||
<xs:enumeration value="unknown"/>
|
||||
<xs:enumeration value="initiator"/>
|
||||
<xs:enumeration value="terminator"/>
|
||||
<xs:enumeration value="validator"/>
|
||||
<xs:enumeration value="editor"/>
|
||||
<xs:enumeration value="graphical designer"/>
|
||||
<xs:enumeration value="technical implementer"/>
|
||||
<xs:enumeration value="content provider"/>
|
||||
<xs:enumeration value="technical validator"/>
|
||||
<xs:enumeration value="educational validator"/>
|
||||
<xs:enumeration value="script writer"/>
|
||||
<xs:enumeration value="instructional designer"/>
|
||||
<xs:enumeration value="subject matter expert"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMetaValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="creator"/>
|
||||
<xs:enumeration value="validator"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="typeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="operating system"/>
|
||||
<xs:enumeration value="browser"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="nameValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="pc-dos"/>
|
||||
<xs:enumeration value="ms-windows"/>
|
||||
<xs:enumeration value="macos"/>
|
||||
<xs:enumeration value="unix"/>
|
||||
<xs:enumeration value="multi-os"/>
|
||||
<xs:enumeration value="none"/>
|
||||
<xs:enumeration value="any"/>
|
||||
<xs:enumeration value="netscape communicator"/>
|
||||
<xs:enumeration value="ms-internet explorer"/>
|
||||
<xs:enumeration value="opera"/>
|
||||
<xs:enumeration value="amaya"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="active"/>
|
||||
<xs:enumeration value="expositive"/>
|
||||
<xs:enumeration value="mixed"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="exercise"/>
|
||||
<xs:enumeration value="simulation"/>
|
||||
<xs:enumeration value="questionnaire"/>
|
||||
<xs:enumeration value="diagram"/>
|
||||
<xs:enumeration value="figure"/>
|
||||
<xs:enumeration value="graph"/>
|
||||
<xs:enumeration value="index"/>
|
||||
<xs:enumeration value="slide"/>
|
||||
<xs:enumeration value="table"/>
|
||||
<xs:enumeration value="narrative text"/>
|
||||
<xs:enumeration value="exam"/>
|
||||
<xs:enumeration value="experiment"/>
|
||||
<xs:enumeration value="problem statement"/>
|
||||
<xs:enumeration value="self assessment"/>
|
||||
<xs:enumeration value="lecture"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low"/>
|
||||
<xs:enumeration value="low"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="high"/>
|
||||
<xs:enumeration value="very high"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensityValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low"/>
|
||||
<xs:enumeration value="low"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="high"/>
|
||||
<xs:enumeration value="very high"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRoleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="teacher"/>
|
||||
<xs:enumeration value="author"/>
|
||||
<xs:enumeration value="learner"/>
|
||||
<xs:enumeration value="manager"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="contextValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="school"/>
|
||||
<xs:enumeration value="higher education"/>
|
||||
<xs:enumeration value="training"/>
|
||||
<xs:enumeration value="other"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficultyValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very easy"/>
|
||||
<xs:enumeration value="easy"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="difficult"/>
|
||||
<xs:enumeration value="very difficult"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="costValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes"/>
|
||||
<xs:enumeration value="no"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictionsValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes"/>
|
||||
<xs:enumeration value="no"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kindValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="ispartof"/>
|
||||
<xs:enumeration value="haspart"/>
|
||||
<xs:enumeration value="isversionof"/>
|
||||
<xs:enumeration value="hasversion"/>
|
||||
<xs:enumeration value="isformatof"/>
|
||||
<xs:enumeration value="hasformat"/>
|
||||
<xs:enumeration value="references"/>
|
||||
<xs:enumeration value="isreferencedby"/>
|
||||
<xs:enumeration value="isbasedon"/>
|
||||
<xs:enumeration value="isbasisfor"/>
|
||||
<xs:enumeration value="requires"/>
|
||||
<xs:enumeration value="isrequiredby"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purposeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="discipline"/>
|
||||
<xs:enumeration value="idea"/>
|
||||
<xs:enumeration value="prerequisite"/>
|
||||
<xs:enumeration value="educational objective"/>
|
||||
<xs:enumeration value="accessibility restrictions"/>
|
||||
<xs:enumeration value="educational level"/>
|
||||
<xs:enumeration value="skill level"/>
|
||||
<xs:enumeration value="security level"/>
|
||||
<xs:enumeration value="competency"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides global type declarations for the standard
|
||||
LOMv1.0 vocabulary tokens for those LOM data elements whose values are taken from
|
||||
a Vocabulary data type.
|
||||
|
||||
This component schema defintion defines the stanard vocabulary value
|
||||
declarations as defined in the LOMv1.0 base schema. These vocabulary
|
||||
value declarations are used in conjunction with both vocab/custom.xsd and
|
||||
vocab/loose.xsd.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- LOMv1.0 base schema vocabulary source and value declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="sourceValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="LOMv1.0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structureValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="atomic"/>
|
||||
<xs:enumeration value="collection"/>
|
||||
<xs:enumeration value="networked"/>
|
||||
<xs:enumeration value="hierarchical"/>
|
||||
<xs:enumeration value="linear"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="1"/>
|
||||
<xs:enumeration value="2"/>
|
||||
<xs:enumeration value="3"/>
|
||||
<xs:enumeration value="4"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="statusValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="draft"/>
|
||||
<xs:enumeration value="final"/>
|
||||
<xs:enumeration value="revised"/>
|
||||
<xs:enumeration value="unavailable"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="roleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="author"/>
|
||||
<xs:enumeration value="publisher"/>
|
||||
<xs:enumeration value="unknown"/>
|
||||
<xs:enumeration value="initiator"/>
|
||||
<xs:enumeration value="terminator"/>
|
||||
<xs:enumeration value="validator"/>
|
||||
<xs:enumeration value="editor"/>
|
||||
<xs:enumeration value="graphical designer"/>
|
||||
<xs:enumeration value="technical implementer"/>
|
||||
<xs:enumeration value="content provider"/>
|
||||
<xs:enumeration value="technical validator"/>
|
||||
<xs:enumeration value="educational validator"/>
|
||||
<xs:enumeration value="script writer"/>
|
||||
<xs:enumeration value="instructional designer"/>
|
||||
<xs:enumeration value="subject matter expert"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMetaValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="creator"/>
|
||||
<xs:enumeration value="validator"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="typeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="operating system"/>
|
||||
<xs:enumeration value="browser"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="nameValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="pc-dos"/>
|
||||
<xs:enumeration value="ms-windows"/>
|
||||
<xs:enumeration value="macos"/>
|
||||
<xs:enumeration value="unix"/>
|
||||
<xs:enumeration value="multi-os"/>
|
||||
<xs:enumeration value="none"/>
|
||||
<xs:enumeration value="any"/>
|
||||
<xs:enumeration value="netscape communicator"/>
|
||||
<xs:enumeration value="ms-internet explorer"/>
|
||||
<xs:enumeration value="opera"/>
|
||||
<xs:enumeration value="amaya"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="active"/>
|
||||
<xs:enumeration value="expositive"/>
|
||||
<xs:enumeration value="mixed"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="exercise"/>
|
||||
<xs:enumeration value="simulation"/>
|
||||
<xs:enumeration value="questionnaire"/>
|
||||
<xs:enumeration value="diagram"/>
|
||||
<xs:enumeration value="figure"/>
|
||||
<xs:enumeration value="graph"/>
|
||||
<xs:enumeration value="index"/>
|
||||
<xs:enumeration value="slide"/>
|
||||
<xs:enumeration value="table"/>
|
||||
<xs:enumeration value="narrative text"/>
|
||||
<xs:enumeration value="exam"/>
|
||||
<xs:enumeration value="experiment"/>
|
||||
<xs:enumeration value="problem statement"/>
|
||||
<xs:enumeration value="self assessment"/>
|
||||
<xs:enumeration value="lecture"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low"/>
|
||||
<xs:enumeration value="low"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="high"/>
|
||||
<xs:enumeration value="very high"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensityValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low"/>
|
||||
<xs:enumeration value="low"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="high"/>
|
||||
<xs:enumeration value="very high"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRoleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="teacher"/>
|
||||
<xs:enumeration value="author"/>
|
||||
<xs:enumeration value="learner"/>
|
||||
<xs:enumeration value="manager"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="contextValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="school"/>
|
||||
<xs:enumeration value="higher education"/>
|
||||
<xs:enumeration value="training"/>
|
||||
<xs:enumeration value="other"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficultyValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very easy"/>
|
||||
<xs:enumeration value="easy"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="difficult"/>
|
||||
<xs:enumeration value="very difficult"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="costValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes"/>
|
||||
<xs:enumeration value="no"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictionsValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes"/>
|
||||
<xs:enumeration value="no"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kindValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="ispartof"/>
|
||||
<xs:enumeration value="haspart"/>
|
||||
<xs:enumeration value="isversionof"/>
|
||||
<xs:enumeration value="hasversion"/>
|
||||
<xs:enumeration value="isformatof"/>
|
||||
<xs:enumeration value="hasformat"/>
|
||||
<xs:enumeration value="references"/>
|
||||
<xs:enumeration value="isreferencedby"/>
|
||||
<xs:enumeration value="isbasedon"/>
|
||||
<xs:enumeration value="isbasisfor"/>
|
||||
<xs:enumeration value="requires"/>
|
||||
<xs:enumeration value="isrequiredby"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purposeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="discipline"/>
|
||||
<xs:enumeration value="idea"/>
|
||||
<xs:enumeration value="prerequisite"/>
|
||||
<xs:enumeration value="educational objective"/>
|
||||
<xs:enumeration value="accessibility restrictions"/>
|
||||
<xs:enumeration value="educational level"/>
|
||||
<xs:enumeration value="skill level"/>
|
||||
<xs:enumeration value="security level"/>
|
||||
<xs:enumeration value="competency"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,130 +1,130 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** dataTypes.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_m_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion defines global schema data type declarations
|
||||
for data types defined in the LOMv1.0 base schema.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="./unique/loose.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="./extend/custom.xsd" />
|
||||
<xs:include schemaLocation="elementTypes_localised.xsd" />
|
||||
<!-- Data type declarations -->
|
||||
<!-- CharacterString -->
|
||||
<xs:simpleType name="CharacterString">
|
||||
<xs:restriction base="xs:string" />
|
||||
</xs:simpleType>
|
||||
<!-- LanguageId -->
|
||||
<xs:complexType name="LanguageId">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:language">
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- VCard -->
|
||||
<xs:complexType name="VCard">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- MimeType -->
|
||||
<xs:simpleType name="MimeType">
|
||||
<xs:restriction base="CharacterString" />
|
||||
</xs:simpleType>
|
||||
<!-- Size -->
|
||||
<xs:simpleType name="Size">
|
||||
<xs:restriction base="xs:nonNegativeInteger" />
|
||||
</xs:simpleType>
|
||||
<!-- LanguageString -->
|
||||
<xs:complexType name="LanguageString">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="string" type="LangString" />
|
||||
<xs:group ref="ex:customElements" minOccurs="0" maxOccurs="0"><xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: No custom elements are allowed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:group>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LangString">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attribute name="language" type="xs:language" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- DateTime -->
|
||||
<xs:complexType name="DateTime">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="dateTime" type="DateTimeValue" />
|
||||
<xs:element name="description" type="description" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DateTimeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DateTimeString">
|
||||
<xs:attributeGroup ref="ag:DateTimeValue" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DateTimeString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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]))?)?)?)?)?)?)?" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- Duration -->
|
||||
<xs:complexType name="Duration">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="duration" type="DurationValue" />
|
||||
<xs:element name="description" type="description" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DurationValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DurationString">
|
||||
<xs:attributeGroup ref="ag:DurationValue" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DurationString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** dataTypes.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_m_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion defines global schema data type declarations
|
||||
for data types defined in the LOMv1.0 base schema.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="./unique/loose.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="./extend/custom.xsd" />
|
||||
<xs:include schemaLocation="elementTypes_localised.xsd" />
|
||||
<!-- Data type declarations -->
|
||||
<!-- CharacterString -->
|
||||
<xs:simpleType name="CharacterString">
|
||||
<xs:restriction base="xs:string" />
|
||||
</xs:simpleType>
|
||||
<!-- LanguageId -->
|
||||
<xs:complexType name="LanguageId">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:language">
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- VCard -->
|
||||
<xs:complexType name="VCard">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- MimeType -->
|
||||
<xs:simpleType name="MimeType">
|
||||
<xs:restriction base="CharacterString" />
|
||||
</xs:simpleType>
|
||||
<!-- Size -->
|
||||
<xs:simpleType name="Size">
|
||||
<xs:restriction base="xs:nonNegativeInteger" />
|
||||
</xs:simpleType>
|
||||
<!-- LanguageString -->
|
||||
<xs:complexType name="LanguageString">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="string" type="LangString" />
|
||||
<xs:group ref="ex:customElements" minOccurs="0" maxOccurs="0"><xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: No custom elements are allowed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:group>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LangString">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attribute name="language" type="xs:language" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- DateTime -->
|
||||
<xs:complexType name="DateTime">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="dateTime" type="DateTimeValue" />
|
||||
<xs:element name="description" type="description" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DateTimeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DateTimeString">
|
||||
<xs:attributeGroup ref="ag:DateTimeValue" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DateTimeString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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]))?)?)?)?)?)?)?" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- Duration -->
|
||||
<xs:complexType name="Duration">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="duration" type="DurationValue" />
|
||||
<xs:element name="description" type="description" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DurationValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DurationString">
|
||||
<xs:attributeGroup ref="ag:DurationValue" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DurationString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,52 +1,52 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM/extend"
|
||||
xmlns:lom="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defines the XML Schema content model groups customElements
|
||||
and customAttributes to support validation of extension XML elements and attributes.
|
||||
|
||||
This component XSD should be used if extensions are to be supported in LOM
|
||||
XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM" schemaLocation="../lomLoose_localised.xsd"/>
|
||||
|
||||
<!-- Model group declarations -->
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:group ref="lom:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
<xs:attributeGroup name="customAttributes">
|
||||
<xs:anyAttribute namespace="##other" processContents="lax" />
|
||||
</xs:attributeGroup>
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM/extend"
|
||||
xmlns:lom="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defines the XML Schema content model groups customElements
|
||||
and customAttributes to support validation of extension XML elements and attributes.
|
||||
|
||||
This component XSD should be used if extensions are to be supported in LOM
|
||||
XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM" schemaLocation="../lomLoose_localised.xsd"/>
|
||||
|
||||
<!-- Model group declarations -->
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:group ref="lom:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
<xs:attributeGroup name="customAttributes">
|
||||
<xs:anyAttribute namespace="##other" processContents="lax" />
|
||||
</xs:attributeGroup>
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM">
|
||||
<!--****************************************************************************************-->
|
||||
<!--** Definition document - this document holds AP defined simpleType elements that have **-->
|
||||
<!--** been referenced through a type attribute in one of the modified, resultant schema. **-->
|
||||
<!--****************************************************************************************-->
|
||||
<xs:simpleType name="ImsCCType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="IMS Common Cartridge" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xsd:schema>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM">
|
||||
<!--****************************************************************************************-->
|
||||
<!--** Definition document - this document holds AP defined simpleType elements that have **-->
|
||||
<!--** been referenced through a type attribute in one of the modified, resultant schema. **-->
|
||||
<!--****************************************************************************************-->
|
||||
<xs:simpleType name="ImsCCType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="IMS Common Cartridge" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xsd:schema>
|
||||
|
||||
|
||||
@@ -1,71 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:voc="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file represents a composite schema for validating
|
||||
LOM XML Instances. This file is built by default to represent a
|
||||
composite schema for validation of the following:
|
||||
|
||||
1) The use of LOMv1.0 base schema (i.e., 1484.12.1-2002) vocabulary
|
||||
source/value pairs only
|
||||
2) Uniqueness constraints defined by LOMv1.0 base schema
|
||||
3) No existenace of any defined extensions:
|
||||
LOMv1.0 base schema XML element extension,
|
||||
LOMv1.0 base schema XML attribute extension and
|
||||
LOMv1.0 base schema vocabulary data type extension
|
||||
|
||||
Alternative composite schemas can be assembled by selecting
|
||||
from the various alternative component schema listed below.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:include schemaLocation="common/anyElement.xsd" />
|
||||
<!-- LOM data element uniqueness constraints: use one of the following -->
|
||||
<!-- Use unique/loose.xsd to relax element uniqueness constraints -->
|
||||
<!-- Use unique/strict.xsd to enforce element uniqueness constraints -->
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique"
|
||||
schemaLocation="unique/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="unique/loose.xsd" />
|
||||
|
||||
<!-- Vocabulary value validation: use one of the following -->
|
||||
<!-- Use vocab/loose.xsd to relax vocabulary value constraints -->
|
||||
<!-- Use vocab/strict.xsd to enforce the LOMv1.0 base schema vocabulary values -->
|
||||
<!-- Use vocab/custom.xsd to enforce custom vocabulary values -->
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
schemaLocation="vocab/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" schemaLocation="vocab/loose.xsd" />
|
||||
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
schemaLocation="vocab/custom.xsd"/> -->
|
||||
<!-- Extension elements/attributes support: use one of the following -->
|
||||
<!-- Use extend/strict.xsd to enforce no element/attribute extension -->
|
||||
<!-- Use extend/custom.xsd to allow element/attribute extension -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="extend/custom.xsd" />
|
||||
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend"
|
||||
schemaLocation="extend/custom.xsd"/> -->
|
||||
<xs:include schemaLocation="common/dataTypes.xsd" />
|
||||
<xs:include schemaLocation="common/elementNames.xsd" />
|
||||
<xs:include schemaLocation="common/elementTypes.xsd" />
|
||||
<xs:include schemaLocation="common/rootElement.xsd" />
|
||||
<xs:include schemaLocation="common/vocabValues.xsd" />
|
||||
<xs:include schemaLocation="common/vocabTypes.xsd" />
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:voc="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file represents a composite schema for validating
|
||||
LOM XML Instances. This file is built by default to represent a
|
||||
composite schema for validation of the following:
|
||||
|
||||
1) The use of LOMv1.0 base schema (i.e., 1484.12.1-2002) vocabulary
|
||||
source/value pairs only
|
||||
2) Uniqueness constraints defined by LOMv1.0 base schema
|
||||
3) No existenace of any defined extensions:
|
||||
LOMv1.0 base schema XML element extension,
|
||||
LOMv1.0 base schema XML attribute extension and
|
||||
LOMv1.0 base schema vocabulary data type extension
|
||||
|
||||
Alternative composite schemas can be assembled by selecting
|
||||
from the various alternative component schema listed below.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:include schemaLocation="common/anyElement.xsd" />
|
||||
<!-- LOM data element uniqueness constraints: use one of the following -->
|
||||
<!-- Use unique/loose.xsd to relax element uniqueness constraints -->
|
||||
<!-- Use unique/strict.xsd to enforce element uniqueness constraints -->
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique"
|
||||
schemaLocation="unique/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="unique/loose.xsd" />
|
||||
|
||||
<!-- Vocabulary value validation: use one of the following -->
|
||||
<!-- Use vocab/loose.xsd to relax vocabulary value constraints -->
|
||||
<!-- Use vocab/strict.xsd to enforce the LOMv1.0 base schema vocabulary values -->
|
||||
<!-- Use vocab/custom.xsd to enforce custom vocabulary values -->
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
schemaLocation="vocab/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" schemaLocation="vocab/loose.xsd" />
|
||||
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
schemaLocation="vocab/custom.xsd"/> -->
|
||||
<!-- Extension elements/attributes support: use one of the following -->
|
||||
<!-- Use extend/strict.xsd to enforce no element/attribute extension -->
|
||||
<!-- Use extend/custom.xsd to allow element/attribute extension -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="extend/custom.xsd" />
|
||||
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend"
|
||||
schemaLocation="extend/custom.xsd"/> -->
|
||||
<xs:include schemaLocation="common/dataTypes.xsd" />
|
||||
<xs:include schemaLocation="common/elementNames.xsd" />
|
||||
<xs:include schemaLocation="common/elementTypes.xsd" />
|
||||
<xs:include schemaLocation="common/rootElement.xsd" />
|
||||
<xs:include schemaLocation="common/vocabValues.xsd" />
|
||||
<xs:include schemaLocation="common/vocabTypes.xsd" />
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,68 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.ascc.net/xml/schematron">
|
||||
<ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsd" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
|
||||
<ns prefix="ac" uri="http://iwm.uni-koblenz.de/xsd/tel_addc_v1p1" />
|
||||
<ns prefix="ims" uri="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" />
|
||||
<!--***********************************************************************************************-->
|
||||
<!--** Constraints document - this document holds Schematron rules that have been generated from **-->
|
||||
<!--** AP condition and assertion elements. IMPORTANT: If this document exists, it MUST be **-->
|
||||
<!--** used in the validation of instances derived from the resultant schema - failure to do so **-->
|
||||
<!--** can result in an instance that does not conform to either the base schema or the **-->
|
||||
<!--** Application Profile. **-->
|
||||
<!--***********************************************************************************************-->
|
||||
<pattern name="pattern_1">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref) and not (count(../item)=0)">Assertion failed for pattern_1. An Item object which represents a folder is indicated by the absence of an IdentifierRef characteristic object. Folder Items support unlimited nesting of other folder Items and learning object link Items. Learning Application Resource Item objects may be nested by folder Item object but may not nest other folder or Learning Application resource Item objects.(#S04)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_2">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref) and (../../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current() = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_2. A Resource object which is a Learning Object Web Content may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_3">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item) and (@isvisible='false') and not (count(./item)=count(./item[@isvisible='false']))">Assertion failed for pattern_3. If an item is invisible, its descendants must be invisible too.(#S02)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_4">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsdt_xmlv1p0') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier or current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_4. A Resource object which is a Discussion Topic associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S12)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_5">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_5.
|
||||
The test was: .
|
||||
The context was: ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_6">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') and not ((current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier) or (current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier))">Assertion failed for pattern_6. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_7">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='webcontent' or ./@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and ./@identifier = //item/@identifierref) and not (count(./@href)=1)">Assertion failed for pattern_7. If a cartridge web content or associated content resource is linked from a Learning Application Object link Item object it must have an Href characteristic object which represents the launchable resource.(#S05)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_8">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imsdt_xmlv1p0') and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_8. For Discussion Topic Resources the Resource object must contain a single File object which references the Discussion Topic descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imsdt_v1p0 schema. It must not have any href attribute.(#S06)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_9">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imswl_xmlv1p0') and not (count(./file)=1 and count(./dependency)=0 and count(./@href)=0)">Assertion failed for pattern_9. For Web Link Resources the Resource object must contain a single File object which references the Web Link descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imswl_v1p0 schema. It must contain neither Dependency objects nor an href attribute.(#S07)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_10">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank')) and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_10. For Assessment or Question Bank Resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.xdm. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
</schema>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.ascc.net/xml/schematron">
|
||||
<ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsd" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
|
||||
<ns prefix="ac" uri="http://iwm.uni-koblenz.de/xsd/tel_addc_v1p1" />
|
||||
<ns prefix="ims" uri="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" />
|
||||
<!--***********************************************************************************************-->
|
||||
<!--** Constraints document - this document holds Schematron rules that have been generated from **-->
|
||||
<!--** AP condition and assertion elements. IMPORTANT: If this document exists, it MUST be **-->
|
||||
<!--** used in the validation of instances derived from the resultant schema - failure to do so **-->
|
||||
<!--** can result in an instance that does not conform to either the base schema or the **-->
|
||||
<!--** Application Profile. **-->
|
||||
<!--***********************************************************************************************-->
|
||||
<pattern name="pattern_1">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref) and not (count(../item)=0)">Assertion failed for pattern_1. An Item object which represents a folder is indicated by the absence of an IdentifierRef characteristic object. Folder Items support unlimited nesting of other folder Items and learning object link Items. Learning Application Resource Item objects may be nested by folder Item object but may not nest other folder or Learning Application resource Item objects.(#S04)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_2">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref) and (../../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current() = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_2. A Resource object which is a Learning Object Web Content may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_3">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item) and (@isvisible='false') and not (count(./item)=count(./item[@isvisible='false']))">Assertion failed for pattern_3. If an item is invisible, its descendants must be invisible too.(#S02)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_4">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsdt_xmlv1p0') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier or current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_4. A Resource object which is a Discussion Topic associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S12)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_5">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_5.
|
||||
The test was: .
|
||||
The context was: ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_6">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') and not ((current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier) or (current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier))">Assertion failed for pattern_6. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_7">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='webcontent' or ./@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and ./@identifier = //item/@identifierref) and not (count(./@href)=1)">Assertion failed for pattern_7. If a cartridge web content or associated content resource is linked from a Learning Application Object link Item object it must have an Href characteristic object which represents the launchable resource.(#S05)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_8">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imsdt_xmlv1p0') and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_8. For Discussion Topic Resources the Resource object must contain a single File object which references the Discussion Topic descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imsdt_v1p0 schema. It must not have any href attribute.(#S06)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_9">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imswl_xmlv1p0') and not (count(./file)=1 and count(./dependency)=0 and count(./@href)=0)">Assertion failed for pattern_9. For Web Link Resources the Resource object must contain a single File object which references the Web Link descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imswl_v1p0 schema. It must contain neither Dependency objects nor an href attribute.(#S07)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_10">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank')) and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_10. For Assessment or Question Bank Resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.xdm. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
</schema>
|
||||
|
||||
|
||||
@@ -1,96 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** lomLoose_localised.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:voc="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_m_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file represents a composite schema for validating
|
||||
LOM XML Instances. This file is built by default to represent a
|
||||
composite schema for validation of the following:
|
||||
|
||||
1) The use of LOMv1.0 base schema (i.e., 1484.12.1-2002) vocabulary
|
||||
source/value pairs only
|
||||
2) Uniqueness constraints defined by LOMv1.0 base schema
|
||||
3) No existenace of any defined extensions:
|
||||
LOMv1.0 base schema XML element extension,
|
||||
LOMv1.0 base schema XML attribute extension and
|
||||
LOMv1.0 base schema vocabulary data type extension
|
||||
|
||||
Alternative composite schemas can be assembled by selecting
|
||||
from the various alternative component schema listed below.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
<xs:documentation xml:lang="en">conformance: This profile restricts 'IEEE LOM 1.0 loose' to the elements needed to cover unqualified Dublin Core.
|
||||
dc:contributor, dc:creator, dc:publisher map to lifeCycle.contribute.entity with appropriate value of lifeCycle.contribute.role,
|
||||
dc:coverage maps to general.coverage,
|
||||
dc:date maps to lifeCycle.contribute.date,
|
||||
dc:description maps to general.description,
|
||||
dc:format maps to technical.format,
|
||||
dc:identifier maps to general.identifier,
|
||||
dc:language maps to general.language,
|
||||
dc:relation maps to Relation,
|
||||
dc:rights maps to Rights,
|
||||
dc:source is not mapped,
|
||||
dc:subject maps to general.keyword (see also classification.keyword),
|
||||
dc:title maps to general.title
|
||||
dc:type maps to Educational.learningResourceType
|
||||
</xs:documentation>
|
||||
<xs:documentation xml:lang="en">scope: This profile is used within the Common Cartridge specification.</xs:documentation>
|
||||
<xs:documentation xml:lang="en">name: IMS Common Cartridge profile of IEEE LOM V1.0 loose for unqualified Dublin Core</xs:documentation>
|
||||
</xs:annotation>
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:include schemaLocation="anyElement_localised.xsd" />
|
||||
<!-- LOM data element uniqueness constraints: use one of the following -->
|
||||
<!-- Use unique/loose.xsd to relax element uniqueness constraints -->
|
||||
<!-- Use unique/strict.xsd to enforce element uniqueness constraints -->
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique"
|
||||
schemaLocation="unique/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="unique/loose.xsd" />
|
||||
|
||||
<!-- Vocabulary value validation: use one of the following -->
|
||||
<!-- Use vocab/loose.xsd to relax vocabulary value constraints -->
|
||||
<!-- Use vocab/strict.xsd to enforce the LOMv1.0 base schema vocabulary values -->
|
||||
<!-- Use vocab/custom.xsd to enforce custom vocabulary values -->
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
schemaLocation="vocab/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" schemaLocation="vocab/loose.xsd" />
|
||||
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
schemaLocation="vocab/custom.xsd"/> -->
|
||||
<!-- Extension elements/attributes support: use one of the following -->
|
||||
<!-- Use extend/strict.xsd to enforce no element/attribute extension -->
|
||||
<!-- Use extend/custom.xsd to allow element/attribute extension -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="extend/custom.xsd" />
|
||||
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend"
|
||||
schemaLocation="extend/custom.xsd"/> -->
|
||||
<xs:include schemaLocation="dataTypes_localised.xsd" />
|
||||
<xs:include schemaLocation="elementNames_localised.xsd" />
|
||||
<xs:include schemaLocation="elementTypes_localised.xsd" />
|
||||
<xs:include schemaLocation="rootElement_localised.xsd" />
|
||||
<xs:include schemaLocation="vocabValues_localised.xsd" />
|
||||
<xs:include schemaLocation="vocabTypes_localised.xsd" />
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** lomLoose_localised.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:voc="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_m_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file represents a composite schema for validating
|
||||
LOM XML Instances. This file is built by default to represent a
|
||||
composite schema for validation of the following:
|
||||
|
||||
1) The use of LOMv1.0 base schema (i.e., 1484.12.1-2002) vocabulary
|
||||
source/value pairs only
|
||||
2) Uniqueness constraints defined by LOMv1.0 base schema
|
||||
3) No existenace of any defined extensions:
|
||||
LOMv1.0 base schema XML element extension,
|
||||
LOMv1.0 base schema XML attribute extension and
|
||||
LOMv1.0 base schema vocabulary data type extension
|
||||
|
||||
Alternative composite schemas can be assembled by selecting
|
||||
from the various alternative component schema listed below.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
<xs:documentation xml:lang="en">conformance: This profile restricts 'IEEE LOM 1.0 loose' to the elements needed to cover unqualified Dublin Core.
|
||||
dc:contributor, dc:creator, dc:publisher map to lifeCycle.contribute.entity with appropriate value of lifeCycle.contribute.role,
|
||||
dc:coverage maps to general.coverage,
|
||||
dc:date maps to lifeCycle.contribute.date,
|
||||
dc:description maps to general.description,
|
||||
dc:format maps to technical.format,
|
||||
dc:identifier maps to general.identifier,
|
||||
dc:language maps to general.language,
|
||||
dc:relation maps to Relation,
|
||||
dc:rights maps to Rights,
|
||||
dc:source is not mapped,
|
||||
dc:subject maps to general.keyword (see also classification.keyword),
|
||||
dc:title maps to general.title
|
||||
dc:type maps to Educational.learningResourceType
|
||||
</xs:documentation>
|
||||
<xs:documentation xml:lang="en">scope: This profile is used within the Common Cartridge specification.</xs:documentation>
|
||||
<xs:documentation xml:lang="en">name: IMS Common Cartridge profile of IEEE LOM V1.0 loose for unqualified Dublin Core</xs:documentation>
|
||||
</xs:annotation>
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:include schemaLocation="anyElement_localised.xsd" />
|
||||
<!-- LOM data element uniqueness constraints: use one of the following -->
|
||||
<!-- Use unique/loose.xsd to relax element uniqueness constraints -->
|
||||
<!-- Use unique/strict.xsd to enforce element uniqueness constraints -->
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique"
|
||||
schemaLocation="unique/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="unique/loose.xsd" />
|
||||
|
||||
<!-- Vocabulary value validation: use one of the following -->
|
||||
<!-- Use vocab/loose.xsd to relax vocabulary value constraints -->
|
||||
<!-- Use vocab/strict.xsd to enforce the LOMv1.0 base schema vocabulary values -->
|
||||
<!-- Use vocab/custom.xsd to enforce custom vocabulary values -->
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
schemaLocation="vocab/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" schemaLocation="vocab/loose.xsd" />
|
||||
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
schemaLocation="vocab/custom.xsd"/> -->
|
||||
<!-- Extension elements/attributes support: use one of the following -->
|
||||
<!-- Use extend/strict.xsd to enforce no element/attribute extension -->
|
||||
<!-- Use extend/custom.xsd to allow element/attribute extension -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="extend/custom.xsd" />
|
||||
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend"
|
||||
schemaLocation="extend/custom.xsd"/> -->
|
||||
<xs:include schemaLocation="dataTypes_localised.xsd" />
|
||||
<xs:include schemaLocation="elementNames_localised.xsd" />
|
||||
<xs:include schemaLocation="elementTypes_localised.xsd" />
|
||||
<xs:include schemaLocation="rootElement_localised.xsd" />
|
||||
<xs:include schemaLocation="vocabValues_localised.xsd" />
|
||||
<xs:include schemaLocation="vocabTypes_localised.xsd" />
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,292 +1,292 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM/unique" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides attribute group declarations for
|
||||
LOM data elements to support schema-based validation of uniqueness constraints
|
||||
within a LOM XML instance where the exact set of attributes associated with each
|
||||
element has to be as specified by the LOM XML Schema binding (i.e., where extra
|
||||
attributes to enforce uniqueness have to be avoided).
|
||||
|
||||
Duplicate declarations are included as comments for completeness. These
|
||||
declarations should remain commented out or they can be removed completely.
|
||||
|
||||
NOTE: The absence of the enforcement of the uniqueness constraints does not
|
||||
relieve a particular LOM XML instance from satisfying the uniqueness constraints
|
||||
described in the LOMv1.0 base schema. Applications that require the use of
|
||||
the unique/loose.xsd component XSD have to enforce those uniqueness constraints
|
||||
by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Attribute group declarations -->
|
||||
|
||||
<!-- Duplicate declarations are included as comments. -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:attributeGroup name="lom" />
|
||||
|
||||
<!-- DateTime -->
|
||||
<xs:attributeGroup name="DateTimeValue" />
|
||||
|
||||
<!-- Duration -->
|
||||
<xs:attributeGroup name="DurationValue" />
|
||||
|
||||
<!-- Source -->
|
||||
<xs:attributeGroup name="source" />
|
||||
|
||||
<!-- Value -->
|
||||
<xs:attributeGroup name="value" />
|
||||
|
||||
<!-- 1 General -->
|
||||
<xs:attributeGroup name="general" />
|
||||
|
||||
<!-- 1.1 Identifier -->
|
||||
<xs:attributeGroup name="identifier" />
|
||||
|
||||
<!-- 1.1.1 Catalog -->
|
||||
<xs:attributeGroup name="catalog" />
|
||||
|
||||
<!-- 1.1.2 Entry -->
|
||||
<xs:attributeGroup name="entry" />
|
||||
|
||||
<!-- 1.2 Title -->
|
||||
<xs:attributeGroup name="title" />
|
||||
|
||||
<!-- 1.3 Language -->
|
||||
<xs:attributeGroup name="language" />
|
||||
|
||||
<!-- 1.4 Description -->
|
||||
<xs:attributeGroup name="description" />
|
||||
|
||||
<!-- 1.5 Keyword -->
|
||||
<xs:attributeGroup name="keyword" />
|
||||
|
||||
<!-- 1.6 Coverage -->
|
||||
<xs:attributeGroup name="coverage" />
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:attributeGroup name="structure" />
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:attributeGroup name="aggregationLevel" />
|
||||
|
||||
<!-- 2 Life Cycle -->
|
||||
<xs:attributeGroup name="lifeCycle" />
|
||||
|
||||
<!-- 2.1 Version -->
|
||||
<xs:attributeGroup name="version" />
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:attributeGroup name="status" />
|
||||
|
||||
<!-- 2.3 Contribute -->
|
||||
<xs:attributeGroup name="contribute" />
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:attributeGroup name="role" />
|
||||
|
||||
<!-- 2.3.2 Entity -->
|
||||
<xs:attributeGroup name="entity" />
|
||||
|
||||
<!-- 2.3.3 Date -->
|
||||
<xs:attributeGroup name="date" />
|
||||
|
||||
<!-- 3 Meta-Metadata -->
|
||||
<xs:attributeGroup name="metaMetadata" />
|
||||
|
||||
<!-- 3.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 3.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 3.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 3.2 Contribute
|
||||
<xs:attributeGroup name="contribute"/> -->
|
||||
|
||||
<!-- 3.2.1 Role
|
||||
<xs:attributeGroup name="role"/> -->
|
||||
|
||||
<!-- 3.2.2 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 3.2.3 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 3.3 Metadata Schema -->
|
||||
<xs:attributeGroup name="metadataSchema" />
|
||||
|
||||
<!-- 3.4 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 4 Technical -->
|
||||
<xs:attributeGroup name="technical" />
|
||||
|
||||
<!-- 4.1 Format -->
|
||||
<xs:attributeGroup name="format" />
|
||||
|
||||
<!-- 4.2 Size -->
|
||||
<xs:attributeGroup name="size" />
|
||||
|
||||
<!-- 4.3 Location -->
|
||||
<xs:attributeGroup name="location" />
|
||||
|
||||
<!-- 4.4 Requirement -->
|
||||
<xs:attributeGroup name="requirement" />
|
||||
|
||||
<!-- 4.4.1 OrComposite -->
|
||||
<xs:attributeGroup name="orComposite" />
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:attributeGroup name="type" />
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:attributeGroup name="name" />
|
||||
|
||||
<!-- 4.4.1.3 Minimum Version -->
|
||||
<xs:attributeGroup name="minimumVersion" />
|
||||
|
||||
<!-- 4.4.1.4 Maximum Version -->
|
||||
<xs:attributeGroup name="maximumVersion" />
|
||||
|
||||
<!-- 4.5 Installation Remarks -->
|
||||
<xs:attributeGroup name="installationRemarks" />
|
||||
|
||||
<!-- 4.6 Other Platform Requirements -->
|
||||
<xs:attributeGroup name="otherPlatformRequirements" />
|
||||
|
||||
<!-- 4.7 Duration -->
|
||||
<xs:attributeGroup name="duration" />
|
||||
|
||||
<!-- 5 Educational -->
|
||||
<xs:attributeGroup name="educational" />
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:attributeGroup name="interactivityType" />
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:attributeGroup name="learningResourceType" />
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:attributeGroup name="interactivityLevel" />
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:attributeGroup name="semanticDensity" />
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:attributeGroup name="intendedEndUserRole" />
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:attributeGroup name="context" />
|
||||
|
||||
<!-- 5.7 Typical Age Range -->
|
||||
<xs:attributeGroup name="typicalAgeRange" />
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:attributeGroup name="difficulty" />
|
||||
|
||||
<!-- 5.9 Typical Learning Time -->
|
||||
<xs:attributeGroup name="typicalLearningTime" />
|
||||
|
||||
<!-- 5.10 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 5.11 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 6 Rights -->
|
||||
<xs:attributeGroup name="rights" />
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:attributeGroup name="cost" />
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:attributeGroup name="copyrightAndOtherRestrictions" />
|
||||
|
||||
<!-- 6.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 7 Relation -->
|
||||
<xs:attributeGroup name="relation" />
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:attributeGroup name="kind" />
|
||||
|
||||
<!-- 7.2 Resource -->
|
||||
<xs:attributeGroup name="resource" />
|
||||
|
||||
<!-- 7.2.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 7.2.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 7.2.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 7.2.2 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 8 Annotation -->
|
||||
<xs:attributeGroup name="annotation" />
|
||||
|
||||
<!-- 8.1 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 8.2 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 8.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9 Classification -->
|
||||
<xs:attributeGroup name="classification" />
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:attributeGroup name="purpose" />
|
||||
|
||||
<!-- 9.2 Taxon Path -->
|
||||
<xs:attributeGroup name="taxonPath" />
|
||||
|
||||
<!-- 9.2.1 Source
|
||||
<xs:attributeGroup name="source"/> -->
|
||||
|
||||
<!-- 9.2.2 Taxon -->
|
||||
<xs:attributeGroup name="taxon" />
|
||||
|
||||
<!-- 9.2.2.1 Id -->
|
||||
<xs:attributeGroup name="id" />
|
||||
|
||||
<!-- 9.2.2.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 9.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9.4 Keyword
|
||||
<xs:attributeGroup name="keyword"/> -->
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM/unique" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides attribute group declarations for
|
||||
LOM data elements to support schema-based validation of uniqueness constraints
|
||||
within a LOM XML instance where the exact set of attributes associated with each
|
||||
element has to be as specified by the LOM XML Schema binding (i.e., where extra
|
||||
attributes to enforce uniqueness have to be avoided).
|
||||
|
||||
Duplicate declarations are included as comments for completeness. These
|
||||
declarations should remain commented out or they can be removed completely.
|
||||
|
||||
NOTE: The absence of the enforcement of the uniqueness constraints does not
|
||||
relieve a particular LOM XML instance from satisfying the uniqueness constraints
|
||||
described in the LOMv1.0 base schema. Applications that require the use of
|
||||
the unique/loose.xsd component XSD have to enforce those uniqueness constraints
|
||||
by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Attribute group declarations -->
|
||||
|
||||
<!-- Duplicate declarations are included as comments. -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:attributeGroup name="lom" />
|
||||
|
||||
<!-- DateTime -->
|
||||
<xs:attributeGroup name="DateTimeValue" />
|
||||
|
||||
<!-- Duration -->
|
||||
<xs:attributeGroup name="DurationValue" />
|
||||
|
||||
<!-- Source -->
|
||||
<xs:attributeGroup name="source" />
|
||||
|
||||
<!-- Value -->
|
||||
<xs:attributeGroup name="value" />
|
||||
|
||||
<!-- 1 General -->
|
||||
<xs:attributeGroup name="general" />
|
||||
|
||||
<!-- 1.1 Identifier -->
|
||||
<xs:attributeGroup name="identifier" />
|
||||
|
||||
<!-- 1.1.1 Catalog -->
|
||||
<xs:attributeGroup name="catalog" />
|
||||
|
||||
<!-- 1.1.2 Entry -->
|
||||
<xs:attributeGroup name="entry" />
|
||||
|
||||
<!-- 1.2 Title -->
|
||||
<xs:attributeGroup name="title" />
|
||||
|
||||
<!-- 1.3 Language -->
|
||||
<xs:attributeGroup name="language" />
|
||||
|
||||
<!-- 1.4 Description -->
|
||||
<xs:attributeGroup name="description" />
|
||||
|
||||
<!-- 1.5 Keyword -->
|
||||
<xs:attributeGroup name="keyword" />
|
||||
|
||||
<!-- 1.6 Coverage -->
|
||||
<xs:attributeGroup name="coverage" />
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:attributeGroup name="structure" />
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:attributeGroup name="aggregationLevel" />
|
||||
|
||||
<!-- 2 Life Cycle -->
|
||||
<xs:attributeGroup name="lifeCycle" />
|
||||
|
||||
<!-- 2.1 Version -->
|
||||
<xs:attributeGroup name="version" />
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:attributeGroup name="status" />
|
||||
|
||||
<!-- 2.3 Contribute -->
|
||||
<xs:attributeGroup name="contribute" />
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:attributeGroup name="role" />
|
||||
|
||||
<!-- 2.3.2 Entity -->
|
||||
<xs:attributeGroup name="entity" />
|
||||
|
||||
<!-- 2.3.3 Date -->
|
||||
<xs:attributeGroup name="date" />
|
||||
|
||||
<!-- 3 Meta-Metadata -->
|
||||
<xs:attributeGroup name="metaMetadata" />
|
||||
|
||||
<!-- 3.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 3.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 3.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 3.2 Contribute
|
||||
<xs:attributeGroup name="contribute"/> -->
|
||||
|
||||
<!-- 3.2.1 Role
|
||||
<xs:attributeGroup name="role"/> -->
|
||||
|
||||
<!-- 3.2.2 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 3.2.3 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 3.3 Metadata Schema -->
|
||||
<xs:attributeGroup name="metadataSchema" />
|
||||
|
||||
<!-- 3.4 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 4 Technical -->
|
||||
<xs:attributeGroup name="technical" />
|
||||
|
||||
<!-- 4.1 Format -->
|
||||
<xs:attributeGroup name="format" />
|
||||
|
||||
<!-- 4.2 Size -->
|
||||
<xs:attributeGroup name="size" />
|
||||
|
||||
<!-- 4.3 Location -->
|
||||
<xs:attributeGroup name="location" />
|
||||
|
||||
<!-- 4.4 Requirement -->
|
||||
<xs:attributeGroup name="requirement" />
|
||||
|
||||
<!-- 4.4.1 OrComposite -->
|
||||
<xs:attributeGroup name="orComposite" />
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:attributeGroup name="type" />
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:attributeGroup name="name" />
|
||||
|
||||
<!-- 4.4.1.3 Minimum Version -->
|
||||
<xs:attributeGroup name="minimumVersion" />
|
||||
|
||||
<!-- 4.4.1.4 Maximum Version -->
|
||||
<xs:attributeGroup name="maximumVersion" />
|
||||
|
||||
<!-- 4.5 Installation Remarks -->
|
||||
<xs:attributeGroup name="installationRemarks" />
|
||||
|
||||
<!-- 4.6 Other Platform Requirements -->
|
||||
<xs:attributeGroup name="otherPlatformRequirements" />
|
||||
|
||||
<!-- 4.7 Duration -->
|
||||
<xs:attributeGroup name="duration" />
|
||||
|
||||
<!-- 5 Educational -->
|
||||
<xs:attributeGroup name="educational" />
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:attributeGroup name="interactivityType" />
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:attributeGroup name="learningResourceType" />
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:attributeGroup name="interactivityLevel" />
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:attributeGroup name="semanticDensity" />
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:attributeGroup name="intendedEndUserRole" />
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:attributeGroup name="context" />
|
||||
|
||||
<!-- 5.7 Typical Age Range -->
|
||||
<xs:attributeGroup name="typicalAgeRange" />
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:attributeGroup name="difficulty" />
|
||||
|
||||
<!-- 5.9 Typical Learning Time -->
|
||||
<xs:attributeGroup name="typicalLearningTime" />
|
||||
|
||||
<!-- 5.10 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 5.11 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 6 Rights -->
|
||||
<xs:attributeGroup name="rights" />
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:attributeGroup name="cost" />
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:attributeGroup name="copyrightAndOtherRestrictions" />
|
||||
|
||||
<!-- 6.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 7 Relation -->
|
||||
<xs:attributeGroup name="relation" />
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:attributeGroup name="kind" />
|
||||
|
||||
<!-- 7.2 Resource -->
|
||||
<xs:attributeGroup name="resource" />
|
||||
|
||||
<!-- 7.2.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 7.2.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 7.2.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 7.2.2 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 8 Annotation -->
|
||||
<xs:attributeGroup name="annotation" />
|
||||
|
||||
<!-- 8.1 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 8.2 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 8.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9 Classification -->
|
||||
<xs:attributeGroup name="classification" />
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:attributeGroup name="purpose" />
|
||||
|
||||
<!-- 9.2 Taxon Path -->
|
||||
<xs:attributeGroup name="taxonPath" />
|
||||
|
||||
<!-- 9.2.1 Source
|
||||
<xs:attributeGroup name="source"/> -->
|
||||
|
||||
<!-- 9.2.2 Taxon -->
|
||||
<xs:attributeGroup name="taxon" />
|
||||
|
||||
<!-- 9.2.2.1 Id -->
|
||||
<xs:attributeGroup name="id" />
|
||||
|
||||
<!-- 9.2.2.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 9.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9.4 Keyword
|
||||
<xs:attributeGroup name="keyword"/> -->
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** rootElement.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defintion provides the element name declaration for the
|
||||
root element for all LOM XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Element declarations -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:element name="lom" type="lom">
|
||||
<xs:unique name="lomUnique">
|
||||
<xs:selector xpath="*" />
|
||||
<xs:field xpath="@uniqueElementName" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** rootElement.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defintion provides the element name declaration for the
|
||||
root element for all LOM XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Element declarations -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:element name="lom" type="lom">
|
||||
<xs:unique name="lomUnique">
|
||||
<xs:selector xpath="*" />
|
||||
<xs:field xpath="@uniqueElementName" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,295 +1,295 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM/unique"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides attribute group declarations for
|
||||
LOM data elements to support schema-based validation of uniqueness constraints
|
||||
within a LOM XML instance where the exact set of attributes associated with each
|
||||
element has to be as specified by the LOM XML Schema binding (i.e., where extra
|
||||
attributes to enforce uniqueness have to be avoided).
|
||||
|
||||
Duplicate declarations are included as comments for completeness. These
|
||||
declarations should remain commented out or they can be removed completely.
|
||||
|
||||
NOTE: The absence of the enforcement of the uniqueness constraints does not
|
||||
relieve a particular LOM XML instance from satisfying the uniqueness constraints
|
||||
described in the LOMv1.0 base schema. Applications that require the use of
|
||||
the unique/loose.xsd component XSD have to enforce those uniqueness constraints
|
||||
by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Attribute group declarations -->
|
||||
|
||||
<!-- Duplicate declarations are included as comments. -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:attributeGroup name="lom"/>
|
||||
|
||||
<!-- DateTime -->
|
||||
<xs:attributeGroup name="DateTimeValue"/>
|
||||
|
||||
<!-- Duration -->
|
||||
<xs:attributeGroup name="DurationValue"/>
|
||||
|
||||
<!-- Source -->
|
||||
<xs:attributeGroup name="source"/>
|
||||
|
||||
<!-- Value -->
|
||||
<xs:attributeGroup name="value"/>
|
||||
|
||||
<!-- 1 General -->
|
||||
<xs:attributeGroup name="general"/>
|
||||
|
||||
<!-- 1.1 Identifier -->
|
||||
<xs:attributeGroup name="identifier"/>
|
||||
|
||||
<!-- 1.1.1 Catalog -->
|
||||
<xs:attributeGroup name="catalog"/>
|
||||
|
||||
<!-- 1.1.2 Entry -->
|
||||
<xs:attributeGroup name="entry"/>
|
||||
|
||||
<!-- 1.2 Title -->
|
||||
<xs:attributeGroup name="title"/>
|
||||
|
||||
<!-- 1.3 Language -->
|
||||
<xs:attributeGroup name="language"/>
|
||||
|
||||
<!-- 1.4 Description -->
|
||||
<xs:attributeGroup name="description"/>
|
||||
|
||||
<!-- 1.5 Keyword -->
|
||||
<xs:attributeGroup name="keyword"/>
|
||||
|
||||
<!-- 1.6 Coverage -->
|
||||
<xs:attributeGroup name="coverage"/>
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:attributeGroup name="structure"/>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:attributeGroup name="aggregationLevel"/>
|
||||
|
||||
<!-- 2 Life Cycle -->
|
||||
<xs:attributeGroup name="lifeCycle"/>
|
||||
|
||||
<!-- 2.1 Version -->
|
||||
<xs:attributeGroup name="version"/>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:attributeGroup name="status"/>
|
||||
|
||||
<!-- 2.3 Contribute -->
|
||||
<xs:attributeGroup name="contribute"/>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:attributeGroup name="role"/>
|
||||
|
||||
<!-- 2.3.2 Entity -->
|
||||
<xs:attributeGroup name="entity"/>
|
||||
|
||||
<!-- 2.3.3 Date -->
|
||||
<xs:attributeGroup name="date"/>
|
||||
|
||||
<!-- 3 Meta-Metadata -->
|
||||
<xs:attributeGroup name="metaMetadata"/>
|
||||
|
||||
<!-- 3.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 3.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 3.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 3.2 Contribute
|
||||
<xs:attributeGroup name="contribute"/> -->
|
||||
|
||||
<!-- 3.2.1 Role
|
||||
<xs:attributeGroup name="role"/> -->
|
||||
|
||||
<!-- 3.2.2 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 3.2.3 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 3.3 Metadata Schema -->
|
||||
<xs:attributeGroup name="metadataSchema"/>
|
||||
|
||||
<!-- 3.4 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 4 Technical -->
|
||||
<xs:attributeGroup name="technical"/>
|
||||
|
||||
<!-- 4.1 Format -->
|
||||
<xs:attributeGroup name="format"/>
|
||||
|
||||
<!-- 4.2 Size -->
|
||||
<xs:attributeGroup name="size"/>
|
||||
|
||||
<!-- 4.3 Location -->
|
||||
<xs:attributeGroup name="location"/>
|
||||
|
||||
<!-- 4.4 Requirement -->
|
||||
<xs:attributeGroup name="requirement"/>
|
||||
|
||||
<!-- 4.4.1 OrComposite -->
|
||||
<xs:attributeGroup name="orComposite"/>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:attributeGroup name="type"/>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:attributeGroup name="name"/>
|
||||
|
||||
<!-- 4.4.1.3 Minimum Version -->
|
||||
<xs:attributeGroup name="minimumVersion"/>
|
||||
|
||||
<!-- 4.4.1.4 Maximum Version -->
|
||||
<xs:attributeGroup name="maximumVersion"/>
|
||||
|
||||
<!-- 4.5 Installation Remarks -->
|
||||
<xs:attributeGroup name="installationRemarks"/>
|
||||
|
||||
<!-- 4.6 Other Platform Requirements -->
|
||||
<xs:attributeGroup name="otherPlatformRequirements"/>
|
||||
|
||||
<!-- 4.7 Duration -->
|
||||
<xs:attributeGroup name="duration"/>
|
||||
|
||||
<!-- 5 Educational -->
|
||||
<xs:attributeGroup name="educational"/>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:attributeGroup name="interactivityType"/>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:attributeGroup name="learningResourceType"/>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:attributeGroup name="interactivityLevel"/>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:attributeGroup name="semanticDensity"/>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:attributeGroup name="intendedEndUserRole"/>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:attributeGroup name="context"/>
|
||||
|
||||
<!-- 5.7 Typical Age Range -->
|
||||
<xs:attributeGroup name="typicalAgeRange"/>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:attributeGroup name="difficulty"/>
|
||||
|
||||
<!-- 5.9 Typical Learning Time -->
|
||||
<xs:attributeGroup name="typicalLearningTime"/>
|
||||
|
||||
<!-- 5.10 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 5.11 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 6 Rights -->
|
||||
<xs:attributeGroup name="rights"/>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:attributeGroup name="cost"/>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:attributeGroup name="copyrightAndOtherRestrictions"/>
|
||||
|
||||
<!-- 6.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 7 Relation -->
|
||||
<xs:attributeGroup name="relation"/>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:attributeGroup name="kind"/>
|
||||
|
||||
<!-- 7.2 Resource -->
|
||||
<xs:attributeGroup name="resource"/>
|
||||
|
||||
<!-- 7.2.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 7.2.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 7.2.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 7.2.2 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 8 Annotation -->
|
||||
<xs:attributeGroup name="annotation"/>
|
||||
|
||||
<!-- 8.1 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 8.2 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 8.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9 Classification -->
|
||||
<xs:attributeGroup name="classification"/>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:attributeGroup name="purpose"/>
|
||||
|
||||
<!-- 9.2 Taxon Path -->
|
||||
<xs:attributeGroup name="taxonPath"/>
|
||||
|
||||
<!-- 9.2.1 Source
|
||||
<xs:attributeGroup name="source"/> -->
|
||||
|
||||
<!-- 9.2.2 Taxon -->
|
||||
<xs:attributeGroup name="taxon"/>
|
||||
|
||||
<!-- 9.2.2.1 Id -->
|
||||
<xs:attributeGroup name="id"/>
|
||||
|
||||
<!-- 9.2.2.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 9.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9.4 Keyword
|
||||
<xs:attributeGroup name="keyword"/> -->
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM/unique"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides attribute group declarations for
|
||||
LOM data elements to support schema-based validation of uniqueness constraints
|
||||
within a LOM XML instance where the exact set of attributes associated with each
|
||||
element has to be as specified by the LOM XML Schema binding (i.e., where extra
|
||||
attributes to enforce uniqueness have to be avoided).
|
||||
|
||||
Duplicate declarations are included as comments for completeness. These
|
||||
declarations should remain commented out or they can be removed completely.
|
||||
|
||||
NOTE: The absence of the enforcement of the uniqueness constraints does not
|
||||
relieve a particular LOM XML instance from satisfying the uniqueness constraints
|
||||
described in the LOMv1.0 base schema. Applications that require the use of
|
||||
the unique/loose.xsd component XSD have to enforce those uniqueness constraints
|
||||
by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Attribute group declarations -->
|
||||
|
||||
<!-- Duplicate declarations are included as comments. -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:attributeGroup name="lom"/>
|
||||
|
||||
<!-- DateTime -->
|
||||
<xs:attributeGroup name="DateTimeValue"/>
|
||||
|
||||
<!-- Duration -->
|
||||
<xs:attributeGroup name="DurationValue"/>
|
||||
|
||||
<!-- Source -->
|
||||
<xs:attributeGroup name="source"/>
|
||||
|
||||
<!-- Value -->
|
||||
<xs:attributeGroup name="value"/>
|
||||
|
||||
<!-- 1 General -->
|
||||
<xs:attributeGroup name="general"/>
|
||||
|
||||
<!-- 1.1 Identifier -->
|
||||
<xs:attributeGroup name="identifier"/>
|
||||
|
||||
<!-- 1.1.1 Catalog -->
|
||||
<xs:attributeGroup name="catalog"/>
|
||||
|
||||
<!-- 1.1.2 Entry -->
|
||||
<xs:attributeGroup name="entry"/>
|
||||
|
||||
<!-- 1.2 Title -->
|
||||
<xs:attributeGroup name="title"/>
|
||||
|
||||
<!-- 1.3 Language -->
|
||||
<xs:attributeGroup name="language"/>
|
||||
|
||||
<!-- 1.4 Description -->
|
||||
<xs:attributeGroup name="description"/>
|
||||
|
||||
<!-- 1.5 Keyword -->
|
||||
<xs:attributeGroup name="keyword"/>
|
||||
|
||||
<!-- 1.6 Coverage -->
|
||||
<xs:attributeGroup name="coverage"/>
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:attributeGroup name="structure"/>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:attributeGroup name="aggregationLevel"/>
|
||||
|
||||
<!-- 2 Life Cycle -->
|
||||
<xs:attributeGroup name="lifeCycle"/>
|
||||
|
||||
<!-- 2.1 Version -->
|
||||
<xs:attributeGroup name="version"/>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:attributeGroup name="status"/>
|
||||
|
||||
<!-- 2.3 Contribute -->
|
||||
<xs:attributeGroup name="contribute"/>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:attributeGroup name="role"/>
|
||||
|
||||
<!-- 2.3.2 Entity -->
|
||||
<xs:attributeGroup name="entity"/>
|
||||
|
||||
<!-- 2.3.3 Date -->
|
||||
<xs:attributeGroup name="date"/>
|
||||
|
||||
<!-- 3 Meta-Metadata -->
|
||||
<xs:attributeGroup name="metaMetadata"/>
|
||||
|
||||
<!-- 3.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 3.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 3.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 3.2 Contribute
|
||||
<xs:attributeGroup name="contribute"/> -->
|
||||
|
||||
<!-- 3.2.1 Role
|
||||
<xs:attributeGroup name="role"/> -->
|
||||
|
||||
<!-- 3.2.2 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 3.2.3 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 3.3 Metadata Schema -->
|
||||
<xs:attributeGroup name="metadataSchema"/>
|
||||
|
||||
<!-- 3.4 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 4 Technical -->
|
||||
<xs:attributeGroup name="technical"/>
|
||||
|
||||
<!-- 4.1 Format -->
|
||||
<xs:attributeGroup name="format"/>
|
||||
|
||||
<!-- 4.2 Size -->
|
||||
<xs:attributeGroup name="size"/>
|
||||
|
||||
<!-- 4.3 Location -->
|
||||
<xs:attributeGroup name="location"/>
|
||||
|
||||
<!-- 4.4 Requirement -->
|
||||
<xs:attributeGroup name="requirement"/>
|
||||
|
||||
<!-- 4.4.1 OrComposite -->
|
||||
<xs:attributeGroup name="orComposite"/>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:attributeGroup name="type"/>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:attributeGroup name="name"/>
|
||||
|
||||
<!-- 4.4.1.3 Minimum Version -->
|
||||
<xs:attributeGroup name="minimumVersion"/>
|
||||
|
||||
<!-- 4.4.1.4 Maximum Version -->
|
||||
<xs:attributeGroup name="maximumVersion"/>
|
||||
|
||||
<!-- 4.5 Installation Remarks -->
|
||||
<xs:attributeGroup name="installationRemarks"/>
|
||||
|
||||
<!-- 4.6 Other Platform Requirements -->
|
||||
<xs:attributeGroup name="otherPlatformRequirements"/>
|
||||
|
||||
<!-- 4.7 Duration -->
|
||||
<xs:attributeGroup name="duration"/>
|
||||
|
||||
<!-- 5 Educational -->
|
||||
<xs:attributeGroup name="educational"/>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:attributeGroup name="interactivityType"/>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:attributeGroup name="learningResourceType"/>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:attributeGroup name="interactivityLevel"/>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:attributeGroup name="semanticDensity"/>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:attributeGroup name="intendedEndUserRole"/>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:attributeGroup name="context"/>
|
||||
|
||||
<!-- 5.7 Typical Age Range -->
|
||||
<xs:attributeGroup name="typicalAgeRange"/>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:attributeGroup name="difficulty"/>
|
||||
|
||||
<!-- 5.9 Typical Learning Time -->
|
||||
<xs:attributeGroup name="typicalLearningTime"/>
|
||||
|
||||
<!-- 5.10 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 5.11 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 6 Rights -->
|
||||
<xs:attributeGroup name="rights"/>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:attributeGroup name="cost"/>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:attributeGroup name="copyrightAndOtherRestrictions"/>
|
||||
|
||||
<!-- 6.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 7 Relation -->
|
||||
<xs:attributeGroup name="relation"/>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:attributeGroup name="kind"/>
|
||||
|
||||
<!-- 7.2 Resource -->
|
||||
<xs:attributeGroup name="resource"/>
|
||||
|
||||
<!-- 7.2.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 7.2.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 7.2.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 7.2.2 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 8 Annotation -->
|
||||
<xs:attributeGroup name="annotation"/>
|
||||
|
||||
<!-- 8.1 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 8.2 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 8.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9 Classification -->
|
||||
<xs:attributeGroup name="classification"/>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:attributeGroup name="purpose"/>
|
||||
|
||||
<!-- 9.2 Taxon Path -->
|
||||
<xs:attributeGroup name="taxonPath"/>
|
||||
|
||||
<!-- 9.2.1 Source
|
||||
<xs:attributeGroup name="source"/> -->
|
||||
|
||||
<!-- 9.2.2 Taxon -->
|
||||
<xs:attributeGroup name="taxon"/>
|
||||
|
||||
<!-- 9.2.2.1 Id -->
|
||||
<xs:attributeGroup name="id"/>
|
||||
|
||||
<!-- 9.2.2.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 9.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9.4 Keyword
|
||||
<xs:attributeGroup name="keyword"/> -->
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,147 +1,147 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
xmlns:lom="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides simple type declarations for LOM
|
||||
data elements that are defined as Vocabulary data types.
|
||||
|
||||
This component schema definition enforces that vocabulary sources and values
|
||||
are character strings, which simplifies the schema validation process for those
|
||||
applications that perform vocabulary source/value validation using
|
||||
post-schema-validation.
|
||||
|
||||
This component schema definition relaxes the validation constraints by
|
||||
allowing both sources and values to be arbitrary character strings.
|
||||
|
||||
NOTE: The absence of the enforcement of vocabulary values does not relieve a
|
||||
particular LOM XML instance from satisfying vocabulary requirements defined
|
||||
in the LOMv1.0 base schema. Applications that require the use of vocab/loose.xsd
|
||||
component XSD should enforce those vocabulary requirements by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM" schemaLocation="../lomLoose_localised.xsd"/>
|
||||
|
||||
<!-- Vocabulary data type declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="source">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structure">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevel">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="status">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="role">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMeta">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="type">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="name">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityType">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceType">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevel">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensity">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRole">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="context">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficulty">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="cost">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictions">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kind">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purpose">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
xmlns="http://ltsc.ieee.org/xsd/imscc/LOM/vocab"
|
||||
xmlns:lom="http://ltsc.ieee.org/xsd/imscc/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides simple type declarations for LOM
|
||||
data elements that are defined as Vocabulary data types.
|
||||
|
||||
This component schema definition enforces that vocabulary sources and values
|
||||
are character strings, which simplifies the schema validation process for those
|
||||
applications that perform vocabulary source/value validation using
|
||||
post-schema-validation.
|
||||
|
||||
This component schema definition relaxes the validation constraints by
|
||||
allowing both sources and values to be arbitrary character strings.
|
||||
|
||||
NOTE: The absence of the enforcement of vocabulary values does not relieve a
|
||||
particular LOM XML instance from satisfying vocabulary requirements defined
|
||||
in the LOMv1.0 base schema. Applications that require the use of vocab/loose.xsd
|
||||
component XSD should enforce those vocabulary requirements by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM" schemaLocation="../lomLoose_localised.xsd"/>
|
||||
|
||||
<!-- Vocabulary data type declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="source">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structure">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevel">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="status">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="role">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMeta">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="type">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="name">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityType">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceType">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevel">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensity">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRole">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="context">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficulty">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="cost">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictions">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kind">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purpose">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,379 +1,379 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** vocabTypes.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" xmlns:voc="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_m_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion provides global type declarations for those
|
||||
LOM data elements whose values are taken from a Vocabulary data type.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:annotation>
|
||||
<xs:documentation>This component XSD requires schema components from other
|
||||
schemas that are defined in other namespaces. These statements import the
|
||||
appropriate components. The xsi:schemaLocation attribute is used to specify
|
||||
the location of the file that contains the schema that defines the namespace.
|
||||
The xsi:schemaLocation attribute is optional and is ommitted. By definition of
|
||||
the composite schemas the appropriate namespaces and related files where those
|
||||
namespaces are defined are brought into scope. Some XML parsers may require
|
||||
these import statements to contain the optional xsi:schemaLocation attribute.</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="./unique/loose.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="./extend/custom.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" schemaLocation="./vocab/loose.xsd" />
|
||||
<!-- Vocabulary type declarations -->
|
||||
<!-- Source -->
|
||||
<xs:complexType name="sourceValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:source">
|
||||
<xs:attributeGroup ref="ag:source" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:complexType name="structureVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="structureValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="structureValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:structure">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:complexType name="aggregationLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="aggregationLevelValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="aggregationLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:aggregationLevel">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.2 Status -->
|
||||
<xs:complexType name="statusVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="statusValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="statusValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:status">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:complexType name="roleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="roleValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:role">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:complexType name="roleMetaVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="roleMetaValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleMetaValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:roleMeta">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:complexType name="typeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="typeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="typeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:type">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:complexType name="nameVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="nameValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="nameValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:name">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:complexType name="interactivityTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="interactivityTypeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityType">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:complexType name="learningResourceTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="learningResourceTypeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="learningResourceTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: learningResourceType must be 'IMS Common Cartridge'</xs:documentation>
|
||||
</xs:annotation><xs:extension base="ImsCCType">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:complexType name="interactivityLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="interactivityLevelValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityLevel">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:complexType name="semanticDensityVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="semanticDensityValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="semanticDensityValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:semanticDensity">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:complexType name="intendedEndUserRoleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="intendedEndUserRoleValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="intendedEndUserRoleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:intendedEndUserRole">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.6 Context -->
|
||||
<xs:complexType name="contextVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="contextValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="contextValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:context">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:complexType name="difficultyVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="difficultyValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="difficultyValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:difficulty">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:complexType name="costVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="costValue" />
|
||||
<xs:group ref="ex:customElements" minOccurs="0" maxOccurs="0"><xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: No custom elements are allowed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:group>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="costValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:cost">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="copyrightAndOtherRestrictionsValue" />
|
||||
<xs:group ref="ex:customElements" minOccurs="0" maxOccurs="0"><xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: No custom elements are allowed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:group>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:copyrightAndOtherRestrictions">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:complexType name="kindVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="kindValue" />
|
||||
<xs:group ref="ex:customElements" minOccurs="0" maxOccurs="0"><xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: No custom elements are allowed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:group>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="kindValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:kind">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:complexType name="purposeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="purposeValue" />
|
||||
<xs:group ref="ex:customElements" minOccurs="0" maxOccurs="0"><xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: No custom elements are allowed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:group>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="purposeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:purpose">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** vocabTypes.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ag="http://ltsc.ieee.org/xsd/imscc/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/imscc/LOM/extend" xmlns:voc="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_m_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion provides global type declarations for those
|
||||
LOM data elements whose values are taken from a Vocabulary data type.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:annotation>
|
||||
<xs:documentation>This component XSD requires schema components from other
|
||||
schemas that are defined in other namespaces. These statements import the
|
||||
appropriate components. The xsi:schemaLocation attribute is used to specify
|
||||
the location of the file that contains the schema that defines the namespace.
|
||||
The xsi:schemaLocation attribute is optional and is ommitted. By definition of
|
||||
the composite schemas the appropriate namespaces and related files where those
|
||||
namespaces are defined are brought into scope. Some XML parsers may require
|
||||
these import statements to contain the optional xsi:schemaLocation attribute.</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/unique" schemaLocation="./unique/loose.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/extend" schemaLocation="./extend/custom.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/imscc/LOM/vocab" schemaLocation="./vocab/loose.xsd" />
|
||||
<!-- Vocabulary type declarations -->
|
||||
<!-- Source -->
|
||||
<xs:complexType name="sourceValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:source">
|
||||
<xs:attributeGroup ref="ag:source" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:complexType name="structureVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="structureValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="structureValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:structure">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:complexType name="aggregationLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="aggregationLevelValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="aggregationLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:aggregationLevel">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.2 Status -->
|
||||
<xs:complexType name="statusVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="statusValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="statusValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:status">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:complexType name="roleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="roleValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:role">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:complexType name="roleMetaVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="roleMetaValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleMetaValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:roleMeta">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:complexType name="typeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="typeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="typeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:type">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:complexType name="nameVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="nameValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="nameValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:name">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:complexType name="interactivityTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="interactivityTypeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityType">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:complexType name="learningResourceTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="learningResourceTypeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="learningResourceTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: learningResourceType must be 'IMS Common Cartridge'</xs:documentation>
|
||||
</xs:annotation><xs:extension base="ImsCCType">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:complexType name="interactivityLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="interactivityLevelValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityLevel">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:complexType name="semanticDensityVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="semanticDensityValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="semanticDensityValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:semanticDensity">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:complexType name="intendedEndUserRoleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="intendedEndUserRoleValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="intendedEndUserRoleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:intendedEndUserRole">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.6 Context -->
|
||||
<xs:complexType name="contextVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="contextValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="contextValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:context">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:complexType name="difficultyVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="difficultyValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="difficultyValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:difficulty">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:complexType name="costVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="costValue" />
|
||||
<xs:group ref="ex:customElements" minOccurs="0" maxOccurs="0"><xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: No custom elements are allowed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:group>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="costValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:cost">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="copyrightAndOtherRestrictionsValue" />
|
||||
<xs:group ref="ex:customElements" minOccurs="0" maxOccurs="0"><xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: No custom elements are allowed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:group>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:copyrightAndOtherRestrictions">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:complexType name="kindVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="kindValue" />
|
||||
<xs:group ref="ex:customElements" minOccurs="0" maxOccurs="0"><xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: No custom elements are allowed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:group>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="kindValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:kind">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:complexType name="purposeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="purposeValue" />
|
||||
<xs:group ref="ex:customElements" minOccurs="0" maxOccurs="0"><xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: No custom elements are allowed.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:group>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="purposeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:purpose">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,270 +1,270 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** vocabValues.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides global type declarations for the standard
|
||||
LOMv1.0 vocabulary tokens for those LOM data elements whose values are taken from
|
||||
a Vocabulary data type.
|
||||
|
||||
This component schema defintion defines the stanard vocabulary value
|
||||
declarations as defined in the LOMv1.0 base schema. These vocabulary
|
||||
value declarations are used in conjunction with both vocab/custom.xsd and
|
||||
vocab/loose.xsd.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- LOMv1.0 base schema vocabulary source and value declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="sourceValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="LOMv1.0" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structureValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="atomic" />
|
||||
<xs:enumeration value="collection" />
|
||||
<xs:enumeration value="networked" />
|
||||
<xs:enumeration value="hierarchical" />
|
||||
<xs:enumeration value="linear" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="1" />
|
||||
<xs:enumeration value="2" />
|
||||
<xs:enumeration value="3" />
|
||||
<xs:enumeration value="4" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="statusValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="draft" />
|
||||
<xs:enumeration value="final" />
|
||||
<xs:enumeration value="revised" />
|
||||
<xs:enumeration value="unavailable" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="roleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="author" />
|
||||
<xs:enumeration value="publisher" />
|
||||
<xs:enumeration value="unknown" />
|
||||
<xs:enumeration value="initiator" />
|
||||
<xs:enumeration value="terminator" />
|
||||
<xs:enumeration value="validator" />
|
||||
<xs:enumeration value="editor" />
|
||||
<xs:enumeration value="graphical designer" />
|
||||
<xs:enumeration value="technical implementer" />
|
||||
<xs:enumeration value="content provider" />
|
||||
<xs:enumeration value="technical validator" />
|
||||
<xs:enumeration value="educational validator" />
|
||||
<xs:enumeration value="script writer" />
|
||||
<xs:enumeration value="instructional designer" />
|
||||
<xs:enumeration value="subject matter expert" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMetaValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="creator" />
|
||||
<xs:enumeration value="validator" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="typeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="operating system" />
|
||||
<xs:enumeration value="browser" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="nameValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="pc-dos" />
|
||||
<xs:enumeration value="ms-windows" />
|
||||
<xs:enumeration value="macos" />
|
||||
<xs:enumeration value="unix" />
|
||||
<xs:enumeration value="multi-os" />
|
||||
<xs:enumeration value="none" />
|
||||
<xs:enumeration value="any" />
|
||||
<xs:enumeration value="netscape communicator" />
|
||||
<xs:enumeration value="ms-internet explorer" />
|
||||
<xs:enumeration value="opera" />
|
||||
<xs:enumeration value="amaya" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="active" />
|
||||
<xs:enumeration value="expositive" />
|
||||
<xs:enumeration value="mixed" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="exercise" />
|
||||
<xs:enumeration value="simulation" />
|
||||
<xs:enumeration value="questionnaire" />
|
||||
<xs:enumeration value="diagram" />
|
||||
<xs:enumeration value="figure" />
|
||||
<xs:enumeration value="graph" />
|
||||
<xs:enumeration value="index" />
|
||||
<xs:enumeration value="slide" />
|
||||
<xs:enumeration value="table" />
|
||||
<xs:enumeration value="narrative text" />
|
||||
<xs:enumeration value="exam" />
|
||||
<xs:enumeration value="experiment" />
|
||||
<xs:enumeration value="problem statement" />
|
||||
<xs:enumeration value="self assessment" />
|
||||
<xs:enumeration value="lecture" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low" />
|
||||
<xs:enumeration value="low" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="high" />
|
||||
<xs:enumeration value="very high" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensityValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low" />
|
||||
<xs:enumeration value="low" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="high" />
|
||||
<xs:enumeration value="very high" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRoleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="teacher" />
|
||||
<xs:enumeration value="author" />
|
||||
<xs:enumeration value="learner" />
|
||||
<xs:enumeration value="manager" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="contextValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="school" />
|
||||
<xs:enumeration value="higher education" />
|
||||
<xs:enumeration value="training" />
|
||||
<xs:enumeration value="other" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficultyValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very easy" />
|
||||
<xs:enumeration value="easy" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="difficult" />
|
||||
<xs:enumeration value="very difficult" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="costValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes" />
|
||||
<xs:enumeration value="no" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictionsValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes" />
|
||||
<xs:enumeration value="no" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kindValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="ispartof" />
|
||||
<xs:enumeration value="haspart" />
|
||||
<xs:enumeration value="isversionof" />
|
||||
<xs:enumeration value="hasversion" />
|
||||
<xs:enumeration value="isformatof" />
|
||||
<xs:enumeration value="hasformat" />
|
||||
<xs:enumeration value="references" />
|
||||
<xs:enumeration value="isreferencedby" />
|
||||
<xs:enumeration value="isbasedon" />
|
||||
<xs:enumeration value="isbasisfor" />
|
||||
<xs:enumeration value="requires" />
|
||||
<xs:enumeration value="isrequiredby" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purposeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="discipline" />
|
||||
<xs:enumeration value="idea" />
|
||||
<xs:enumeration value="prerequisite" />
|
||||
<xs:enumeration value="educational objective" />
|
||||
<xs:enumeration value="accessibility restrictions" />
|
||||
<xs:enumeration value="educational level" />
|
||||
<xs:enumeration value="skill level" />
|
||||
<xs:enumeration value="security level" />
|
||||
<xs:enumeration value="competency" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** vocabValues.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/imscc/LOM" targetNamespace="http://ltsc.ieee.org/xsd/imscc/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides global type declarations for the standard
|
||||
LOMv1.0 vocabulary tokens for those LOM data elements whose values are taken from
|
||||
a Vocabulary data type.
|
||||
|
||||
This component schema defintion defines the stanard vocabulary value
|
||||
declarations as defined in the LOMv1.0 base schema. These vocabulary
|
||||
value declarations are used in conjunction with both vocab/custom.xsd and
|
||||
vocab/loose.xsd.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- LOMv1.0 base schema vocabulary source and value declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="sourceValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="LOMv1.0" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structureValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="atomic" />
|
||||
<xs:enumeration value="collection" />
|
||||
<xs:enumeration value="networked" />
|
||||
<xs:enumeration value="hierarchical" />
|
||||
<xs:enumeration value="linear" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="1" />
|
||||
<xs:enumeration value="2" />
|
||||
<xs:enumeration value="3" />
|
||||
<xs:enumeration value="4" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="statusValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="draft" />
|
||||
<xs:enumeration value="final" />
|
||||
<xs:enumeration value="revised" />
|
||||
<xs:enumeration value="unavailable" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="roleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="author" />
|
||||
<xs:enumeration value="publisher" />
|
||||
<xs:enumeration value="unknown" />
|
||||
<xs:enumeration value="initiator" />
|
||||
<xs:enumeration value="terminator" />
|
||||
<xs:enumeration value="validator" />
|
||||
<xs:enumeration value="editor" />
|
||||
<xs:enumeration value="graphical designer" />
|
||||
<xs:enumeration value="technical implementer" />
|
||||
<xs:enumeration value="content provider" />
|
||||
<xs:enumeration value="technical validator" />
|
||||
<xs:enumeration value="educational validator" />
|
||||
<xs:enumeration value="script writer" />
|
||||
<xs:enumeration value="instructional designer" />
|
||||
<xs:enumeration value="subject matter expert" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMetaValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="creator" />
|
||||
<xs:enumeration value="validator" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="typeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="operating system" />
|
||||
<xs:enumeration value="browser" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="nameValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="pc-dos" />
|
||||
<xs:enumeration value="ms-windows" />
|
||||
<xs:enumeration value="macos" />
|
||||
<xs:enumeration value="unix" />
|
||||
<xs:enumeration value="multi-os" />
|
||||
<xs:enumeration value="none" />
|
||||
<xs:enumeration value="any" />
|
||||
<xs:enumeration value="netscape communicator" />
|
||||
<xs:enumeration value="ms-internet explorer" />
|
||||
<xs:enumeration value="opera" />
|
||||
<xs:enumeration value="amaya" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="active" />
|
||||
<xs:enumeration value="expositive" />
|
||||
<xs:enumeration value="mixed" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="exercise" />
|
||||
<xs:enumeration value="simulation" />
|
||||
<xs:enumeration value="questionnaire" />
|
||||
<xs:enumeration value="diagram" />
|
||||
<xs:enumeration value="figure" />
|
||||
<xs:enumeration value="graph" />
|
||||
<xs:enumeration value="index" />
|
||||
<xs:enumeration value="slide" />
|
||||
<xs:enumeration value="table" />
|
||||
<xs:enumeration value="narrative text" />
|
||||
<xs:enumeration value="exam" />
|
||||
<xs:enumeration value="experiment" />
|
||||
<xs:enumeration value="problem statement" />
|
||||
<xs:enumeration value="self assessment" />
|
||||
<xs:enumeration value="lecture" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low" />
|
||||
<xs:enumeration value="low" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="high" />
|
||||
<xs:enumeration value="very high" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensityValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low" />
|
||||
<xs:enumeration value="low" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="high" />
|
||||
<xs:enumeration value="very high" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRoleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="teacher" />
|
||||
<xs:enumeration value="author" />
|
||||
<xs:enumeration value="learner" />
|
||||
<xs:enumeration value="manager" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="contextValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="school" />
|
||||
<xs:enumeration value="higher education" />
|
||||
<xs:enumeration value="training" />
|
||||
<xs:enumeration value="other" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficultyValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very easy" />
|
||||
<xs:enumeration value="easy" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="difficult" />
|
||||
<xs:enumeration value="very difficult" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="costValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes" />
|
||||
<xs:enumeration value="no" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictionsValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes" />
|
||||
<xs:enumeration value="no" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kindValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="ispartof" />
|
||||
<xs:enumeration value="haspart" />
|
||||
<xs:enumeration value="isversionof" />
|
||||
<xs:enumeration value="hasversion" />
|
||||
<xs:enumeration value="isformatof" />
|
||||
<xs:enumeration value="hasformat" />
|
||||
<xs:enumeration value="references" />
|
||||
<xs:enumeration value="isreferencedby" />
|
||||
<xs:enumeration value="isbasedon" />
|
||||
<xs:enumeration value="isbasisfor" />
|
||||
<xs:enumeration value="requires" />
|
||||
<xs:enumeration value="isrequiredby" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purposeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="discipline" />
|
||||
<xs:enumeration value="idea" />
|
||||
<xs:enumeration value="prerequisite" />
|
||||
<xs:enumeration value="educational objective" />
|
||||
<xs:enumeration value="accessibility restrictions" />
|
||||
<xs:enumeration value="educational level" />
|
||||
<xs:enumeration value="skill level" />
|
||||
<xs:enumeration value="security level" />
|
||||
<xs:enumeration value="competency" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/LOM" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax" />
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/LOM" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax" />
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,44 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** anyElement.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 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">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_mR_definition.xsd" />
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax" />
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** anyElement.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 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">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_mR_definition.xsd" />
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax" />
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax"/>
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides the element group declaration and the
|
||||
attribute group declaration used for extension XML elements and attributes.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:any namespace="##other" processContents="lax"/>
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,118 +1,118 @@
|
||||
<xs:schema xmlns="http://ltsc.ieee.org/xsd/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/LOM/extend" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion defines global schema data type declarations
|
||||
for data types defined in the LOMv1.0 base schema.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="../unique/loose.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="../extend/custom.xsd"/>
|
||||
<xs:include schemaLocation="elementTypes.xsd"/>
|
||||
<!-- Data type declarations -->
|
||||
<!-- CharacterString -->
|
||||
<xs:simpleType name="CharacterString">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<!-- LanguageId -->
|
||||
<xs:complexType name="LanguageId">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:language">
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- VCard -->
|
||||
<xs:complexType name="VCard">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- MimeType -->
|
||||
<xs:simpleType name="MimeType">
|
||||
<xs:restriction base="CharacterString"/>
|
||||
</xs:simpleType>
|
||||
<!-- Size -->
|
||||
<xs:simpleType name="Size">
|
||||
<xs:restriction base="xs:nonNegativeInteger"/>
|
||||
</xs:simpleType>
|
||||
<!-- LanguageString -->
|
||||
<xs:complexType name="LanguageString">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="string" type="LangString"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LangString">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attribute name="language" type="xs:language"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- DateTime -->
|
||||
<xs:complexType name="DateTime">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="dateTime" type="DateTimeValue"/>
|
||||
<xs:element name="description" type="description"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DateTimeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DateTimeString">
|
||||
<xs:attributeGroup ref="ag:DateTimeValue"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DateTimeString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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]))?)?)?)?)?)?)?"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- Duration -->
|
||||
<xs:complexType name="Duration">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="duration" type="DurationValue"/>
|
||||
<xs:element name="description" type="description"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DurationValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DurationString">
|
||||
<xs:attributeGroup ref="ag:DurationValue"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DurationString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:schema xmlns="http://ltsc.ieee.org/xsd/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/LOM/extend" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion defines global schema data type declarations
|
||||
for data types defined in the LOMv1.0 base schema.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="../unique/loose.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="../extend/custom.xsd"/>
|
||||
<xs:include schemaLocation="elementTypes.xsd"/>
|
||||
<!-- Data type declarations -->
|
||||
<!-- CharacterString -->
|
||||
<xs:simpleType name="CharacterString">
|
||||
<xs:restriction base="xs:string"/>
|
||||
</xs:simpleType>
|
||||
<!-- LanguageId -->
|
||||
<xs:complexType name="LanguageId">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:language">
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- VCard -->
|
||||
<xs:complexType name="VCard">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- MimeType -->
|
||||
<xs:simpleType name="MimeType">
|
||||
<xs:restriction base="CharacterString"/>
|
||||
</xs:simpleType>
|
||||
<!-- Size -->
|
||||
<xs:simpleType name="Size">
|
||||
<xs:restriction base="xs:nonNegativeInteger"/>
|
||||
</xs:simpleType>
|
||||
<!-- LanguageString -->
|
||||
<xs:complexType name="LanguageString">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="string" type="LangString"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LangString">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attribute name="language" type="xs:language"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- DateTime -->
|
||||
<xs:complexType name="DateTime">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="dateTime" type="DateTimeValue"/>
|
||||
<xs:element name="description" type="description"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DateTimeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DateTimeString">
|
||||
<xs:attributeGroup ref="ag:DateTimeValue"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DateTimeString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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]))?)?)?)?)?)?)?"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- Duration -->
|
||||
<xs:complexType name="Duration">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="duration" type="DurationValue"/>
|
||||
<xs:element name="description" type="description"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DurationValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DurationString">
|
||||
<xs:attributeGroup ref="ag:DurationValue"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DurationString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,43 +1,43 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defintion provides the element name declaration for the
|
||||
root element for all LOM XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Element declarations -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:element name="lom" type="lom">
|
||||
<xs:unique name="lomUnique">
|
||||
<xs:selector xpath="*"/>
|
||||
<xs:field xpath="@uniqueElementName"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defintion provides the element name declaration for the
|
||||
root element for all LOM XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Element declarations -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:element name="lom" type="lom">
|
||||
<xs:unique name="lomUnique">
|
||||
<xs:selector xpath="*"/>
|
||||
<xs:field xpath="@uniqueElementName"/>
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,355 +1,355 @@
|
||||
<xs:schema xmlns="http://ltsc.ieee.org/xsd/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/LOM/extend" xmlns:voc="http://ltsc.ieee.org/xsd/LOM/vocab" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion provides global type declarations for those
|
||||
LOM data elements whose values are taken from a Vocabulary data type.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:annotation>
|
||||
<xs:documentation>This component XSD requires schema components from other
|
||||
schemas that are defined in other namespaces. These statements import the
|
||||
appropriate components. The xsi:schemaLocation attribute is used to specify
|
||||
the location of the file that contains the schema that defines the namespace.
|
||||
The xsi:schemaLocation attribute is optional and is ommitted. By definition of
|
||||
the composite schemas the appropriate namespaces and related files where those
|
||||
namespaces are defined are brought into scope. Some XML parsers may require
|
||||
these import statements to contain the optional xsi:schemaLocation attribute.</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="../unique/loose.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="../extend/custom.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab" schemaLocation="../vocab/loose.xsd"/>
|
||||
<!-- Vocabulary type declarations -->
|
||||
<!-- Source -->
|
||||
<xs:complexType name="sourceValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:source">
|
||||
<xs:attributeGroup ref="ag:source"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:complexType name="structureVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="structureValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="structureValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:structure">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:complexType name="aggregationLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="aggregationLevelValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="aggregationLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:aggregationLevel">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.2 Status -->
|
||||
<xs:complexType name="statusVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="statusValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="statusValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:status">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:complexType name="roleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="roleValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:role">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:complexType name="roleMetaVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="roleMetaValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleMetaValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:roleMeta">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:complexType name="typeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="typeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="typeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:type">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:complexType name="nameVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="nameValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="nameValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:name">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:complexType name="interactivityTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="interactivityTypeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityType">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:complexType name="learningResourceTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="learningResourceTypeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="learningResourceTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:learningResourceType">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:complexType name="interactivityLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="interactivityLevelValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityLevel">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:complexType name="semanticDensityVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="semanticDensityValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="semanticDensityValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:semanticDensity">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:complexType name="intendedEndUserRoleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="intendedEndUserRoleValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="intendedEndUserRoleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:intendedEndUserRole">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.6 Context -->
|
||||
<xs:complexType name="contextVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="contextValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="contextValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:context">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:complexType name="difficultyVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="difficultyValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="difficultyValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:difficulty">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:complexType name="costVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="costValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="costValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:cost">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="copyrightAndOtherRestrictionsValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:copyrightAndOtherRestrictions">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:complexType name="kindVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="kindValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="kindValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:kind">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:complexType name="purposeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="purposeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="purposeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:purpose">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:schema xmlns="http://ltsc.ieee.org/xsd/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/LOM/unique" xmlns:ex="http://ltsc.ieee.org/xsd/LOM/extend" xmlns:voc="http://ltsc.ieee.org/xsd/LOM/vocab" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion provides global type declarations for those
|
||||
LOM data elements whose values are taken from a Vocabulary data type.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:annotation>
|
||||
<xs:documentation>This component XSD requires schema components from other
|
||||
schemas that are defined in other namespaces. These statements import the
|
||||
appropriate components. The xsi:schemaLocation attribute is used to specify
|
||||
the location of the file that contains the schema that defines the namespace.
|
||||
The xsi:schemaLocation attribute is optional and is ommitted. By definition of
|
||||
the composite schemas the appropriate namespaces and related files where those
|
||||
namespaces are defined are brought into scope. Some XML parsers may require
|
||||
these import statements to contain the optional xsi:schemaLocation attribute.</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="../unique/loose.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="../extend/custom.xsd"/>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab" schemaLocation="../vocab/loose.xsd"/>
|
||||
<!-- Vocabulary type declarations -->
|
||||
<!-- Source -->
|
||||
<xs:complexType name="sourceValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:source">
|
||||
<xs:attributeGroup ref="ag:source"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:complexType name="structureVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="structureValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="structureValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:structure">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:complexType name="aggregationLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="aggregationLevelValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="aggregationLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:aggregationLevel">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.2 Status -->
|
||||
<xs:complexType name="statusVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="statusValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="statusValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:status">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:complexType name="roleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="roleValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:role">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:complexType name="roleMetaVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="roleMetaValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleMetaValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:roleMeta">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:complexType name="typeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="typeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="typeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:type">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:complexType name="nameVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="nameValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="nameValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:name">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:complexType name="interactivityTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="interactivityTypeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityType">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:complexType name="learningResourceTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="learningResourceTypeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="learningResourceTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:learningResourceType">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:complexType name="interactivityLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="interactivityLevelValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityLevel">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:complexType name="semanticDensityVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="semanticDensityValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="semanticDensityValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:semanticDensity">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:complexType name="intendedEndUserRoleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="intendedEndUserRoleValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="intendedEndUserRoleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:intendedEndUserRole">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.6 Context -->
|
||||
<xs:complexType name="contextVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="contextValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="contextValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:context">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:complexType name="difficultyVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="difficultyValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="difficultyValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:difficulty">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:complexType name="costVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="costValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="costValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:cost">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="copyrightAndOtherRestrictionsValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:copyrightAndOtherRestrictions">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:complexType name="kindVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="kindValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="kindValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:kind">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:complexType name="purposeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue"/>
|
||||
<xs:element name="value" type="purposeValue"/>
|
||||
<xs:group ref="ex:customElements"/>
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="purposeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:purpose">
|
||||
<xs:attributeGroup ref="ag:value"/>
|
||||
<xs:attributeGroup ref="ex:customAttributes"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
@@ -1,266 +1,266 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides global type declarations for the standard
|
||||
LOMv1.0 vocabulary tokens for those LOM data elements whose values are taken from
|
||||
a Vocabulary data type.
|
||||
|
||||
This component schema defintion defines the stanard vocabulary value
|
||||
declarations as defined in the LOMv1.0 base schema. These vocabulary
|
||||
value declarations are used in conjunction with both vocab/custom.xsd and
|
||||
vocab/loose.xsd.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- LOMv1.0 base schema vocabulary source and value declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="sourceValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="LOMv1.0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structureValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="atomic"/>
|
||||
<xs:enumeration value="collection"/>
|
||||
<xs:enumeration value="networked"/>
|
||||
<xs:enumeration value="hierarchical"/>
|
||||
<xs:enumeration value="linear"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="1"/>
|
||||
<xs:enumeration value="2"/>
|
||||
<xs:enumeration value="3"/>
|
||||
<xs:enumeration value="4"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="statusValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="draft"/>
|
||||
<xs:enumeration value="final"/>
|
||||
<xs:enumeration value="revised"/>
|
||||
<xs:enumeration value="unavailable"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="roleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="author"/>
|
||||
<xs:enumeration value="publisher"/>
|
||||
<xs:enumeration value="unknown"/>
|
||||
<xs:enumeration value="initiator"/>
|
||||
<xs:enumeration value="terminator"/>
|
||||
<xs:enumeration value="validator"/>
|
||||
<xs:enumeration value="editor"/>
|
||||
<xs:enumeration value="graphical designer"/>
|
||||
<xs:enumeration value="technical implementer"/>
|
||||
<xs:enumeration value="content provider"/>
|
||||
<xs:enumeration value="technical validator"/>
|
||||
<xs:enumeration value="educational validator"/>
|
||||
<xs:enumeration value="script writer"/>
|
||||
<xs:enumeration value="instructional designer"/>
|
||||
<xs:enumeration value="subject matter expert"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMetaValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="creator"/>
|
||||
<xs:enumeration value="validator"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="typeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="operating system"/>
|
||||
<xs:enumeration value="browser"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="nameValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="pc-dos"/>
|
||||
<xs:enumeration value="ms-windows"/>
|
||||
<xs:enumeration value="macos"/>
|
||||
<xs:enumeration value="unix"/>
|
||||
<xs:enumeration value="multi-os"/>
|
||||
<xs:enumeration value="none"/>
|
||||
<xs:enumeration value="any"/>
|
||||
<xs:enumeration value="netscape communicator"/>
|
||||
<xs:enumeration value="ms-internet explorer"/>
|
||||
<xs:enumeration value="opera"/>
|
||||
<xs:enumeration value="amaya"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="active"/>
|
||||
<xs:enumeration value="expositive"/>
|
||||
<xs:enumeration value="mixed"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="exercise"/>
|
||||
<xs:enumeration value="simulation"/>
|
||||
<xs:enumeration value="questionnaire"/>
|
||||
<xs:enumeration value="diagram"/>
|
||||
<xs:enumeration value="figure"/>
|
||||
<xs:enumeration value="graph"/>
|
||||
<xs:enumeration value="index"/>
|
||||
<xs:enumeration value="slide"/>
|
||||
<xs:enumeration value="table"/>
|
||||
<xs:enumeration value="narrative text"/>
|
||||
<xs:enumeration value="exam"/>
|
||||
<xs:enumeration value="experiment"/>
|
||||
<xs:enumeration value="problem statement"/>
|
||||
<xs:enumeration value="self assessment"/>
|
||||
<xs:enumeration value="lecture"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low"/>
|
||||
<xs:enumeration value="low"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="high"/>
|
||||
<xs:enumeration value="very high"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensityValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low"/>
|
||||
<xs:enumeration value="low"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="high"/>
|
||||
<xs:enumeration value="very high"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRoleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="teacher"/>
|
||||
<xs:enumeration value="author"/>
|
||||
<xs:enumeration value="learner"/>
|
||||
<xs:enumeration value="manager"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="contextValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="school"/>
|
||||
<xs:enumeration value="higher education"/>
|
||||
<xs:enumeration value="training"/>
|
||||
<xs:enumeration value="other"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficultyValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very easy"/>
|
||||
<xs:enumeration value="easy"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="difficult"/>
|
||||
<xs:enumeration value="very difficult"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="costValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes"/>
|
||||
<xs:enumeration value="no"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictionsValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes"/>
|
||||
<xs:enumeration value="no"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kindValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="ispartof"/>
|
||||
<xs:enumeration value="haspart"/>
|
||||
<xs:enumeration value="isversionof"/>
|
||||
<xs:enumeration value="hasversion"/>
|
||||
<xs:enumeration value="isformatof"/>
|
||||
<xs:enumeration value="hasformat"/>
|
||||
<xs:enumeration value="references"/>
|
||||
<xs:enumeration value="isreferencedby"/>
|
||||
<xs:enumeration value="isbasedon"/>
|
||||
<xs:enumeration value="isbasisfor"/>
|
||||
<xs:enumeration value="requires"/>
|
||||
<xs:enumeration value="isrequiredby"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purposeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="discipline"/>
|
||||
<xs:enumeration value="idea"/>
|
||||
<xs:enumeration value="prerequisite"/>
|
||||
<xs:enumeration value="educational objective"/>
|
||||
<xs:enumeration value="accessibility restrictions"/>
|
||||
<xs:enumeration value="educational level"/>
|
||||
<xs:enumeration value="skill level"/>
|
||||
<xs:enumeration value="security level"/>
|
||||
<xs:enumeration value="competency"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides global type declarations for the standard
|
||||
LOMv1.0 vocabulary tokens for those LOM data elements whose values are taken from
|
||||
a Vocabulary data type.
|
||||
|
||||
This component schema defintion defines the stanard vocabulary value
|
||||
declarations as defined in the LOMv1.0 base schema. These vocabulary
|
||||
value declarations are used in conjunction with both vocab/custom.xsd and
|
||||
vocab/loose.xsd.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- LOMv1.0 base schema vocabulary source and value declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="sourceValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="LOMv1.0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structureValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="atomic"/>
|
||||
<xs:enumeration value="collection"/>
|
||||
<xs:enumeration value="networked"/>
|
||||
<xs:enumeration value="hierarchical"/>
|
||||
<xs:enumeration value="linear"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="1"/>
|
||||
<xs:enumeration value="2"/>
|
||||
<xs:enumeration value="3"/>
|
||||
<xs:enumeration value="4"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="statusValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="draft"/>
|
||||
<xs:enumeration value="final"/>
|
||||
<xs:enumeration value="revised"/>
|
||||
<xs:enumeration value="unavailable"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="roleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="author"/>
|
||||
<xs:enumeration value="publisher"/>
|
||||
<xs:enumeration value="unknown"/>
|
||||
<xs:enumeration value="initiator"/>
|
||||
<xs:enumeration value="terminator"/>
|
||||
<xs:enumeration value="validator"/>
|
||||
<xs:enumeration value="editor"/>
|
||||
<xs:enumeration value="graphical designer"/>
|
||||
<xs:enumeration value="technical implementer"/>
|
||||
<xs:enumeration value="content provider"/>
|
||||
<xs:enumeration value="technical validator"/>
|
||||
<xs:enumeration value="educational validator"/>
|
||||
<xs:enumeration value="script writer"/>
|
||||
<xs:enumeration value="instructional designer"/>
|
||||
<xs:enumeration value="subject matter expert"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMetaValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="creator"/>
|
||||
<xs:enumeration value="validator"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="typeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="operating system"/>
|
||||
<xs:enumeration value="browser"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="nameValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="pc-dos"/>
|
||||
<xs:enumeration value="ms-windows"/>
|
||||
<xs:enumeration value="macos"/>
|
||||
<xs:enumeration value="unix"/>
|
||||
<xs:enumeration value="multi-os"/>
|
||||
<xs:enumeration value="none"/>
|
||||
<xs:enumeration value="any"/>
|
||||
<xs:enumeration value="netscape communicator"/>
|
||||
<xs:enumeration value="ms-internet explorer"/>
|
||||
<xs:enumeration value="opera"/>
|
||||
<xs:enumeration value="amaya"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="active"/>
|
||||
<xs:enumeration value="expositive"/>
|
||||
<xs:enumeration value="mixed"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="exercise"/>
|
||||
<xs:enumeration value="simulation"/>
|
||||
<xs:enumeration value="questionnaire"/>
|
||||
<xs:enumeration value="diagram"/>
|
||||
<xs:enumeration value="figure"/>
|
||||
<xs:enumeration value="graph"/>
|
||||
<xs:enumeration value="index"/>
|
||||
<xs:enumeration value="slide"/>
|
||||
<xs:enumeration value="table"/>
|
||||
<xs:enumeration value="narrative text"/>
|
||||
<xs:enumeration value="exam"/>
|
||||
<xs:enumeration value="experiment"/>
|
||||
<xs:enumeration value="problem statement"/>
|
||||
<xs:enumeration value="self assessment"/>
|
||||
<xs:enumeration value="lecture"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low"/>
|
||||
<xs:enumeration value="low"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="high"/>
|
||||
<xs:enumeration value="very high"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensityValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low"/>
|
||||
<xs:enumeration value="low"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="high"/>
|
||||
<xs:enumeration value="very high"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRoleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="teacher"/>
|
||||
<xs:enumeration value="author"/>
|
||||
<xs:enumeration value="learner"/>
|
||||
<xs:enumeration value="manager"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="contextValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="school"/>
|
||||
<xs:enumeration value="higher education"/>
|
||||
<xs:enumeration value="training"/>
|
||||
<xs:enumeration value="other"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficultyValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very easy"/>
|
||||
<xs:enumeration value="easy"/>
|
||||
<xs:enumeration value="medium"/>
|
||||
<xs:enumeration value="difficult"/>
|
||||
<xs:enumeration value="very difficult"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="costValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes"/>
|
||||
<xs:enumeration value="no"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictionsValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes"/>
|
||||
<xs:enumeration value="no"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kindValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="ispartof"/>
|
||||
<xs:enumeration value="haspart"/>
|
||||
<xs:enumeration value="isversionof"/>
|
||||
<xs:enumeration value="hasversion"/>
|
||||
<xs:enumeration value="isformatof"/>
|
||||
<xs:enumeration value="hasformat"/>
|
||||
<xs:enumeration value="references"/>
|
||||
<xs:enumeration value="isreferencedby"/>
|
||||
<xs:enumeration value="isbasedon"/>
|
||||
<xs:enumeration value="isbasisfor"/>
|
||||
<xs:enumeration value="requires"/>
|
||||
<xs:enumeration value="isrequiredby"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purposeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="discipline"/>
|
||||
<xs:enumeration value="idea"/>
|
||||
<xs:enumeration value="prerequisite"/>
|
||||
<xs:enumeration value="educational objective"/>
|
||||
<xs:enumeration value="accessibility restrictions"/>
|
||||
<xs:enumeration value="educational level"/>
|
||||
<xs:enumeration value="skill level"/>
|
||||
<xs:enumeration value="security level"/>
|
||||
<xs:enumeration value="competency"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,127 +1,127 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** dataTypes.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<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">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_mR_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion defines global schema data type declarations
|
||||
for data types defined in the LOMv1.0 base schema.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="./unique/loose.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="./extend/custom.xsd" />
|
||||
<xs:include schemaLocation="elementTypes_localised.xsd" />
|
||||
<!-- Data type declarations -->
|
||||
<!-- CharacterString -->
|
||||
<xs:simpleType name="CharacterString">
|
||||
<xs:restriction base="xs:string" />
|
||||
</xs:simpleType>
|
||||
<!-- LanguageId -->
|
||||
<xs:complexType name="LanguageId">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:language">
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- VCard -->
|
||||
<xs:complexType name="VCard">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- MimeType -->
|
||||
<xs:simpleType name="MimeType">
|
||||
<xs:restriction base="CharacterString" />
|
||||
</xs:simpleType>
|
||||
<!-- Size -->
|
||||
<xs:simpleType name="Size">
|
||||
<xs:restriction base="xs:nonNegativeInteger" />
|
||||
</xs:simpleType>
|
||||
<!-- LanguageString -->
|
||||
<xs:complexType name="LanguageString">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="string" type="LangString" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LangString">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attribute name="language" type="xs:language" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- DateTime -->
|
||||
<xs:complexType name="DateTime">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="dateTime" type="DateTimeValue" />
|
||||
<xs:element name="description" type="description" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DateTimeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DateTimeString">
|
||||
<xs:attributeGroup ref="ag:DateTimeValue" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DateTimeString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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]))?)?)?)?)?)?)?" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- Duration -->
|
||||
<xs:complexType name="Duration">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="duration" type="DurationValue" />
|
||||
<xs:element name="description" type="description" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DurationValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DurationString">
|
||||
<xs:attributeGroup ref="ag:DurationValue" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DurationString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** dataTypes.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<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">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_mR_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion defines global schema data type declarations
|
||||
for data types defined in the LOMv1.0 base schema.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="./unique/loose.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="./extend/custom.xsd" />
|
||||
<xs:include schemaLocation="elementTypes_localised.xsd" />
|
||||
<!-- Data type declarations -->
|
||||
<!-- CharacterString -->
|
||||
<xs:simpleType name="CharacterString">
|
||||
<xs:restriction base="xs:string" />
|
||||
</xs:simpleType>
|
||||
<!-- LanguageId -->
|
||||
<xs:complexType name="LanguageId">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:language">
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- VCard -->
|
||||
<xs:complexType name="VCard">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- MimeType -->
|
||||
<xs:simpleType name="MimeType">
|
||||
<xs:restriction base="CharacterString" />
|
||||
</xs:simpleType>
|
||||
<!-- Size -->
|
||||
<xs:simpleType name="Size">
|
||||
<xs:restriction base="xs:nonNegativeInteger" />
|
||||
</xs:simpleType>
|
||||
<!-- LanguageString -->
|
||||
<xs:complexType name="LanguageString">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="string" type="LangString" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="LangString">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="CharacterString">
|
||||
<xs:attribute name="language" type="xs:language" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- DateTime -->
|
||||
<xs:complexType name="DateTime">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="dateTime" type="DateTimeValue" />
|
||||
<xs:element name="description" type="description" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DateTimeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DateTimeString">
|
||||
<xs:attributeGroup ref="ag:DateTimeValue" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DateTimeString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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]))?)?)?)?)?)?)?" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- Duration -->
|
||||
<xs:complexType name="Duration">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="duration" type="DurationValue" />
|
||||
<xs:element name="description" type="description" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="DurationValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="DurationString">
|
||||
<xs:attributeGroup ref="ag:DurationValue" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- Regular expresion from Christian Klaue -->
|
||||
<xs:simpleType name="DurationString">
|
||||
<xs:restriction base="CharacterString">
|
||||
<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}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,52 +1,52 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM/extend"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM/extend"
|
||||
xmlns:lom="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defines the XML Schema content model groups customElements
|
||||
and customAttributes to support validation of extension XML elements and attributes.
|
||||
|
||||
This component XSD should be used if extensions are to be supported in LOM
|
||||
XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM" schemaLocation="../lomLoose_localised.xsd"/>
|
||||
|
||||
<!-- Model group declarations -->
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:group ref="lom:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
<xs:attributeGroup name="customAttributes">
|
||||
<xs:anyAttribute namespace="##other" processContents="lax" />
|
||||
</xs:attributeGroup>
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM/extend"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM/extend"
|
||||
xmlns:lom="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defines the XML Schema content model groups customElements
|
||||
and customAttributes to support validation of extension XML elements and attributes.
|
||||
|
||||
This component XSD should be used if extensions are to be supported in LOM
|
||||
XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM" schemaLocation="../lomLoose_localised.xsd"/>
|
||||
|
||||
<!-- Model group declarations -->
|
||||
|
||||
<xs:group name="customElements">
|
||||
<xs:choice>
|
||||
<xs:group ref="lom:customElements"/>
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
<xs:attributeGroup name="customAttributes">
|
||||
<xs:anyAttribute namespace="##other" processContents="lax" />
|
||||
</xs:attributeGroup>
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,34 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:voc="http://ltsc.ieee.org/xsd/LOM/vocab" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ltsc.ieee.org/xsd/LOM" targetNamespace="http://ltsc.ieee.org/xsd/LOM">
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab" schemaLocation="vocab/loose.xsd"/>
|
||||
<!--****************************************************************************************-->
|
||||
<!--** Definition document - this document holds AP defined simpleType elements that have **-->
|
||||
<!--** been referenced through a type attribute in one of the modified, resultant schema. **-->
|
||||
<!--****************************************************************************************-->
|
||||
<xs:simpleType name="RolesValues">
|
||||
<xs:restriction base="voc:intendedEndUserRole">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="Learner" />
|
||||
<xs:enumeration value="Instructor" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="RoleVocab">
|
||||
<xs:restriction base="voc:source">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="IMSGLC_CC_Rolesv1p0" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="HEContext">
|
||||
<xs:restriction base="voc:context">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="higher education" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="SourceIEELOM">
|
||||
<xs:restriction base="voc:source">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="LOMv1.0" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xsd:schema>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:voc="http://ltsc.ieee.org/xsd/LOM/vocab" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ltsc.ieee.org/xsd/LOM" targetNamespace="http://ltsc.ieee.org/xsd/LOM">
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab" schemaLocation="vocab/loose.xsd"/>
|
||||
<!--****************************************************************************************-->
|
||||
<!--** Definition document - this document holds AP defined simpleType elements that have **-->
|
||||
<!--** been referenced through a type attribute in one of the modified, resultant schema. **-->
|
||||
<!--****************************************************************************************-->
|
||||
<xs:simpleType name="RolesValues">
|
||||
<xs:restriction base="voc:intendedEndUserRole">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="Learner" />
|
||||
<xs:enumeration value="Instructor" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="RoleVocab">
|
||||
<xs:restriction base="voc:source">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="IMSGLC_CC_Rolesv1p0" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="HEContext">
|
||||
<xs:restriction base="voc:context">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="higher education" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="SourceIEELOM">
|
||||
<xs:restriction base="voc:source">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="LOMv1.0" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xsd:schema>
|
||||
|
||||
|
||||
@@ -1,71 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/LOM/unique" xmlns:voc="http://ltsc.ieee.org/xsd/LOM/vocab" xmlns:ex="http://ltsc.ieee.org/xsd/LOM/extend" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file represents a composite schema for validating
|
||||
LOM XML Instances. This file is built by default to represent a
|
||||
composite schema for validation of the following:
|
||||
|
||||
1) The use of LOMv1.0 base schema (i.e., 1484.12.1-2002) vocabulary
|
||||
source/value pairs only
|
||||
2) Uniqueness constraints defined by LOMv1.0 base schema
|
||||
3) No existenace of any defined extensions:
|
||||
LOMv1.0 base schema XML element extension,
|
||||
LOMv1.0 base schema XML attribute extension and
|
||||
LOMv1.0 base schema vocabulary data type extension
|
||||
|
||||
Alternative composite schemas can be assembled by selecting
|
||||
from the various alternative component schema listed below.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:include schemaLocation="common/anyElement.xsd" />
|
||||
<!-- LOM data element uniqueness constraints: use one of the following -->
|
||||
<!-- Use unique/loose.xsd to relax element uniqueness constraints -->
|
||||
<!-- Use unique/strict.xsd to enforce element uniqueness constraints -->
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/LOM" xmlns:ag="http://ltsc.ieee.org/xsd/LOM/unique" xmlns:voc="http://ltsc.ieee.org/xsd/LOM/vocab" xmlns:ex="http://ltsc.ieee.org/xsd/LOM/extend" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file represents a composite schema for validating
|
||||
LOM XML Instances. This file is built by default to represent a
|
||||
composite schema for validation of the following:
|
||||
|
||||
1) The use of LOMv1.0 base schema (i.e., 1484.12.1-2002) vocabulary
|
||||
source/value pairs only
|
||||
2) Uniqueness constraints defined by LOMv1.0 base schema
|
||||
3) No existenace of any defined extensions:
|
||||
LOMv1.0 base schema XML element extension,
|
||||
LOMv1.0 base schema XML attribute extension and
|
||||
LOMv1.0 base schema vocabulary data type extension
|
||||
|
||||
Alternative composite schemas can be assembled by selecting
|
||||
from the various alternative component schema listed below.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:include schemaLocation="common/anyElement.xsd" />
|
||||
<!-- LOM data element uniqueness constraints: use one of the following -->
|
||||
<!-- Use unique/loose.xsd to relax element uniqueness constraints -->
|
||||
<!-- Use unique/strict.xsd to enforce element uniqueness constraints -->
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique"
|
||||
schemaLocation="unique/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="unique/loose.xsd" />
|
||||
|
||||
<!-- Vocabulary value validation: use one of the following -->
|
||||
<!-- Use vocab/loose.xsd to relax vocabulary value constraints -->
|
||||
<!-- Use vocab/strict.xsd to enforce the LOMv1.0 base schema vocabulary values -->
|
||||
<!-- Use vocab/custom.xsd to enforce custom vocabulary values -->
|
||||
schemaLocation="unique/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="unique/loose.xsd" />
|
||||
|
||||
<!-- Vocabulary value validation: use one of the following -->
|
||||
<!-- Use vocab/loose.xsd to relax vocabulary value constraints -->
|
||||
<!-- Use vocab/strict.xsd to enforce the LOMv1.0 base schema vocabulary values -->
|
||||
<!-- Use vocab/custom.xsd to enforce custom vocabulary values -->
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab"
|
||||
schemaLocation="vocab/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab" schemaLocation="vocab/loose.xsd" />
|
||||
|
||||
schemaLocation="vocab/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab" schemaLocation="vocab/loose.xsd" />
|
||||
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab"
|
||||
schemaLocation="vocab/custom.xsd"/> -->
|
||||
<!-- Extension elements/attributes support: use one of the following -->
|
||||
<!-- Use extend/strict.xsd to enforce no element/attribute extension -->
|
||||
<!-- Use extend/custom.xsd to allow element/attribute extension -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="extend/custom.xsd" />
|
||||
|
||||
schemaLocation="vocab/custom.xsd"/> -->
|
||||
<!-- Extension elements/attributes support: use one of the following -->
|
||||
<!-- Use extend/strict.xsd to enforce no element/attribute extension -->
|
||||
<!-- Use extend/custom.xsd to allow element/attribute extension -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="extend/custom.xsd" />
|
||||
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend"
|
||||
schemaLocation="extend/custom.xsd"/> -->
|
||||
<xs:include schemaLocation="common/dataTypes.xsd" />
|
||||
<xs:include schemaLocation="common/elementNames.xsd" />
|
||||
<xs:include schemaLocation="common/elementTypes.xsd" />
|
||||
<xs:include schemaLocation="common/rootElement.xsd" />
|
||||
<xs:include schemaLocation="common/vocabValues.xsd" />
|
||||
<xs:include schemaLocation="common/vocabTypes.xsd" />
|
||||
</xs:schema>
|
||||
schemaLocation="extend/custom.xsd"/> -->
|
||||
<xs:include schemaLocation="common/dataTypes.xsd" />
|
||||
<xs:include schemaLocation="common/elementNames.xsd" />
|
||||
<xs:include schemaLocation="common/elementTypes.xsd" />
|
||||
<xs:include schemaLocation="common/rootElement.xsd" />
|
||||
<xs:include schemaLocation="common/vocabValues.xsd" />
|
||||
<xs:include schemaLocation="common/vocabTypes.xsd" />
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,68 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.ascc.net/xml/schematron">
|
||||
<ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsd" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
|
||||
<ns prefix="ac" uri="http://iwm.uni-koblenz.de/xsd/tel_addc_v1p1" />
|
||||
<ns prefix="ims" uri="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" />
|
||||
<!--***********************************************************************************************-->
|
||||
<!--** Constraints document - this document holds Schematron rules that have been generated from **-->
|
||||
<!--** AP condition and assertion elements. IMPORTANT: If this document exists, it MUST be **-->
|
||||
<!--** used in the validation of instances derived from the resultant schema - failure to do so **-->
|
||||
<!--** can result in an instance that does not conform to either the base schema or the **-->
|
||||
<!--** Application Profile. **-->
|
||||
<!--***********************************************************************************************-->
|
||||
<pattern name="pattern_1">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref) and not (count(../item)=0)">Assertion failed for pattern_1. An Item object which represents a folder is indicated by the absence of an IdentifierRef characteristic object. Folder Items support unlimited nesting of other folder Items and learning object link Items. Learning Application Resource Item objects may be nested by folder Item object but may not nest other folder or Learning Application resource Item objects.(#S04)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_2">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref) and (../../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current() = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_2. A Resource object which is a Learning Object Web Content may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_3">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item) and (@isvisible='false') and not (count(./item)=count(./item[@isvisible='false']))">Assertion failed for pattern_3. If an item is invisible, its descendants must be invisible too.(#S02)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_4">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsdt_xmlv1p0') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier or current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_4. A Resource object which is a Discussion Topic associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S12)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_5">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_5.
|
||||
The test was: .
|
||||
The context was: ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_6">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') and not ((current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier) or (current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier))">Assertion failed for pattern_6. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_7">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='webcontent' or ./@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and ./@identifier = //item/@identifierref) and not (count(./@href)=1)">Assertion failed for pattern_7. If a cartridge web content or associated content resource is linked from a Learning Application Object link Item object it must have an Href characteristic object which represents the launchable resource.(#S05)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_8">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imsdt_xmlv1p0') and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_8. For Discussion Topic Resources the Resource object must contain a single File object which references the Discussion Topic descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imsdt_v1p0 schema. It must not have any href attribute.(#S06)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_9">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imswl_xmlv1p0') and not (count(./file)=1 and count(./dependency)=0 and count(./@href)=0)">Assertion failed for pattern_9. For Web Link Resources the Resource object must contain a single File object which references the Web Link descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imswl_v1p0 schema. It must contain neither Dependency objects nor an href attribute.(#S07)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_10">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank')) and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_10. For Assessment or Question Bank Resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.xdm. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
</schema>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.ascc.net/xml/schematron">
|
||||
<ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsd" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
|
||||
<ns prefix="ac" uri="http://iwm.uni-koblenz.de/xsd/tel_addc_v1p1" />
|
||||
<ns prefix="ims" uri="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" />
|
||||
<!--***********************************************************************************************-->
|
||||
<!--** Constraints document - this document holds Schematron rules that have been generated from **-->
|
||||
<!--** AP condition and assertion elements. IMPORTANT: If this document exists, it MUST be **-->
|
||||
<!--** used in the validation of instances derived from the resultant schema - failure to do so **-->
|
||||
<!--** can result in an instance that does not conform to either the base schema or the **-->
|
||||
<!--** Application Profile. **-->
|
||||
<!--***********************************************************************************************-->
|
||||
<pattern name="pattern_1">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref) and not (count(../item)=0)">Assertion failed for pattern_1. An Item object which represents a folder is indicated by the absence of an IdentifierRef characteristic object. Folder Items support unlimited nesting of other folder Items and learning object link Items. Learning Application Resource Item objects may be nested by folder Item object but may not nest other folder or Learning Application resource Item objects.(#S04)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_2">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref) and (../../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current() = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_2. A Resource object which is a Learning Object Web Content may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_3">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item) and (@isvisible='false') and not (count(./item)=count(./item[@isvisible='false']))">Assertion failed for pattern_3. If an item is invisible, its descendants must be invisible too.(#S02)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_4">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsdt_xmlv1p0') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier or current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_4. A Resource object which is a Discussion Topic associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S12)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_5">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_5.
|
||||
The test was: .
|
||||
The context was: ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_6">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') and not ((current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier) or (current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier))">Assertion failed for pattern_6. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_7">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='webcontent' or ./@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and ./@identifier = //item/@identifierref) and not (count(./@href)=1)">Assertion failed for pattern_7. If a cartridge web content or associated content resource is linked from a Learning Application Object link Item object it must have an Href characteristic object which represents the launchable resource.(#S05)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_8">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imsdt_xmlv1p0') and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_8. For Discussion Topic Resources the Resource object must contain a single File object which references the Discussion Topic descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imsdt_v1p0 schema. It must not have any href attribute.(#S06)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_9">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imswl_xmlv1p0') and not (count(./file)=1 and count(./dependency)=0 and count(./@href)=0)">Assertion failed for pattern_9. For Web Link Resources the Resource object must contain a single File object which references the Web Link descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imswl_v1p0 schema. It must contain neither Dependency objects nor an href attribute.(#S07)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_10">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank')) and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_10. For Assessment or Question Bank Resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.xdm. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
</schema>
|
||||
|
||||
|
||||
@@ -1,79 +1,79 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** lomLoose_localised.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ag="http://ltsc.ieee.org/xsd/LOM/unique" xmlns:voc="http://ltsc.ieee.org/xsd/LOM/vocab" xmlns:ex="http://ltsc.ieee.org/xsd/LOM/extend" xmlns="http://ltsc.ieee.org/xsd/LOM" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_mR_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file represents a composite schema for validating
|
||||
LOM XML Instances. This file is built by default to represent a
|
||||
composite schema for validation of the following:
|
||||
|
||||
1) The use of LOMv1.0 base schema (i.e., 1484.12.1-2002) vocabulary
|
||||
source/value pairs only
|
||||
2) Uniqueness constraints defined by LOMv1.0 base schema
|
||||
3) No existenace of any defined extensions:
|
||||
LOMv1.0 base schema XML element extension,
|
||||
LOMv1.0 base schema XML attribute extension and
|
||||
LOMv1.0 base schema vocabulary data type extension
|
||||
|
||||
Alternative composite schemas can be assembled by selecting
|
||||
from the various alternative component schema listed below.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:include schemaLocation="anyElement_localised.xsd" />
|
||||
<!-- LOM data element uniqueness constraints: use one of the following -->
|
||||
<!-- Use unique/loose.xsd to relax element uniqueness constraints -->
|
||||
<!-- Use unique/strict.xsd to enforce element uniqueness constraints -->
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique"
|
||||
schemaLocation="unique/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="unique/loose.xsd" />
|
||||
|
||||
<!-- Vocabulary value validation: use one of the following -->
|
||||
<!-- Use vocab/loose.xsd to relax vocabulary value constraints -->
|
||||
<!-- Use vocab/strict.xsd to enforce the LOMv1.0 base schema vocabulary values -->
|
||||
<!-- Use vocab/custom.xsd to enforce custom vocabulary values -->
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab"
|
||||
schemaLocation="vocab/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab" schemaLocation="vocab/loose.xsd" />
|
||||
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab"
|
||||
schemaLocation="vocab/custom.xsd"/> -->
|
||||
<!-- Extension elements/attributes support: use one of the following -->
|
||||
<!-- Use extend/strict.xsd to enforce no element/attribute extension -->
|
||||
<!-- Use extend/custom.xsd to allow element/attribute extension -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="extend/custom.xsd" />
|
||||
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend"
|
||||
schemaLocation="extend/custom.xsd"/> -->
|
||||
<xs:include schemaLocation="dataTypes_localised.xsd" />
|
||||
<xs:include schemaLocation="elementNames_localised.xsd" />
|
||||
<xs:include schemaLocation="elementTypes_localised.xsd" />
|
||||
<xs:include schemaLocation="rootElement_localised.xsd" />
|
||||
<xs:include schemaLocation="vocabValues_localised.xsd" />
|
||||
<xs:include schemaLocation="vocabTypes_localised.xsd" />
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** lomLoose_localised.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ag="http://ltsc.ieee.org/xsd/LOM/unique" xmlns:voc="http://ltsc.ieee.org/xsd/LOM/vocab" xmlns:ex="http://ltsc.ieee.org/xsd/LOM/extend" xmlns="http://ltsc.ieee.org/xsd/LOM" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://ltsc.ieee.org/xsd/LOM" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0 localised_Schema_2008_6_30">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_mR_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file represents a composite schema for validating
|
||||
LOM XML Instances. This file is built by default to represent a
|
||||
composite schema for validation of the following:
|
||||
|
||||
1) The use of LOMv1.0 base schema (i.e., 1484.12.1-2002) vocabulary
|
||||
source/value pairs only
|
||||
2) Uniqueness constraints defined by LOMv1.0 base schema
|
||||
3) No existenace of any defined extensions:
|
||||
LOMv1.0 base schema XML element extension,
|
||||
LOMv1.0 base schema XML attribute extension and
|
||||
LOMv1.0 base schema vocabulary data type extension
|
||||
|
||||
Alternative composite schemas can be assembled by selecting
|
||||
from the various alternative component schema listed below.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:include schemaLocation="anyElement_localised.xsd" />
|
||||
<!-- LOM data element uniqueness constraints: use one of the following -->
|
||||
<!-- Use unique/loose.xsd to relax element uniqueness constraints -->
|
||||
<!-- Use unique/strict.xsd to enforce element uniqueness constraints -->
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique"
|
||||
schemaLocation="unique/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="unique/loose.xsd" />
|
||||
|
||||
<!-- Vocabulary value validation: use one of the following -->
|
||||
<!-- Use vocab/loose.xsd to relax vocabulary value constraints -->
|
||||
<!-- Use vocab/strict.xsd to enforce the LOMv1.0 base schema vocabulary values -->
|
||||
<!-- Use vocab/custom.xsd to enforce custom vocabulary values -->
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab"
|
||||
schemaLocation="vocab/loose.xsd"/> -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab" schemaLocation="vocab/loose.xsd" />
|
||||
|
||||
<!-- <xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab"
|
||||
schemaLocation="vocab/custom.xsd"/> -->
|
||||
<!-- Extension elements/attributes support: use one of the following -->
|
||||
<!-- Use extend/strict.xsd to enforce no element/attribute extension -->
|
||||
<!-- Use extend/custom.xsd to allow element/attribute extension -->
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="extend/custom.xsd" />
|
||||
|
||||
<!--<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend"
|
||||
schemaLocation="extend/custom.xsd"/> -->
|
||||
<xs:include schemaLocation="dataTypes_localised.xsd" />
|
||||
<xs:include schemaLocation="elementNames_localised.xsd" />
|
||||
<xs:include schemaLocation="elementTypes_localised.xsd" />
|
||||
<xs:include schemaLocation="rootElement_localised.xsd" />
|
||||
<xs:include schemaLocation="vocabValues_localised.xsd" />
|
||||
<xs:include schemaLocation="vocabTypes_localised.xsd" />
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,292 +1,292 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/LOM/unique" targetNamespace="http://ltsc.ieee.org/xsd/LOM/unique" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides attribute group declarations for
|
||||
LOM data elements to support schema-based validation of uniqueness constraints
|
||||
within a LOM XML instance where the exact set of attributes associated with each
|
||||
element has to be as specified by the LOM XML Schema binding (i.e., where extra
|
||||
attributes to enforce uniqueness have to be avoided).
|
||||
|
||||
Duplicate declarations are included as comments for completeness. These
|
||||
declarations should remain commented out or they can be removed completely.
|
||||
|
||||
NOTE: The absence of the enforcement of the uniqueness constraints does not
|
||||
relieve a particular LOM XML instance from satisfying the uniqueness constraints
|
||||
described in the LOMv1.0 base schema. Applications that require the use of
|
||||
the unique/loose.xsd component XSD have to enforce those uniqueness constraints
|
||||
by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Attribute group declarations -->
|
||||
|
||||
<!-- Duplicate declarations are included as comments. -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:attributeGroup name="lom" />
|
||||
|
||||
<!-- DateTime -->
|
||||
<xs:attributeGroup name="DateTimeValue" />
|
||||
|
||||
<!-- Duration -->
|
||||
<xs:attributeGroup name="DurationValue" />
|
||||
|
||||
<!-- Source -->
|
||||
<xs:attributeGroup name="source" />
|
||||
|
||||
<!-- Value -->
|
||||
<xs:attributeGroup name="value" />
|
||||
|
||||
<!-- 1 General -->
|
||||
<xs:attributeGroup name="general" />
|
||||
|
||||
<!-- 1.1 Identifier -->
|
||||
<xs:attributeGroup name="identifier" />
|
||||
|
||||
<!-- 1.1.1 Catalog -->
|
||||
<xs:attributeGroup name="catalog" />
|
||||
|
||||
<!-- 1.1.2 Entry -->
|
||||
<xs:attributeGroup name="entry" />
|
||||
|
||||
<!-- 1.2 Title -->
|
||||
<xs:attributeGroup name="title" />
|
||||
|
||||
<!-- 1.3 Language -->
|
||||
<xs:attributeGroup name="language" />
|
||||
|
||||
<!-- 1.4 Description -->
|
||||
<xs:attributeGroup name="description" />
|
||||
|
||||
<!-- 1.5 Keyword -->
|
||||
<xs:attributeGroup name="keyword" />
|
||||
|
||||
<!-- 1.6 Coverage -->
|
||||
<xs:attributeGroup name="coverage" />
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:attributeGroup name="structure" />
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:attributeGroup name="aggregationLevel" />
|
||||
|
||||
<!-- 2 Life Cycle -->
|
||||
<xs:attributeGroup name="lifeCycle" />
|
||||
|
||||
<!-- 2.1 Version -->
|
||||
<xs:attributeGroup name="version" />
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:attributeGroup name="status" />
|
||||
|
||||
<!-- 2.3 Contribute -->
|
||||
<xs:attributeGroup name="contribute" />
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:attributeGroup name="role" />
|
||||
|
||||
<!-- 2.3.2 Entity -->
|
||||
<xs:attributeGroup name="entity" />
|
||||
|
||||
<!-- 2.3.3 Date -->
|
||||
<xs:attributeGroup name="date" />
|
||||
|
||||
<!-- 3 Meta-Metadata -->
|
||||
<xs:attributeGroup name="metaMetadata" />
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ltsc.ieee.org/xsd/LOM/unique" targetNamespace="http://ltsc.ieee.org/xsd/LOM/unique" elementFormDefault="qualified" version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides attribute group declarations for
|
||||
LOM data elements to support schema-based validation of uniqueness constraints
|
||||
within a LOM XML instance where the exact set of attributes associated with each
|
||||
element has to be as specified by the LOM XML Schema binding (i.e., where extra
|
||||
attributes to enforce uniqueness have to be avoided).
|
||||
|
||||
Duplicate declarations are included as comments for completeness. These
|
||||
declarations should remain commented out or they can be removed completely.
|
||||
|
||||
NOTE: The absence of the enforcement of the uniqueness constraints does not
|
||||
relieve a particular LOM XML instance from satisfying the uniqueness constraints
|
||||
described in the LOMv1.0 base schema. Applications that require the use of
|
||||
the unique/loose.xsd component XSD have to enforce those uniqueness constraints
|
||||
by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Attribute group declarations -->
|
||||
|
||||
<!-- Duplicate declarations are included as comments. -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:attributeGroup name="lom" />
|
||||
|
||||
<!-- DateTime -->
|
||||
<xs:attributeGroup name="DateTimeValue" />
|
||||
|
||||
<!-- Duration -->
|
||||
<xs:attributeGroup name="DurationValue" />
|
||||
|
||||
<!-- Source -->
|
||||
<xs:attributeGroup name="source" />
|
||||
|
||||
<!-- Value -->
|
||||
<xs:attributeGroup name="value" />
|
||||
|
||||
<!-- 1 General -->
|
||||
<xs:attributeGroup name="general" />
|
||||
|
||||
<!-- 1.1 Identifier -->
|
||||
<xs:attributeGroup name="identifier" />
|
||||
|
||||
<!-- 1.1.1 Catalog -->
|
||||
<xs:attributeGroup name="catalog" />
|
||||
|
||||
<!-- 1.1.2 Entry -->
|
||||
<xs:attributeGroup name="entry" />
|
||||
|
||||
<!-- 1.2 Title -->
|
||||
<xs:attributeGroup name="title" />
|
||||
|
||||
<!-- 1.3 Language -->
|
||||
<xs:attributeGroup name="language" />
|
||||
|
||||
<!-- 1.4 Description -->
|
||||
<xs:attributeGroup name="description" />
|
||||
|
||||
<!-- 1.5 Keyword -->
|
||||
<xs:attributeGroup name="keyword" />
|
||||
|
||||
<!-- 1.6 Coverage -->
|
||||
<xs:attributeGroup name="coverage" />
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:attributeGroup name="structure" />
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:attributeGroup name="aggregationLevel" />
|
||||
|
||||
<!-- 2 Life Cycle -->
|
||||
<xs:attributeGroup name="lifeCycle" />
|
||||
|
||||
<!-- 2.1 Version -->
|
||||
<xs:attributeGroup name="version" />
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:attributeGroup name="status" />
|
||||
|
||||
<!-- 2.3 Contribute -->
|
||||
<xs:attributeGroup name="contribute" />
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:attributeGroup name="role" />
|
||||
|
||||
<!-- 2.3.2 Entity -->
|
||||
<xs:attributeGroup name="entity" />
|
||||
|
||||
<!-- 2.3.3 Date -->
|
||||
<xs:attributeGroup name="date" />
|
||||
|
||||
<!-- 3 Meta-Metadata -->
|
||||
<xs:attributeGroup name="metaMetadata" />
|
||||
|
||||
<!-- 3.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 3.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 3.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 3.2 Contribute
|
||||
<xs:attributeGroup name="contribute"/> -->
|
||||
|
||||
<xs:attributeGroup name="contribute"/> -->
|
||||
|
||||
<!-- 3.2.1 Role
|
||||
<xs:attributeGroup name="role"/> -->
|
||||
|
||||
<xs:attributeGroup name="role"/> -->
|
||||
|
||||
<!-- 3.2.2 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 3.2.3 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 3.3 Metadata Schema -->
|
||||
<xs:attributeGroup name="metadataSchema" />
|
||||
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 3.3 Metadata Schema -->
|
||||
<xs:attributeGroup name="metadataSchema" />
|
||||
|
||||
<!-- 3.4 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 4 Technical -->
|
||||
<xs:attributeGroup name="technical" />
|
||||
|
||||
<!-- 4.1 Format -->
|
||||
<xs:attributeGroup name="format" />
|
||||
|
||||
<!-- 4.2 Size -->
|
||||
<xs:attributeGroup name="size" />
|
||||
|
||||
<!-- 4.3 Location -->
|
||||
<xs:attributeGroup name="location" />
|
||||
|
||||
<!-- 4.4 Requirement -->
|
||||
<xs:attributeGroup name="requirement" />
|
||||
|
||||
<!-- 4.4.1 OrComposite -->
|
||||
<xs:attributeGroup name="orComposite" />
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:attributeGroup name="type" />
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:attributeGroup name="name" />
|
||||
|
||||
<!-- 4.4.1.3 Minimum Version -->
|
||||
<xs:attributeGroup name="minimumVersion" />
|
||||
|
||||
<!-- 4.4.1.4 Maximum Version -->
|
||||
<xs:attributeGroup name="maximumVersion" />
|
||||
|
||||
<!-- 4.5 Installation Remarks -->
|
||||
<xs:attributeGroup name="installationRemarks" />
|
||||
|
||||
<!-- 4.6 Other Platform Requirements -->
|
||||
<xs:attributeGroup name="otherPlatformRequirements" />
|
||||
|
||||
<!-- 4.7 Duration -->
|
||||
<xs:attributeGroup name="duration" />
|
||||
|
||||
<!-- 5 Educational -->
|
||||
<xs:attributeGroup name="educational" />
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:attributeGroup name="interactivityType" />
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:attributeGroup name="learningResourceType" />
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:attributeGroup name="interactivityLevel" />
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:attributeGroup name="semanticDensity" />
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:attributeGroup name="intendedEndUserRole" />
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:attributeGroup name="context" />
|
||||
|
||||
<!-- 5.7 Typical Age Range -->
|
||||
<xs:attributeGroup name="typicalAgeRange" />
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:attributeGroup name="difficulty" />
|
||||
|
||||
<!-- 5.9 Typical Learning Time -->
|
||||
<xs:attributeGroup name="typicalLearningTime" />
|
||||
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 4 Technical -->
|
||||
<xs:attributeGroup name="technical" />
|
||||
|
||||
<!-- 4.1 Format -->
|
||||
<xs:attributeGroup name="format" />
|
||||
|
||||
<!-- 4.2 Size -->
|
||||
<xs:attributeGroup name="size" />
|
||||
|
||||
<!-- 4.3 Location -->
|
||||
<xs:attributeGroup name="location" />
|
||||
|
||||
<!-- 4.4 Requirement -->
|
||||
<xs:attributeGroup name="requirement" />
|
||||
|
||||
<!-- 4.4.1 OrComposite -->
|
||||
<xs:attributeGroup name="orComposite" />
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:attributeGroup name="type" />
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:attributeGroup name="name" />
|
||||
|
||||
<!-- 4.4.1.3 Minimum Version -->
|
||||
<xs:attributeGroup name="minimumVersion" />
|
||||
|
||||
<!-- 4.4.1.4 Maximum Version -->
|
||||
<xs:attributeGroup name="maximumVersion" />
|
||||
|
||||
<!-- 4.5 Installation Remarks -->
|
||||
<xs:attributeGroup name="installationRemarks" />
|
||||
|
||||
<!-- 4.6 Other Platform Requirements -->
|
||||
<xs:attributeGroup name="otherPlatformRequirements" />
|
||||
|
||||
<!-- 4.7 Duration -->
|
||||
<xs:attributeGroup name="duration" />
|
||||
|
||||
<!-- 5 Educational -->
|
||||
<xs:attributeGroup name="educational" />
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:attributeGroup name="interactivityType" />
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:attributeGroup name="learningResourceType" />
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:attributeGroup name="interactivityLevel" />
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:attributeGroup name="semanticDensity" />
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:attributeGroup name="intendedEndUserRole" />
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:attributeGroup name="context" />
|
||||
|
||||
<!-- 5.7 Typical Age Range -->
|
||||
<xs:attributeGroup name="typicalAgeRange" />
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:attributeGroup name="difficulty" />
|
||||
|
||||
<!-- 5.9 Typical Learning Time -->
|
||||
<xs:attributeGroup name="typicalLearningTime" />
|
||||
|
||||
<!-- 5.10 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 5.11 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 6 Rights -->
|
||||
<xs:attributeGroup name="rights" />
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:attributeGroup name="cost" />
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:attributeGroup name="copyrightAndOtherRestrictions" />
|
||||
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 6 Rights -->
|
||||
<xs:attributeGroup name="rights" />
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:attributeGroup name="cost" />
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:attributeGroup name="copyrightAndOtherRestrictions" />
|
||||
|
||||
<!-- 6.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 7 Relation -->
|
||||
<xs:attributeGroup name="relation" />
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:attributeGroup name="kind" />
|
||||
|
||||
<!-- 7.2 Resource -->
|
||||
<xs:attributeGroup name="resource" />
|
||||
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 7 Relation -->
|
||||
<xs:attributeGroup name="relation" />
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:attributeGroup name="kind" />
|
||||
|
||||
<!-- 7.2 Resource -->
|
||||
<xs:attributeGroup name="resource" />
|
||||
|
||||
<!-- 7.2.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 7.2.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 7.2.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 7.2.2 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 8 Annotation -->
|
||||
<xs:attributeGroup name="annotation" />
|
||||
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 8 Annotation -->
|
||||
<xs:attributeGroup name="annotation" />
|
||||
|
||||
<!-- 8.1 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 8.2 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 8.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9 Classification -->
|
||||
<xs:attributeGroup name="classification" />
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:attributeGroup name="purpose" />
|
||||
|
||||
<!-- 9.2 Taxon Path -->
|
||||
<xs:attributeGroup name="taxonPath" />
|
||||
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9 Classification -->
|
||||
<xs:attributeGroup name="classification" />
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:attributeGroup name="purpose" />
|
||||
|
||||
<!-- 9.2 Taxon Path -->
|
||||
<xs:attributeGroup name="taxonPath" />
|
||||
|
||||
<!-- 9.2.1 Source
|
||||
<xs:attributeGroup name="source"/> -->
|
||||
|
||||
<!-- 9.2.2 Taxon -->
|
||||
<xs:attributeGroup name="taxon" />
|
||||
|
||||
<!-- 9.2.2.1 Id -->
|
||||
<xs:attributeGroup name="id" />
|
||||
|
||||
<xs:attributeGroup name="source"/> -->
|
||||
|
||||
<!-- 9.2.2 Taxon -->
|
||||
<xs:attributeGroup name="taxon" />
|
||||
|
||||
<!-- 9.2.2.1 Id -->
|
||||
<xs:attributeGroup name="id" />
|
||||
|
||||
<!-- 9.2.2.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 9.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9.4 Keyword
|
||||
<xs:attributeGroup name="keyword"/> -->
|
||||
|
||||
</xs:schema>
|
||||
<xs:attributeGroup name="keyword"/> -->
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** rootElement.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 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">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defintion provides the element name declaration for the
|
||||
root element for all LOM XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Element declarations -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:element name="lom" type="lom">
|
||||
<xs:unique name="lomUnique">
|
||||
<xs:selector xpath="*" />
|
||||
<xs:field xpath="@uniqueElementName" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** rootElement.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 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">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema defintion provides the element name declaration for the
|
||||
root element for all LOM XML instances.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Element declarations -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:element name="lom" type="lom">
|
||||
<xs:unique name="lomUnique">
|
||||
<xs:selector xpath="*" />
|
||||
<xs:field xpath="@uniqueElementName" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,295 +1,295 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM/unique"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM/unique"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides attribute group declarations for
|
||||
LOM data elements to support schema-based validation of uniqueness constraints
|
||||
within a LOM XML instance where the exact set of attributes associated with each
|
||||
element has to be as specified by the LOM XML Schema binding (i.e., where extra
|
||||
attributes to enforce uniqueness have to be avoided).
|
||||
|
||||
Duplicate declarations are included as comments for completeness. These
|
||||
declarations should remain commented out or they can be removed completely.
|
||||
|
||||
NOTE: The absence of the enforcement of the uniqueness constraints does not
|
||||
relieve a particular LOM XML instance from satisfying the uniqueness constraints
|
||||
described in the LOMv1.0 base schema. Applications that require the use of
|
||||
the unique/loose.xsd component XSD have to enforce those uniqueness constraints
|
||||
by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Attribute group declarations -->
|
||||
|
||||
<!-- Duplicate declarations are included as comments. -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:attributeGroup name="lom"/>
|
||||
|
||||
<!-- DateTime -->
|
||||
<xs:attributeGroup name="DateTimeValue"/>
|
||||
|
||||
<!-- Duration -->
|
||||
<xs:attributeGroup name="DurationValue"/>
|
||||
|
||||
<!-- Source -->
|
||||
<xs:attributeGroup name="source"/>
|
||||
|
||||
<!-- Value -->
|
||||
<xs:attributeGroup name="value"/>
|
||||
|
||||
<!-- 1 General -->
|
||||
<xs:attributeGroup name="general"/>
|
||||
|
||||
<!-- 1.1 Identifier -->
|
||||
<xs:attributeGroup name="identifier"/>
|
||||
|
||||
<!-- 1.1.1 Catalog -->
|
||||
<xs:attributeGroup name="catalog"/>
|
||||
|
||||
<!-- 1.1.2 Entry -->
|
||||
<xs:attributeGroup name="entry"/>
|
||||
|
||||
<!-- 1.2 Title -->
|
||||
<xs:attributeGroup name="title"/>
|
||||
|
||||
<!-- 1.3 Language -->
|
||||
<xs:attributeGroup name="language"/>
|
||||
|
||||
<!-- 1.4 Description -->
|
||||
<xs:attributeGroup name="description"/>
|
||||
|
||||
<!-- 1.5 Keyword -->
|
||||
<xs:attributeGroup name="keyword"/>
|
||||
|
||||
<!-- 1.6 Coverage -->
|
||||
<xs:attributeGroup name="coverage"/>
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:attributeGroup name="structure"/>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:attributeGroup name="aggregationLevel"/>
|
||||
|
||||
<!-- 2 Life Cycle -->
|
||||
<xs:attributeGroup name="lifeCycle"/>
|
||||
|
||||
<!-- 2.1 Version -->
|
||||
<xs:attributeGroup name="version"/>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:attributeGroup name="status"/>
|
||||
|
||||
<!-- 2.3 Contribute -->
|
||||
<xs:attributeGroup name="contribute"/>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:attributeGroup name="role"/>
|
||||
|
||||
<!-- 2.3.2 Entity -->
|
||||
<xs:attributeGroup name="entity"/>
|
||||
|
||||
<!-- 2.3.3 Date -->
|
||||
<xs:attributeGroup name="date"/>
|
||||
|
||||
<!-- 3 Meta-Metadata -->
|
||||
<xs:attributeGroup name="metaMetadata"/>
|
||||
|
||||
<!-- 3.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 3.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 3.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 3.2 Contribute
|
||||
<xs:attributeGroup name="contribute"/> -->
|
||||
|
||||
<!-- 3.2.1 Role
|
||||
<xs:attributeGroup name="role"/> -->
|
||||
|
||||
<!-- 3.2.2 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 3.2.3 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 3.3 Metadata Schema -->
|
||||
<xs:attributeGroup name="metadataSchema"/>
|
||||
|
||||
<!-- 3.4 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 4 Technical -->
|
||||
<xs:attributeGroup name="technical"/>
|
||||
|
||||
<!-- 4.1 Format -->
|
||||
<xs:attributeGroup name="format"/>
|
||||
|
||||
<!-- 4.2 Size -->
|
||||
<xs:attributeGroup name="size"/>
|
||||
|
||||
<!-- 4.3 Location -->
|
||||
<xs:attributeGroup name="location"/>
|
||||
|
||||
<!-- 4.4 Requirement -->
|
||||
<xs:attributeGroup name="requirement"/>
|
||||
|
||||
<!-- 4.4.1 OrComposite -->
|
||||
<xs:attributeGroup name="orComposite"/>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:attributeGroup name="type"/>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:attributeGroup name="name"/>
|
||||
|
||||
<!-- 4.4.1.3 Minimum Version -->
|
||||
<xs:attributeGroup name="minimumVersion"/>
|
||||
|
||||
<!-- 4.4.1.4 Maximum Version -->
|
||||
<xs:attributeGroup name="maximumVersion"/>
|
||||
|
||||
<!-- 4.5 Installation Remarks -->
|
||||
<xs:attributeGroup name="installationRemarks"/>
|
||||
|
||||
<!-- 4.6 Other Platform Requirements -->
|
||||
<xs:attributeGroup name="otherPlatformRequirements"/>
|
||||
|
||||
<!-- 4.7 Duration -->
|
||||
<xs:attributeGroup name="duration"/>
|
||||
|
||||
<!-- 5 Educational -->
|
||||
<xs:attributeGroup name="educational"/>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:attributeGroup name="interactivityType"/>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:attributeGroup name="learningResourceType"/>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:attributeGroup name="interactivityLevel"/>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:attributeGroup name="semanticDensity"/>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:attributeGroup name="intendedEndUserRole"/>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:attributeGroup name="context"/>
|
||||
|
||||
<!-- 5.7 Typical Age Range -->
|
||||
<xs:attributeGroup name="typicalAgeRange"/>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:attributeGroup name="difficulty"/>
|
||||
|
||||
<!-- 5.9 Typical Learning Time -->
|
||||
<xs:attributeGroup name="typicalLearningTime"/>
|
||||
|
||||
<!-- 5.10 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 5.11 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 6 Rights -->
|
||||
<xs:attributeGroup name="rights"/>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:attributeGroup name="cost"/>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:attributeGroup name="copyrightAndOtherRestrictions"/>
|
||||
|
||||
<!-- 6.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 7 Relation -->
|
||||
<xs:attributeGroup name="relation"/>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:attributeGroup name="kind"/>
|
||||
|
||||
<!-- 7.2 Resource -->
|
||||
<xs:attributeGroup name="resource"/>
|
||||
|
||||
<!-- 7.2.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 7.2.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 7.2.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 7.2.2 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 8 Annotation -->
|
||||
<xs:attributeGroup name="annotation"/>
|
||||
|
||||
<!-- 8.1 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 8.2 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 8.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9 Classification -->
|
||||
<xs:attributeGroup name="classification"/>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:attributeGroup name="purpose"/>
|
||||
|
||||
<!-- 9.2 Taxon Path -->
|
||||
<xs:attributeGroup name="taxonPath"/>
|
||||
|
||||
<!-- 9.2.1 Source
|
||||
<xs:attributeGroup name="source"/> -->
|
||||
|
||||
<!-- 9.2.2 Taxon -->
|
||||
<xs:attributeGroup name="taxon"/>
|
||||
|
||||
<!-- 9.2.2.1 Id -->
|
||||
<xs:attributeGroup name="id"/>
|
||||
|
||||
<!-- 9.2.2.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 9.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9.4 Keyword
|
||||
<xs:attributeGroup name="keyword"/> -->
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM/unique"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM/unique"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides attribute group declarations for
|
||||
LOM data elements to support schema-based validation of uniqueness constraints
|
||||
within a LOM XML instance where the exact set of attributes associated with each
|
||||
element has to be as specified by the LOM XML Schema binding (i.e., where extra
|
||||
attributes to enforce uniqueness have to be avoided).
|
||||
|
||||
Duplicate declarations are included as comments for completeness. These
|
||||
declarations should remain commented out or they can be removed completely.
|
||||
|
||||
NOTE: The absence of the enforcement of the uniqueness constraints does not
|
||||
relieve a particular LOM XML instance from satisfying the uniqueness constraints
|
||||
described in the LOMv1.0 base schema. Applications that require the use of
|
||||
the unique/loose.xsd component XSD have to enforce those uniqueness constraints
|
||||
by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Attribute group declarations -->
|
||||
|
||||
<!-- Duplicate declarations are included as comments. -->
|
||||
|
||||
<!-- Learning Object Metadata -->
|
||||
<xs:attributeGroup name="lom"/>
|
||||
|
||||
<!-- DateTime -->
|
||||
<xs:attributeGroup name="DateTimeValue"/>
|
||||
|
||||
<!-- Duration -->
|
||||
<xs:attributeGroup name="DurationValue"/>
|
||||
|
||||
<!-- Source -->
|
||||
<xs:attributeGroup name="source"/>
|
||||
|
||||
<!-- Value -->
|
||||
<xs:attributeGroup name="value"/>
|
||||
|
||||
<!-- 1 General -->
|
||||
<xs:attributeGroup name="general"/>
|
||||
|
||||
<!-- 1.1 Identifier -->
|
||||
<xs:attributeGroup name="identifier"/>
|
||||
|
||||
<!-- 1.1.1 Catalog -->
|
||||
<xs:attributeGroup name="catalog"/>
|
||||
|
||||
<!-- 1.1.2 Entry -->
|
||||
<xs:attributeGroup name="entry"/>
|
||||
|
||||
<!-- 1.2 Title -->
|
||||
<xs:attributeGroup name="title"/>
|
||||
|
||||
<!-- 1.3 Language -->
|
||||
<xs:attributeGroup name="language"/>
|
||||
|
||||
<!-- 1.4 Description -->
|
||||
<xs:attributeGroup name="description"/>
|
||||
|
||||
<!-- 1.5 Keyword -->
|
||||
<xs:attributeGroup name="keyword"/>
|
||||
|
||||
<!-- 1.6 Coverage -->
|
||||
<xs:attributeGroup name="coverage"/>
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:attributeGroup name="structure"/>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:attributeGroup name="aggregationLevel"/>
|
||||
|
||||
<!-- 2 Life Cycle -->
|
||||
<xs:attributeGroup name="lifeCycle"/>
|
||||
|
||||
<!-- 2.1 Version -->
|
||||
<xs:attributeGroup name="version"/>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:attributeGroup name="status"/>
|
||||
|
||||
<!-- 2.3 Contribute -->
|
||||
<xs:attributeGroup name="contribute"/>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:attributeGroup name="role"/>
|
||||
|
||||
<!-- 2.3.2 Entity -->
|
||||
<xs:attributeGroup name="entity"/>
|
||||
|
||||
<!-- 2.3.3 Date -->
|
||||
<xs:attributeGroup name="date"/>
|
||||
|
||||
<!-- 3 Meta-Metadata -->
|
||||
<xs:attributeGroup name="metaMetadata"/>
|
||||
|
||||
<!-- 3.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 3.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 3.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 3.2 Contribute
|
||||
<xs:attributeGroup name="contribute"/> -->
|
||||
|
||||
<!-- 3.2.1 Role
|
||||
<xs:attributeGroup name="role"/> -->
|
||||
|
||||
<!-- 3.2.2 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 3.2.3 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 3.3 Metadata Schema -->
|
||||
<xs:attributeGroup name="metadataSchema"/>
|
||||
|
||||
<!-- 3.4 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 4 Technical -->
|
||||
<xs:attributeGroup name="technical"/>
|
||||
|
||||
<!-- 4.1 Format -->
|
||||
<xs:attributeGroup name="format"/>
|
||||
|
||||
<!-- 4.2 Size -->
|
||||
<xs:attributeGroup name="size"/>
|
||||
|
||||
<!-- 4.3 Location -->
|
||||
<xs:attributeGroup name="location"/>
|
||||
|
||||
<!-- 4.4 Requirement -->
|
||||
<xs:attributeGroup name="requirement"/>
|
||||
|
||||
<!-- 4.4.1 OrComposite -->
|
||||
<xs:attributeGroup name="orComposite"/>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:attributeGroup name="type"/>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:attributeGroup name="name"/>
|
||||
|
||||
<!-- 4.4.1.3 Minimum Version -->
|
||||
<xs:attributeGroup name="minimumVersion"/>
|
||||
|
||||
<!-- 4.4.1.4 Maximum Version -->
|
||||
<xs:attributeGroup name="maximumVersion"/>
|
||||
|
||||
<!-- 4.5 Installation Remarks -->
|
||||
<xs:attributeGroup name="installationRemarks"/>
|
||||
|
||||
<!-- 4.6 Other Platform Requirements -->
|
||||
<xs:attributeGroup name="otherPlatformRequirements"/>
|
||||
|
||||
<!-- 4.7 Duration -->
|
||||
<xs:attributeGroup name="duration"/>
|
||||
|
||||
<!-- 5 Educational -->
|
||||
<xs:attributeGroup name="educational"/>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:attributeGroup name="interactivityType"/>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:attributeGroup name="learningResourceType"/>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:attributeGroup name="interactivityLevel"/>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:attributeGroup name="semanticDensity"/>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:attributeGroup name="intendedEndUserRole"/>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:attributeGroup name="context"/>
|
||||
|
||||
<!-- 5.7 Typical Age Range -->
|
||||
<xs:attributeGroup name="typicalAgeRange"/>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:attributeGroup name="difficulty"/>
|
||||
|
||||
<!-- 5.9 Typical Learning Time -->
|
||||
<xs:attributeGroup name="typicalLearningTime"/>
|
||||
|
||||
<!-- 5.10 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 5.11 Language
|
||||
<xs:attributeGroup name="language"/> -->
|
||||
|
||||
<!-- 6 Rights -->
|
||||
<xs:attributeGroup name="rights"/>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:attributeGroup name="cost"/>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:attributeGroup name="copyrightAndOtherRestrictions"/>
|
||||
|
||||
<!-- 6.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 7 Relation -->
|
||||
<xs:attributeGroup name="relation"/>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:attributeGroup name="kind"/>
|
||||
|
||||
<!-- 7.2 Resource -->
|
||||
<xs:attributeGroup name="resource"/>
|
||||
|
||||
<!-- 7.2.1 Identifier
|
||||
<xs:attributeGroup name="identifier"/> -->
|
||||
|
||||
<!-- 7.2.1.1 Catalog
|
||||
<xs:attributeGroup name="catalog"/> -->
|
||||
|
||||
<!-- 7.2.1.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 7.2.2 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 8 Annotation -->
|
||||
<xs:attributeGroup name="annotation"/>
|
||||
|
||||
<!-- 8.1 Entity
|
||||
<xs:attributeGroup name="entity"/> -->
|
||||
|
||||
<!-- 8.2 Date
|
||||
<xs:attributeGroup name="date"/> -->
|
||||
|
||||
<!-- 8.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9 Classification -->
|
||||
<xs:attributeGroup name="classification"/>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:attributeGroup name="purpose"/>
|
||||
|
||||
<!-- 9.2 Taxon Path -->
|
||||
<xs:attributeGroup name="taxonPath"/>
|
||||
|
||||
<!-- 9.2.1 Source
|
||||
<xs:attributeGroup name="source"/> -->
|
||||
|
||||
<!-- 9.2.2 Taxon -->
|
||||
<xs:attributeGroup name="taxon"/>
|
||||
|
||||
<!-- 9.2.2.1 Id -->
|
||||
<xs:attributeGroup name="id"/>
|
||||
|
||||
<!-- 9.2.2.2 Entry
|
||||
<xs:attributeGroup name="entry"/> -->
|
||||
|
||||
<!-- 9.3 Description
|
||||
<xs:attributeGroup name="description"/> -->
|
||||
|
||||
<!-- 9.4 Keyword
|
||||
<xs:attributeGroup name="keyword"/> -->
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,147 +1,147 @@
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM/vocab"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM/vocab"
|
||||
xmlns:lom="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides simple type declarations for LOM
|
||||
data elements that are defined as Vocabulary data types.
|
||||
|
||||
This component schema definition enforces that vocabulary sources and values
|
||||
are character strings, which simplifies the schema validation process for those
|
||||
applications that perform vocabulary source/value validation using
|
||||
post-schema-validation.
|
||||
|
||||
This component schema definition relaxes the validation constraints by
|
||||
allowing both sources and values to be arbitrary character strings.
|
||||
|
||||
NOTE: The absence of the enforcement of vocabulary values does not relieve a
|
||||
particular LOM XML instance from satisfying vocabulary requirements defined
|
||||
in the LOMv1.0 base schema. Applications that require the use of vocab/loose.xsd
|
||||
component XSD should enforce those vocabulary requirements by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM" schemaLocation="../lomLoose_localised.xsd"/>
|
||||
|
||||
<!-- Vocabulary data type declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="source">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structure">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevel">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="status">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="role">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMeta">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="type">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="name">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityType">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceType">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevel">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensity">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRole">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="context">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficulty">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="cost">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictions">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kind">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purpose">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:schema targetNamespace="http://ltsc.ieee.org/xsd/LOM/vocab"
|
||||
xmlns="http://ltsc.ieee.org/xsd/LOM/vocab"
|
||||
xmlns:lom="http://ltsc.ieee.org/xsd/LOM"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
version="IEEE LTSC LOM XML 1.0">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides simple type declarations for LOM
|
||||
data elements that are defined as Vocabulary data types.
|
||||
|
||||
This component schema definition enforces that vocabulary sources and values
|
||||
are character strings, which simplifies the schema validation process for those
|
||||
applications that perform vocabulary source/value validation using
|
||||
post-schema-validation.
|
||||
|
||||
This component schema definition relaxes the validation constraints by
|
||||
allowing both sources and values to be arbitrary character strings.
|
||||
|
||||
NOTE: The absence of the enforcement of vocabulary values does not relieve a
|
||||
particular LOM XML instance from satisfying vocabulary requirements defined
|
||||
in the LOMv1.0 base schema. Applications that require the use of vocab/loose.xsd
|
||||
component XSD should enforce those vocabulary requirements by other means.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
|
||||
</xs:annotation>
|
||||
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM" schemaLocation="../lomLoose_localised.xsd"/>
|
||||
|
||||
<!-- Vocabulary data type declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="source">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structure">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevel">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="status">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="role">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMeta">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="type">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="name">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityType">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceType">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevel">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensity">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRole">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="context">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficulty">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="cost">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictions">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kind">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purpose">
|
||||
<xs:restriction base="lom:CharacterString"/>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
@@ -1,408 +1,408 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** vocabTypes.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<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:voc="http://ltsc.ieee.org/xsd/LOM/vocab" 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">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_mR_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion provides global type declarations for those
|
||||
LOM data elements whose values are taken from a Vocabulary data type.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:annotation>
|
||||
<xs:documentation>This component XSD requires schema components from other
|
||||
schemas that are defined in other namespaces. These statements import the
|
||||
appropriate components. The xsi:schemaLocation attribute is used to specify
|
||||
the location of the file that contains the schema that defines the namespace.
|
||||
The xsi:schemaLocation attribute is optional and is ommitted. By definition of
|
||||
the composite schemas the appropriate namespaces and related files where those
|
||||
namespaces are defined are brought into scope. Some XML parsers may require
|
||||
these import statements to contain the optional xsi:schemaLocation attribute.</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="./unique/loose.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="./extend/custom.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab" schemaLocation="./vocab/loose.xsd" />
|
||||
<!-- Vocabulary type declarations -->
|
||||
<!-- Source -->
|
||||
<xs:complexType name="sourceValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:source">
|
||||
<xs:attributeGroup ref="ag:source" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="sourceValue18311">
|
||||
<xs:simpleContent>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: The vocabulary for intendedEndUserRole is 'IMSGLC_CC_Rolesv1p0'.</xs:documentation>
|
||||
</xs:annotation><xs:extension base="RoleVocab">
|
||||
<xs:attributeGroup ref="ag:source" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="sourceValue18711">
|
||||
<xs:simpleContent>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: The source for a context object is fixed to 'LOMv1.0'</xs:documentation>
|
||||
</xs:annotation><xs:extension base="SourceIEELOM">
|
||||
<xs:attributeGroup ref="ag:source" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:complexType name="structureVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="structureValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="structureValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:structure">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:complexType name="aggregationLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="aggregationLevelValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="aggregationLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:aggregationLevel">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.2 Status -->
|
||||
<xs:complexType name="statusVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="statusValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="statusValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:status">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:complexType name="roleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="roleValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:role">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:complexType name="roleMetaVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="roleMetaValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleMetaValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:roleMeta">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:complexType name="typeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="typeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="typeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:type">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:complexType name="nameVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="nameValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="nameValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:name">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:complexType name="interactivityTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="interactivityTypeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityType">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:complexType name="learningResourceTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="learningResourceTypeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="learningResourceTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:learningResourceType">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:complexType name="interactivityLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="interactivityLevelValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityLevel">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:complexType name="semanticDensityVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="semanticDensityValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="semanticDensityValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:semanticDensity">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:complexType name="intendedEndUserRoleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="intendedEndUserRoleValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="intendedEndUserRoleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:intendedEndUserRole">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="intendedEndUserRoleValue18313">
|
||||
<xs:simpleContent>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: Possible intendedEndUserRoles are only 'Learner' and 'Instructor'.</xs:documentation>
|
||||
</xs:annotation><xs:extension base="RolesValues">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.6 Context -->
|
||||
<xs:complexType name="contextVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="contextValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="contextValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:context">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="contextValue18713">
|
||||
<xs:simpleContent>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: The value of context is fixed to 'higher education'.</xs:documentation>
|
||||
</xs:annotation><xs:extension base="HEContext">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:complexType name="difficultyVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="difficultyValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="difficultyValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:difficulty">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:complexType name="costVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="costValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="costValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:cost">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="copyrightAndOtherRestrictionsValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:copyrightAndOtherRestrictions">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:complexType name="kindVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="kindValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="kindValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:kind">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:complexType name="purposeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="purposeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="purposeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:purpose">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** vocabTypes.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<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:voc="http://ltsc.ieee.org/xsd/LOM/vocab" 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">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_mR_definition.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This component schema defintion provides global type declarations for those
|
||||
LOM data elements whose values are taken from a Vocabulary data type.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:annotation>
|
||||
<xs:documentation>This component XSD requires schema components from other
|
||||
schemas that are defined in other namespaces. These statements import the
|
||||
appropriate components. The xsi:schemaLocation attribute is used to specify
|
||||
the location of the file that contains the schema that defines the namespace.
|
||||
The xsi:schemaLocation attribute is optional and is ommitted. By definition of
|
||||
the composite schemas the appropriate namespaces and related files where those
|
||||
namespaces are defined are brought into scope. Some XML parsers may require
|
||||
these import statements to contain the optional xsi:schemaLocation attribute.</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/unique" schemaLocation="./unique/loose.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/extend" schemaLocation="./extend/custom.xsd" />
|
||||
<xs:import namespace="http://ltsc.ieee.org/xsd/LOM/vocab" schemaLocation="./vocab/loose.xsd" />
|
||||
<!-- Vocabulary type declarations -->
|
||||
<!-- Source -->
|
||||
<xs:complexType name="sourceValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:source">
|
||||
<xs:attributeGroup ref="ag:source" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="sourceValue18311">
|
||||
<xs:simpleContent>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: The vocabulary for intendedEndUserRole is 'IMSGLC_CC_Rolesv1p0'.</xs:documentation>
|
||||
</xs:annotation><xs:extension base="RoleVocab">
|
||||
<xs:attributeGroup ref="ag:source" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="sourceValue18711">
|
||||
<xs:simpleContent>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: The source for a context object is fixed to 'LOMv1.0'</xs:documentation>
|
||||
</xs:annotation><xs:extension base="SourceIEELOM">
|
||||
<xs:attributeGroup ref="ag:source" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:complexType name="structureVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="structureValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="structureValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:structure">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:complexType name="aggregationLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="aggregationLevelValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="aggregationLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:aggregationLevel">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.2 Status -->
|
||||
<xs:complexType name="statusVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="statusValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="statusValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:status">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:complexType name="roleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="roleValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:role">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:complexType name="roleMetaVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="roleMetaValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="roleMetaValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:roleMeta">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:complexType name="typeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="typeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="typeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:type">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:complexType name="nameVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="nameValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="nameValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:name">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:complexType name="interactivityTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="interactivityTypeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityType">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:complexType name="learningResourceTypeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="learningResourceTypeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="learningResourceTypeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:learningResourceType">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:complexType name="interactivityLevelVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="interactivityLevelValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="interactivityLevelValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:interactivityLevel">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:complexType name="semanticDensityVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="semanticDensityValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="semanticDensityValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:semanticDensity">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:complexType name="intendedEndUserRoleVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="intendedEndUserRoleValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="intendedEndUserRoleValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:intendedEndUserRole">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="intendedEndUserRoleValue18313">
|
||||
<xs:simpleContent>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: Possible intendedEndUserRoles are only 'Learner' and 'Instructor'.</xs:documentation>
|
||||
</xs:annotation><xs:extension base="RolesValues">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.6 Context -->
|
||||
<xs:complexType name="contextVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="contextValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="contextValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:context">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="contextValue18713">
|
||||
<xs:simpleContent>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="en">explanation: The value of context is fixed to 'higher education'.</xs:documentation>
|
||||
</xs:annotation><xs:extension base="HEContext">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:complexType name="difficultyVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="difficultyValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="difficultyValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:difficulty">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:complexType name="costVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="costValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="costValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:cost">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="copyrightAndOtherRestrictionsValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="copyrightAndOtherRestrictionsValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:copyrightAndOtherRestrictions">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:complexType name="kindVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="kindValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="kindValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:kind">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:complexType name="purposeVocab">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="source" type="sourceValue" />
|
||||
<xs:element name="value" type="purposeValue" />
|
||||
<xs:group ref="ex:customElements" />
|
||||
</xs:choice>
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="purposeValue">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="voc:purpose">
|
||||
<xs:attributeGroup ref="ag:value" />
|
||||
<xs:attributeGroup ref="ex:customAttributes" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,270 +1,270 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** vocabValues.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 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">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides global type declarations for the standard
|
||||
LOMv1.0 vocabulary tokens for those LOM data elements whose values are taken from
|
||||
a Vocabulary data type.
|
||||
|
||||
This component schema defintion defines the stanard vocabulary value
|
||||
declarations as defined in the LOMv1.0 base schema. These vocabulary
|
||||
value declarations are used in conjunction with both vocab/custom.xsd and
|
||||
vocab/loose.xsd.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- LOMv1.0 base schema vocabulary source and value declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="sourceValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="LOMv1.0" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structureValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="atomic" />
|
||||
<xs:enumeration value="collection" />
|
||||
<xs:enumeration value="networked" />
|
||||
<xs:enumeration value="hierarchical" />
|
||||
<xs:enumeration value="linear" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="1" />
|
||||
<xs:enumeration value="2" />
|
||||
<xs:enumeration value="3" />
|
||||
<xs:enumeration value="4" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="statusValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="draft" />
|
||||
<xs:enumeration value="final" />
|
||||
<xs:enumeration value="revised" />
|
||||
<xs:enumeration value="unavailable" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="roleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="author" />
|
||||
<xs:enumeration value="publisher" />
|
||||
<xs:enumeration value="unknown" />
|
||||
<xs:enumeration value="initiator" />
|
||||
<xs:enumeration value="terminator" />
|
||||
<xs:enumeration value="validator" />
|
||||
<xs:enumeration value="editor" />
|
||||
<xs:enumeration value="graphical designer" />
|
||||
<xs:enumeration value="technical implementer" />
|
||||
<xs:enumeration value="content provider" />
|
||||
<xs:enumeration value="technical validator" />
|
||||
<xs:enumeration value="educational validator" />
|
||||
<xs:enumeration value="script writer" />
|
||||
<xs:enumeration value="instructional designer" />
|
||||
<xs:enumeration value="subject matter expert" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMetaValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="creator" />
|
||||
<xs:enumeration value="validator" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="typeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="operating system" />
|
||||
<xs:enumeration value="browser" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="nameValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="pc-dos" />
|
||||
<xs:enumeration value="ms-windows" />
|
||||
<xs:enumeration value="macos" />
|
||||
<xs:enumeration value="unix" />
|
||||
<xs:enumeration value="multi-os" />
|
||||
<xs:enumeration value="none" />
|
||||
<xs:enumeration value="any" />
|
||||
<xs:enumeration value="netscape communicator" />
|
||||
<xs:enumeration value="ms-internet explorer" />
|
||||
<xs:enumeration value="opera" />
|
||||
<xs:enumeration value="amaya" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="active" />
|
||||
<xs:enumeration value="expositive" />
|
||||
<xs:enumeration value="mixed" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="exercise" />
|
||||
<xs:enumeration value="simulation" />
|
||||
<xs:enumeration value="questionnaire" />
|
||||
<xs:enumeration value="diagram" />
|
||||
<xs:enumeration value="figure" />
|
||||
<xs:enumeration value="graph" />
|
||||
<xs:enumeration value="index" />
|
||||
<xs:enumeration value="slide" />
|
||||
<xs:enumeration value="table" />
|
||||
<xs:enumeration value="narrative text" />
|
||||
<xs:enumeration value="exam" />
|
||||
<xs:enumeration value="experiment" />
|
||||
<xs:enumeration value="problem statement" />
|
||||
<xs:enumeration value="self assessment" />
|
||||
<xs:enumeration value="lecture" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low" />
|
||||
<xs:enumeration value="low" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="high" />
|
||||
<xs:enumeration value="very high" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensityValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low" />
|
||||
<xs:enumeration value="low" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="high" />
|
||||
<xs:enumeration value="very high" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRoleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="teacher" />
|
||||
<xs:enumeration value="author" />
|
||||
<xs:enumeration value="learner" />
|
||||
<xs:enumeration value="manager" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="contextValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="school" />
|
||||
<xs:enumeration value="higher education" />
|
||||
<xs:enumeration value="training" />
|
||||
<xs:enumeration value="other" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficultyValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very easy" />
|
||||
<xs:enumeration value="easy" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="difficult" />
|
||||
<xs:enumeration value="very difficult" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="costValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes" />
|
||||
<xs:enumeration value="no" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictionsValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes" />
|
||||
<xs:enumeration value="no" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kindValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="ispartof" />
|
||||
<xs:enumeration value="haspart" />
|
||||
<xs:enumeration value="isversionof" />
|
||||
<xs:enumeration value="hasversion" />
|
||||
<xs:enumeration value="isformatof" />
|
||||
<xs:enumeration value="hasformat" />
|
||||
<xs:enumeration value="references" />
|
||||
<xs:enumeration value="isreferencedby" />
|
||||
<xs:enumeration value="isbasedon" />
|
||||
<xs:enumeration value="isbasisfor" />
|
||||
<xs:enumeration value="requires" />
|
||||
<xs:enumeration value="isrequiredby" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purposeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="discipline" />
|
||||
<xs:enumeration value="idea" />
|
||||
<xs:enumeration value="prerequisite" />
|
||||
<xs:enumeration value="educational objective" />
|
||||
<xs:enumeration value="accessibility restrictions" />
|
||||
<xs:enumeration value="educational level" />
|
||||
<xs:enumeration value="skill level" />
|
||||
<xs:enumeration value="security level" />
|
||||
<xs:enumeration value="competency" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** vocabValues.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 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">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike
|
||||
License. To view a copy of this license, see the file license.txt,
|
||||
visit http://creativecommons.org/licenses/by-sa/2.0 or send a letter to
|
||||
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
</xs:documentation>
|
||||
|
||||
<xs:documentation>
|
||||
This component schema definition provides global type declarations for the standard
|
||||
LOMv1.0 vocabulary tokens for those LOM data elements whose values are taken from
|
||||
a Vocabulary data type.
|
||||
|
||||
This component schema defintion defines the stanard vocabulary value
|
||||
declarations as defined in the LOMv1.0 base schema. These vocabulary
|
||||
value declarations are used in conjunction with both vocab/custom.xsd and
|
||||
vocab/loose.xsd.
|
||||
</xs:documentation>
|
||||
<xs:documentation>
|
||||
This file has been modified by the Knowledge Media Institute of the
|
||||
University Koblenz-Landau (http://iwm.uni-koblenz.de). It contains the
|
||||
following changes:
|
||||
1) Instead of "unique/strict.xsd" the schema "unique/loose.xsd" is imported
|
||||
because this reflects what is said in 1484.12.3-2005, page 35 (section C.1.3)
|
||||
2) In all component XSDs the schemaLocation attribute was amended to the
|
||||
xs:import and xs:include statements. This enables the usage of the schemas
|
||||
with tools which don't deal well with missing schemaLocation informations.
|
||||
|
||||
This file is available at "http://iwm.uni-koblenz.de/xsd/IEEE-LOM/loose"
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- LOMv1.0 base schema vocabulary source and value declarations -->
|
||||
|
||||
<!-- Source -->
|
||||
<xs:simpleType name="sourceValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="LOMv1.0" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<!-- 1.7 Structure -->
|
||||
<xs:simpleType name="structureValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="atomic" />
|
||||
<xs:enumeration value="collection" />
|
||||
<xs:enumeration value="networked" />
|
||||
<xs:enumeration value="hierarchical" />
|
||||
<xs:enumeration value="linear" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 1.8 Aggregation Level -->
|
||||
<xs:simpleType name="aggregationLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="1" />
|
||||
<xs:enumeration value="2" />
|
||||
<xs:enumeration value="3" />
|
||||
<xs:enumeration value="4" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.2 Status -->
|
||||
<xs:simpleType name="statusValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="draft" />
|
||||
<xs:enumeration value="final" />
|
||||
<xs:enumeration value="revised" />
|
||||
<xs:enumeration value="unavailable" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 2.3.1 Role -->
|
||||
<xs:simpleType name="roleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="author" />
|
||||
<xs:enumeration value="publisher" />
|
||||
<xs:enumeration value="unknown" />
|
||||
<xs:enumeration value="initiator" />
|
||||
<xs:enumeration value="terminator" />
|
||||
<xs:enumeration value="validator" />
|
||||
<xs:enumeration value="editor" />
|
||||
<xs:enumeration value="graphical designer" />
|
||||
<xs:enumeration value="technical implementer" />
|
||||
<xs:enumeration value="content provider" />
|
||||
<xs:enumeration value="technical validator" />
|
||||
<xs:enumeration value="educational validator" />
|
||||
<xs:enumeration value="script writer" />
|
||||
<xs:enumeration value="instructional designer" />
|
||||
<xs:enumeration value="subject matter expert" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 3.2.1 Role -->
|
||||
<xs:simpleType name="roleMetaValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="creator" />
|
||||
<xs:enumeration value="validator" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.1 Type -->
|
||||
<xs:simpleType name="typeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="operating system" />
|
||||
<xs:enumeration value="browser" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 4.4.1.2 Name -->
|
||||
<xs:simpleType name="nameValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="pc-dos" />
|
||||
<xs:enumeration value="ms-windows" />
|
||||
<xs:enumeration value="macos" />
|
||||
<xs:enumeration value="unix" />
|
||||
<xs:enumeration value="multi-os" />
|
||||
<xs:enumeration value="none" />
|
||||
<xs:enumeration value="any" />
|
||||
<xs:enumeration value="netscape communicator" />
|
||||
<xs:enumeration value="ms-internet explorer" />
|
||||
<xs:enumeration value="opera" />
|
||||
<xs:enumeration value="amaya" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.1 Interactivity Type -->
|
||||
<xs:simpleType name="interactivityTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="active" />
|
||||
<xs:enumeration value="expositive" />
|
||||
<xs:enumeration value="mixed" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.2 Learning Resource Type -->
|
||||
<xs:simpleType name="learningResourceTypeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="exercise" />
|
||||
<xs:enumeration value="simulation" />
|
||||
<xs:enumeration value="questionnaire" />
|
||||
<xs:enumeration value="diagram" />
|
||||
<xs:enumeration value="figure" />
|
||||
<xs:enumeration value="graph" />
|
||||
<xs:enumeration value="index" />
|
||||
<xs:enumeration value="slide" />
|
||||
<xs:enumeration value="table" />
|
||||
<xs:enumeration value="narrative text" />
|
||||
<xs:enumeration value="exam" />
|
||||
<xs:enumeration value="experiment" />
|
||||
<xs:enumeration value="problem statement" />
|
||||
<xs:enumeration value="self assessment" />
|
||||
<xs:enumeration value="lecture" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.3 Interactivity Level -->
|
||||
<xs:simpleType name="interactivityLevelValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low" />
|
||||
<xs:enumeration value="low" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="high" />
|
||||
<xs:enumeration value="very high" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.4 Semantic Density -->
|
||||
<xs:simpleType name="semanticDensityValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very low" />
|
||||
<xs:enumeration value="low" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="high" />
|
||||
<xs:enumeration value="very high" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.5 Intended End User Role -->
|
||||
<xs:simpleType name="intendedEndUserRoleValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="teacher" />
|
||||
<xs:enumeration value="author" />
|
||||
<xs:enumeration value="learner" />
|
||||
<xs:enumeration value="manager" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.6 Context -->
|
||||
<xs:simpleType name="contextValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="school" />
|
||||
<xs:enumeration value="higher education" />
|
||||
<xs:enumeration value="training" />
|
||||
<xs:enumeration value="other" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 5.8 Difficulty -->
|
||||
<xs:simpleType name="difficultyValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="very easy" />
|
||||
<xs:enumeration value="easy" />
|
||||
<xs:enumeration value="medium" />
|
||||
<xs:enumeration value="difficult" />
|
||||
<xs:enumeration value="very difficult" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.1 Cost -->
|
||||
<xs:simpleType name="costValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes" />
|
||||
<xs:enumeration value="no" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 6.2 Copyright and Other Restrictions -->
|
||||
<xs:simpleType name="copyrightAndOtherRestrictionsValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="yes" />
|
||||
<xs:enumeration value="no" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 7.1 Kind -->
|
||||
<xs:simpleType name="kindValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="ispartof" />
|
||||
<xs:enumeration value="haspart" />
|
||||
<xs:enumeration value="isversionof" />
|
||||
<xs:enumeration value="hasversion" />
|
||||
<xs:enumeration value="isformatof" />
|
||||
<xs:enumeration value="hasformat" />
|
||||
<xs:enumeration value="references" />
|
||||
<xs:enumeration value="isreferencedby" />
|
||||
<xs:enumeration value="isbasedon" />
|
||||
<xs:enumeration value="isbasisfor" />
|
||||
<xs:enumeration value="requires" />
|
||||
<xs:enumeration value="isrequiredby" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- 9.1 Purpose -->
|
||||
<xs:simpleType name="purposeValues">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="discipline" />
|
||||
<xs:enumeration value="idea" />
|
||||
<xs:enumeration value="prerequisite" />
|
||||
<xs:enumeration value="educational objective" />
|
||||
<xs:enumeration value="accessibility restrictions" />
|
||||
<xs:enumeration value="educational level" />
|
||||
<xs:enumeration value="skill level" />
|
||||
<xs:enumeration value="security level" />
|
||||
<xs:enumeration value="competency" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,226 +1,226 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2
|
||||
found at http://www.imsglobal.org/content/packaging and the original IMS schema binding or code base
|
||||
http://www.imsglobal.org/content/packaging/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent
|
||||
claims or other intellectual property rights of which they may be aware that might be infringed by the schema
|
||||
binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be
|
||||
claimed to pertain to the implementation or use of the technology described in this document or the extent to
|
||||
which any license under such rights might or might not be available; neither does it represent that it has made
|
||||
any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications
|
||||
can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free,
|
||||
non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once
|
||||
registered you are granted permission to transfer unlimited distribution rights of this document for the purposes
|
||||
of third-party or other distribution of your product or service that incorporates this document as long as this IPR,
|
||||
License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy,
|
||||
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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<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">
|
||||
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.imsglobal.org/xsd/ims_xlink.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
XSD Data File Information
|
||||
-------------------------
|
||||
Author: Colin Smythe (IMS, UK)
|
||||
Date: 31st October, 2006
|
||||
Version: 2.0
|
||||
Status: Public Draft
|
||||
Description: This is a normative representation of the IMS Packaging Extension 1.0 Information Model for binding
|
||||
purposes. Read the corresponding IMS Content Packaging Information Model for the Platform
|
||||
Independent Model representation.
|
||||
|
||||
History: Version 2 includes the modified definition of LingualTitle.
|
||||
Version 1 of the IMS Packaging Utility v1.2 XSD for public draft release.
|
||||
It has a target namespace of http://www.imsglobal.org/xsd/imscp_extensionv1p2.
|
||||
This Utility uses this general approach to modeling:
|
||||
(1) All of the elements and attributes are defined as local to their host object;
|
||||
(2) There are multiple host objects;
|
||||
(3) Comments have been added to the complexType definitions.
|
||||
|
||||
Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information
|
||||
contained in this binding ("Specification") for purposes of scientific
|
||||
experimental and scholarly collaboration only. IMS/GLC makes no warranty or
|
||||
representation regarding the accuracy or completeness of the Specification.
|
||||
This material is provided on an "As Is" and "As Available basis".
|
||||
The Specification is at all times subject to change and revision without
|
||||
notice. It is your sole responsibility to evaluate the usefulness, accuracy
|
||||
and completeness of the Specification as it relates to you. IMS/GLC would
|
||||
appreciate receiving your comments and suggestions. Please contact IMS/GLC
|
||||
through our website at: http://www.imsglobal.org.
|
||||
|
||||
Source XSLT File Information
|
||||
----------------------------
|
||||
XSL Generator: UMLtoXSDTransformv0p7.xsl
|
||||
XSLT Processor: Xalan
|
||||
Release: 1.0 Beta 1
|
||||
Date: 30th November, 2005
|
||||
|
||||
Auto-generation Tool
|
||||
--------------------
|
||||
This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool. While every attempt
|
||||
has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware
|
||||
that this is an experimental tool. Permission is given to make use of this tool. IMS makes no
|
||||
claim on the materials created by third party users of this tool. Details on how to use this tool
|
||||
are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"
|
||||
available at the IMS web-site.
|
||||
Tool Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Generate Global Attributes *********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate Namespaced extension Group ************************************************************* -->
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the enumerated simpleType declarations ************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the simpleType elements based IMS data-types ******************************************* -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the derived data-type elements ********************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the data-type elements ****************************************************************** -->
|
||||
|
||||
<xs:complexType name="IPointer.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A bound instance of an IPointer object allows a packager to associate
|
||||
a specific XML node set in the same IMS Manifest Document that contains
|
||||
it or an XML node set in a different IMS Manifest Document instance with
|
||||
the parent object containing an IMS Pointer instance.
|
||||
|
||||
A referenced node set must be a valid child of the referencing parent element,
|
||||
both as to kind and multiplicity in a referencing parent's context.
|
||||
|
||||
<p>Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute ref="xlink:type" use="optional" default="simple" />
|
||||
<xs:attribute ref="xlink:href" use="required" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Metadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An instance of the metadata element contains data structures that declare descriptive
|
||||
information about a metadata element's parent only.
|
||||
|
||||
One or more different metadata models may be declared as child extensions of a
|
||||
metadata element.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imMetadata: Metadata.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Variant.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A variant element is closely analogous to a resource element in the
|
||||
IMS Content Packaging Information Model. Variant is a container for a
|
||||
an alternative resource. A resource may contain references
|
||||
to assets that are all of the same type or different types (i.e., file formats).
|
||||
|
||||
The Variant class points to the alternatibe resource. Metadata is used to
|
||||
describe the nature of a collection of alternative assets and their intended
|
||||
use. Examples include, but are not limited to, use as lingual variants,
|
||||
visual or auditory variants, remediation variants, or platform delivery variants.
|
||||
|
||||
The scope of referenced assets is specific to a Variant object. Their use is in the
|
||||
context of the parent object containing a variant instance, typically a bound instance
|
||||
of a Resource object from the IMS CP namespace.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="1" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="identifierref" use="required" type="xs:IDREF" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="LingualTitle.Type">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="language" use="required" type="xs:string" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the elements ********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the root element(s) *************************************************************** -->
|
||||
|
||||
<xs:element name="ipointer" type="IPointer.Type" />
|
||||
<xs:element name="variant" type="Variant.Type" />
|
||||
<xs:element name="lingualTitle" type="LingualTitle.Type" />
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2
|
||||
found at http://www.imsglobal.org/content/packaging and the original IMS schema binding or code base
|
||||
http://www.imsglobal.org/content/packaging/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent
|
||||
claims or other intellectual property rights of which they may be aware that might be infringed by the schema
|
||||
binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be
|
||||
claimed to pertain to the implementation or use of the technology described in this document or the extent to
|
||||
which any license under such rights might or might not be available; neither does it represent that it has made
|
||||
any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications
|
||||
can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free,
|
||||
non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once
|
||||
registered you are granted permission to transfer unlimited distribution rights of this document for the purposes
|
||||
of third-party or other distribution of your product or service that incorporates this document as long as this IPR,
|
||||
License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy,
|
||||
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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<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">
|
||||
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.imsglobal.org/xsd/ims_xlink.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
XSD Data File Information
|
||||
-------------------------
|
||||
Author: Colin Smythe (IMS, UK)
|
||||
Date: 31st October, 2006
|
||||
Version: 2.0
|
||||
Status: Public Draft
|
||||
Description: This is a normative representation of the IMS Packaging Extension 1.0 Information Model for binding
|
||||
purposes. Read the corresponding IMS Content Packaging Information Model for the Platform
|
||||
Independent Model representation.
|
||||
|
||||
History: Version 2 includes the modified definition of LingualTitle.
|
||||
Version 1 of the IMS Packaging Utility v1.2 XSD for public draft release.
|
||||
It has a target namespace of http://www.imsglobal.org/xsd/imscp_extensionv1p2.
|
||||
This Utility uses this general approach to modeling:
|
||||
(1) All of the elements and attributes are defined as local to their host object;
|
||||
(2) There are multiple host objects;
|
||||
(3) Comments have been added to the complexType definitions.
|
||||
|
||||
Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information
|
||||
contained in this binding ("Specification") for purposes of scientific
|
||||
experimental and scholarly collaboration only. IMS/GLC makes no warranty or
|
||||
representation regarding the accuracy or completeness of the Specification.
|
||||
This material is provided on an "As Is" and "As Available basis".
|
||||
The Specification is at all times subject to change and revision without
|
||||
notice. It is your sole responsibility to evaluate the usefulness, accuracy
|
||||
and completeness of the Specification as it relates to you. IMS/GLC would
|
||||
appreciate receiving your comments and suggestions. Please contact IMS/GLC
|
||||
through our website at: http://www.imsglobal.org.
|
||||
|
||||
Source XSLT File Information
|
||||
----------------------------
|
||||
XSL Generator: UMLtoXSDTransformv0p7.xsl
|
||||
XSLT Processor: Xalan
|
||||
Release: 1.0 Beta 1
|
||||
Date: 30th November, 2005
|
||||
|
||||
Auto-generation Tool
|
||||
--------------------
|
||||
This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool. While every attempt
|
||||
has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware
|
||||
that this is an experimental tool. Permission is given to make use of this tool. IMS makes no
|
||||
claim on the materials created by third party users of this tool. Details on how to use this tool
|
||||
are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"
|
||||
available at the IMS web-site.
|
||||
Tool Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Generate Global Attributes *********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate Namespaced extension Group ************************************************************* -->
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the enumerated simpleType declarations ************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the simpleType elements based IMS data-types ******************************************* -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the derived data-type elements ********************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the data-type elements ****************************************************************** -->
|
||||
|
||||
<xs:complexType name="IPointer.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A bound instance of an IPointer object allows a packager to associate
|
||||
a specific XML node set in the same IMS Manifest Document that contains
|
||||
it or an XML node set in a different IMS Manifest Document instance with
|
||||
the parent object containing an IMS Pointer instance.
|
||||
|
||||
A referenced node set must be a valid child of the referencing parent element,
|
||||
both as to kind and multiplicity in a referencing parent's context.
|
||||
|
||||
<p>Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute ref="xlink:type" use="optional" default="simple" />
|
||||
<xs:attribute ref="xlink:href" use="required" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Metadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An instance of the metadata element contains data structures that declare descriptive
|
||||
information about a metadata element's parent only.
|
||||
|
||||
One or more different metadata models may be declared as child extensions of a
|
||||
metadata element.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imMetadata: Metadata.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Variant.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A variant element is closely analogous to a resource element in the
|
||||
IMS Content Packaging Information Model. Variant is a container for a
|
||||
an alternative resource. A resource may contain references
|
||||
to assets that are all of the same type or different types (i.e., file formats).
|
||||
|
||||
The Variant class points to the alternatibe resource. Metadata is used to
|
||||
describe the nature of a collection of alternative assets and their intended
|
||||
use. Examples include, but are not limited to, use as lingual variants,
|
||||
visual or auditory variants, remediation variants, or platform delivery variants.
|
||||
|
||||
The scope of referenced assets is specific to a Variant object. Their use is in the
|
||||
context of the parent object containing a variant instance, typically a bound instance
|
||||
of a Resource object from the IMS CP namespace.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="1" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="identifierref" use="required" type="xs:IDREF" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="LingualTitle.Type">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="language" use="required" type="xs:string" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the elements ********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the root element(s) *************************************************************** -->
|
||||
|
||||
<xs:element name="ipointer" type="IPointer.Type" />
|
||||
<xs:element name="variant" type="Variant.Type" />
|
||||
<xs:element name="lingualTitle" type="LingualTitle.Type" />
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,68 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.ascc.net/xml/schematron">
|
||||
<ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsd" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
|
||||
<ns prefix="ac" uri="http://iwm.uni-koblenz.de/xsd/tel_addc_v1p1" />
|
||||
<ns prefix="ims" uri="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" />
|
||||
<!--***********************************************************************************************-->
|
||||
<!--** Constraints document - this document holds Schematron rules that have been generated from **-->
|
||||
<!--** AP condition and assertion elements. IMPORTANT: If this document exists, it MUST be **-->
|
||||
<!--** used in the validation of instances derived from the resultant schema - failure to do so **-->
|
||||
<!--** can result in an instance that does not conform to either the base schema or the **-->
|
||||
<!--** Application Profile. **-->
|
||||
<!--***********************************************************************************************-->
|
||||
<pattern name="pattern_1">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref) and not (count(../item)=0)">Assertion failed for pattern_1. An Item object which represents a folder is indicated by the absence of an IdentifierRef characteristic object. Folder Items support unlimited nesting of other folder Items and learning object link Items. Learning Application Resource Item objects may be nested by folder Item object but may not nest other folder or Learning Application resource Item objects.(#S04)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_2">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref) and (../../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current() = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_2. A Resource object which is a Learning Object Web Content may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_3">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item) and (@isvisible='false') and not (count(./item)=count(./item[@isvisible='false']))">Assertion failed for pattern_3. If an item is invisible, its descendants must be invisible too.(#S02)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_4">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsdt_xmlv1p0') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier or current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_4. A Resource object which is a Discussion Topic associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S12)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_5">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_5.
|
||||
The test was: .
|
||||
The context was: ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_6">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') and not ((current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier) or (current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier))">Assertion failed for pattern_6. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_7">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='webcontent' or ./@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and ./@identifier = //item/@identifierref) and not (count(./@href)=1)">Assertion failed for pattern_7. If a cartridge web content or associated content resource is linked from a Learning Application Object link Item object it must have an Href characteristic object which represents the launchable resource.(#S05)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_8">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imsdt_xmlv1p0') and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_8. For Discussion Topic Resources the Resource object must contain a single File object which references the Discussion Topic descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imsdt_v1p0 schema. It must not have any href attribute.(#S06)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_9">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imswl_xmlv1p0') and not (count(./file)=1 and count(./dependency)=0 and count(./@href)=0)">Assertion failed for pattern_9. For Web Link Resources the Resource object must contain a single File object which references the Web Link descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imswl_v1p0 schema. It must contain neither Dependency objects nor an href attribute.(#S07)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_10">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank')) and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_10. For Assessment or Question Bank Resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.xdm. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
</schema>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.ascc.net/xml/schematron">
|
||||
<ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsd" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
|
||||
<ns prefix="ac" uri="http://iwm.uni-koblenz.de/xsd/tel_addc_v1p1" />
|
||||
<ns prefix="ims" uri="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" />
|
||||
<!--***********************************************************************************************-->
|
||||
<!--** Constraints document - this document holds Schematron rules that have been generated from **-->
|
||||
<!--** AP condition and assertion elements. IMPORTANT: If this document exists, it MUST be **-->
|
||||
<!--** used in the validation of instances derived from the resultant schema - failure to do so **-->
|
||||
<!--** can result in an instance that does not conform to either the base schema or the **-->
|
||||
<!--** Application Profile. **-->
|
||||
<!--***********************************************************************************************-->
|
||||
<pattern name="pattern_1">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/@identifierref | ims:manifest/ims:organizations/ims:organization/ims:item/@identifierref | @identifierref) and not (count(../item)=0)">Assertion failed for pattern_1. An Item object which represents a folder is indicated by the absence of an IdentifierRef characteristic object. Folder Items support unlimited nesting of other folder Items and learning object link Items. Learning Application Resource Item objects may be nested by folder Item object but may not nest other folder or Learning Application resource Item objects.(#S04)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_2">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency/@identifierref | ims:manifest/ims:resources/ims:resource/ims:dependency/@identifierref) and (../../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current() = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_2. A Resource object which is a Learning Object Web Content may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_3">
|
||||
<rule context="ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item">
|
||||
<assert test="(ims:organizations/ims:organization/ims:item/ims:item | ims:manifest/ims:organizations/ims:organization/ims:item/ims:item) and (@isvisible='false') and not (count(./item)=count(./item[@isvisible='false']))">Assertion failed for pattern_3. If an item is invisible, its descendants must be invisible too.(#S02)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_4">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsdt_xmlv1p0') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier or current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_4. A Resource object which is a Discussion Topic associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S12)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_5">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and not (current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier)">Assertion failed for pattern_5.
|
||||
The test was: .
|
||||
The context was: ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_6">
|
||||
<rule context="ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(ims:resources/ims:resource/ims:dependency | ims:manifest/ims:resources/ims:resource/ims:dependency) and (../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') and not ((current()/@identifierref = /manifest/resources/resource[@type='webcontent']/@identifier) or (current()/@identifierref = /manifest/resources/resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier))">Assertion failed for pattern_6. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_7">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='webcontent' or ./@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and ./@identifier = //item/@identifierref) and not (count(./@href)=1)">Assertion failed for pattern_7. If a cartridge web content or associated content resource is linked from a Learning Application Object link Item object it must have an Href characteristic object which represents the launchable resource.(#S05)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_8">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imsdt_xmlv1p0') and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_8. For Discussion Topic Resources the Resource object must contain a single File object which references the Discussion Topic descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imsdt_v1p0 schema. It must not have any href attribute.(#S06)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_9">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and (./@type='imswl_xmlv1p0') and not (count(./file)=1 and count(./dependency)=0 and count(./@href)=0)">Assertion failed for pattern_9. For Web Link Resources the Resource object must contain a single File object which references the Web Link descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imswl_v1p0 schema. It must contain neither Dependency objects nor an href attribute.(#S07)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<pattern name="pattern_10">
|
||||
<rule context="ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="(ims:resources/ims:resource | ims:manifest/ims:resources/ims:resource) and ((./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank')) and not (count(./file)=1 and count(./@href)=0)">Assertion failed for pattern_10. For Assessment or Question Bank Resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.xdm. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
</schema>
|
||||
|
||||
|
||||
@@ -1,234 +1,234 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2
|
||||
found at http://www.imsglobal.org/content/packaging and the original IMS schema binding or code base
|
||||
http://www.imsglobal.org/content/packaging/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent
|
||||
claims or other intellectual property rights of which they may be aware that might be infringed by the schema
|
||||
binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be
|
||||
claimed to pertain to the implementation or use of the technology described in this document or the extent to
|
||||
which any license under such rights might or might not be available; neither does it represent that it has made
|
||||
any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications
|
||||
can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free,
|
||||
non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once
|
||||
registered you are granted permission to transfer unlimited distribution rights of this document for the purposes
|
||||
of third-party or other distribution of your product or service that incorporates this document as long as this IPR,
|
||||
License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy,
|
||||
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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imscp_extensionv1p2.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<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">
|
||||
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.imsglobal.org/xsd/ims_xlink.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
XSD Data File Information
|
||||
-------------------------
|
||||
Author: Colin Smythe (IMS, UK)
|
||||
Date: 31st October, 2006
|
||||
Version: 2.0
|
||||
Status: Public Draft
|
||||
Description: This is a normative representation of the IMS Packaging Extension 1.0 Information Model for binding
|
||||
purposes. Read the corresponding IMS Content Packaging Information Model for the Platform
|
||||
Independent Model representation.
|
||||
|
||||
History: Version 2 includes the modified definition of LingualTitle.
|
||||
Version 1 of the IMS Packaging Utility v1.2 XSD for public draft release.
|
||||
It has a target namespace of http://www.imsglobal.org/xsd/imscp_extensionv1p2.
|
||||
This Utility uses this general approach to modeling:
|
||||
(1) All of the elements and attributes are defined as local to their host object;
|
||||
(2) There are multiple host objects;
|
||||
(3) Comments have been added to the complexType definitions.
|
||||
|
||||
Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information
|
||||
contained in this binding ("Specification") for purposes of scientific
|
||||
experimental and scholarly collaboration only. IMS/GLC makes no warranty or
|
||||
representation regarding the accuracy or completeness of the Specification.
|
||||
This material is provided on an "As Is" and "As Available basis".
|
||||
The Specification is at all times subject to change and revision without
|
||||
notice. It is your sole responsibility to evaluate the usefulness, accuracy
|
||||
and completeness of the Specification as it relates to you. IMS/GLC would
|
||||
appreciate receiving your comments and suggestions. Please contact IMS/GLC
|
||||
through our website at: http://www.imsglobal.org.
|
||||
|
||||
Source XSLT File Information
|
||||
----------------------------
|
||||
XSL Generator: UMLtoXSDTransformv0p7.xsl
|
||||
XSLT Processor: Xalan
|
||||
Release: 1.0 Beta 1
|
||||
Date: 30th November, 2005
|
||||
|
||||
Auto-generation Tool
|
||||
--------------------
|
||||
This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool. While every attempt
|
||||
has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware
|
||||
that this is an experimental tool. Permission is given to make use of this tool. IMS makes no
|
||||
claim on the materials created by third party users of this tool. Details on how to use this tool
|
||||
are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"
|
||||
available at the IMS web-site.
|
||||
Tool Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
</xs:documentation>
|
||||
<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>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Generate Global Attributes *********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate Namespaced extension Group ************************************************************* -->
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the enumerated simpleType declarations ************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the simpleType elements based IMS data-types ******************************************* -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the derived data-type elements ********************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the data-type elements ****************************************************************** -->
|
||||
|
||||
<xs:complexType name="IPointer.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A bound instance of an IPointer object allows a packager to associate
|
||||
a specific XML node set in the same IMS Manifest Document that contains
|
||||
it or an XML node set in a different IMS Manifest Document instance with
|
||||
the parent object containing an IMS Pointer instance.
|
||||
|
||||
A referenced node set must be a valid child of the referencing parent element,
|
||||
both as to kind and multiplicity in a referencing parent's context.
|
||||
|
||||
<p>Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute ref="xlink:type" use="optional" default="simple" />
|
||||
<xs:attribute ref="xlink:href" use="required" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Metadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An instance of the metadata element contains data structures that declare descriptive
|
||||
information about a metadata element's parent only.
|
||||
|
||||
One or more different metadata models may be declared as child extensions of a
|
||||
metadata element.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imMetadata: Metadata.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Variant.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A variant element is closely analogous to a resource element in the
|
||||
IMS Content Packaging Information Model. Variant is a container for a
|
||||
an alternative resource. A resource may contain references
|
||||
to assets that are all of the same type or different types (i.e., file formats).
|
||||
|
||||
The Variant class points to the alternatibe resource. Metadata is used to
|
||||
describe the nature of a collection of alternative assets and their intended
|
||||
use. Examples include, but are not limited to, use as lingual variants,
|
||||
visual or auditory variants, remediation variants, or platform delivery variants.
|
||||
|
||||
The scope of referenced assets is specific to a Variant object. Their use is in the
|
||||
context of the parent object containing a variant instance, typically a bound instance
|
||||
of a Resource object from the IMS CP namespace.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="1" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="identifierref" use="required" type="xs:IDREF" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="LingualTitle.Type">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="language" use="required" type="xs:string" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the elements ********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the root element(s) *************************************************************** -->
|
||||
|
||||
<xs:element name="ipointer" type="IPointer.Type" />
|
||||
<xs:element name="variant" type="Variant.Type" />
|
||||
<xs:element name="lingualTitle" type="LingualTitle.Type" />
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2
|
||||
found at http://www.imsglobal.org/content/packaging and the original IMS schema binding or code base
|
||||
http://www.imsglobal.org/content/packaging/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent
|
||||
claims or other intellectual property rights of which they may be aware that might be infringed by the schema
|
||||
binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be
|
||||
claimed to pertain to the implementation or use of the technology described in this document or the extent to
|
||||
which any license under such rights might or might not be available; neither does it represent that it has made
|
||||
any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications
|
||||
can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free,
|
||||
non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once
|
||||
registered you are granted permission to transfer unlimited distribution rights of this document for the purposes
|
||||
of third-party or other distribution of your product or service that incorporates this document as long as this IPR,
|
||||
License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy,
|
||||
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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imscp_extensionv1p2.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<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">
|
||||
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.imsglobal.org/xsd/ims_xlink.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
XSD Data File Information
|
||||
-------------------------
|
||||
Author: Colin Smythe (IMS, UK)
|
||||
Date: 31st October, 2006
|
||||
Version: 2.0
|
||||
Status: Public Draft
|
||||
Description: This is a normative representation of the IMS Packaging Extension 1.0 Information Model for binding
|
||||
purposes. Read the corresponding IMS Content Packaging Information Model for the Platform
|
||||
Independent Model representation.
|
||||
|
||||
History: Version 2 includes the modified definition of LingualTitle.
|
||||
Version 1 of the IMS Packaging Utility v1.2 XSD for public draft release.
|
||||
It has a target namespace of http://www.imsglobal.org/xsd/imscp_extensionv1p2.
|
||||
This Utility uses this general approach to modeling:
|
||||
(1) All of the elements and attributes are defined as local to their host object;
|
||||
(2) There are multiple host objects;
|
||||
(3) Comments have been added to the complexType definitions.
|
||||
|
||||
Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information
|
||||
contained in this binding ("Specification") for purposes of scientific
|
||||
experimental and scholarly collaboration only. IMS/GLC makes no warranty or
|
||||
representation regarding the accuracy or completeness of the Specification.
|
||||
This material is provided on an "As Is" and "As Available basis".
|
||||
The Specification is at all times subject to change and revision without
|
||||
notice. It is your sole responsibility to evaluate the usefulness, accuracy
|
||||
and completeness of the Specification as it relates to you. IMS/GLC would
|
||||
appreciate receiving your comments and suggestions. Please contact IMS/GLC
|
||||
through our website at: http://www.imsglobal.org.
|
||||
|
||||
Source XSLT File Information
|
||||
----------------------------
|
||||
XSL Generator: UMLtoXSDTransformv0p7.xsl
|
||||
XSLT Processor: Xalan
|
||||
Release: 1.0 Beta 1
|
||||
Date: 30th November, 2005
|
||||
|
||||
Auto-generation Tool
|
||||
--------------------
|
||||
This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool. While every attempt
|
||||
has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware
|
||||
that this is an experimental tool. Permission is given to make use of this tool. IMS makes no
|
||||
claim on the materials created by third party users of this tool. Details on how to use this tool
|
||||
are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"
|
||||
available at the IMS web-site.
|
||||
Tool Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
</xs:documentation>
|
||||
<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>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Generate Global Attributes *********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate Namespaced extension Group ************************************************************* -->
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the enumerated simpleType declarations ************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the simpleType elements based IMS data-types ******************************************* -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the derived data-type elements ********************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the data-type elements ****************************************************************** -->
|
||||
|
||||
<xs:complexType name="IPointer.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A bound instance of an IPointer object allows a packager to associate
|
||||
a specific XML node set in the same IMS Manifest Document that contains
|
||||
it or an XML node set in a different IMS Manifest Document instance with
|
||||
the parent object containing an IMS Pointer instance.
|
||||
|
||||
A referenced node set must be a valid child of the referencing parent element,
|
||||
both as to kind and multiplicity in a referencing parent's context.
|
||||
|
||||
<p>Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute ref="xlink:type" use="optional" default="simple" />
|
||||
<xs:attribute ref="xlink:href" use="required" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Metadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An instance of the metadata element contains data structures that declare descriptive
|
||||
information about a metadata element's parent only.
|
||||
|
||||
One or more different metadata models may be declared as child extensions of a
|
||||
metadata element.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imMetadata: Metadata.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Variant.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A variant element is closely analogous to a resource element in the
|
||||
IMS Content Packaging Information Model. Variant is a container for a
|
||||
an alternative resource. A resource may contain references
|
||||
to assets that are all of the same type or different types (i.e., file formats).
|
||||
|
||||
The Variant class points to the alternatibe resource. Metadata is used to
|
||||
describe the nature of a collection of alternative assets and their intended
|
||||
use. Examples include, but are not limited to, use as lingual variants,
|
||||
visual or auditory variants, remediation variants, or platform delivery variants.
|
||||
|
||||
The scope of referenced assets is specific to a Variant object. Their use is in the
|
||||
context of the parent object containing a variant instance, typically a bound instance
|
||||
of a Resource object from the IMS CP namespace.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="1" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="identifierref" use="required" type="xs:IDREF" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="LingualTitle.Type">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="language" use="required" type="xs:string" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the elements ********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the root element(s) *************************************************************** -->
|
||||
|
||||
<xs:element name="ipointer" type="IPointer.Type" />
|
||||
<xs:element name="variant" type="Variant.Type" />
|
||||
<xs:element name="lingualTitle" type="LingualTitle.Type" />
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
</xs:schema>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,181 +1,181 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/ccv1p0/imscc_authv1p0.html.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.imsglobal.org/xsd/ims_qtiasiv1p2" targetNamespace="http://www.imsglobal.org/xsd/ims_qtiasiv1p2">
|
||||
<xsd:import namespace="ims_qtiasiv1p2_def_copy.xsd" schemaLocation="ims_qtiasiv1p2_def_copy.xsd" />
|
||||
<!--****************************************************************************************-->
|
||||
<!--** Definition document - this document holds AP defined simpleType elements that have **-->
|
||||
<!--** been referenced through a type attribute in one of the modified, resultant schema. **-->
|
||||
<!--****************************************************************************************-->
|
||||
<xs:simpleType name="ExactOnlyType">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="Exact" />
|
||||
<xs:enumeration value="Range" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="Exact" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="EclipseOnlyType">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="Ellipse" />
|
||||
<xs:enumeration value="Rectangle" />
|
||||
<xs:enumeration value="Bounded" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="Ellipse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string4">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="4" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string32">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="32" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string256">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="256" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string2">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string16">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="16" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string1024">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1024" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="SetAddSubtractOnly">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="Set" />
|
||||
<xs:enumeration value="Add" />
|
||||
<xs:enumeration value="Subtract" />
|
||||
<xs:enumeration value="Multiply" />
|
||||
<xs:enumeration value="Divide" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="Set" />
|
||||
<xs:enumeration value="Add" />
|
||||
<xs:enumeration value="Subtract" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="ScoreOnlyType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="SCORE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DummyType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DecimalIntegerOnly">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="Integer" />
|
||||
<xs:enumeration value="String" />
|
||||
<xs:enumeration value="Decimal" />
|
||||
<xs:enumeration value="Scientific" />
|
||||
<xs:enumeration value="Boolean" />
|
||||
<xs:enumeration value="Enumerated" />
|
||||
<xs:enumeration value="Set" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="Integer" />
|
||||
<xs:enumeration value="Decimal" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CompleteOnly">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="Complete" />
|
||||
<xs:enumeration value="Incremental" />
|
||||
<xs:enumeration value="Multilevel" />
|
||||
<xs:enumeration value="Proprietary" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="Complete" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AllOnlyValue">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="All" />
|
||||
<xs:enumeration value="Administrator" />
|
||||
<xs:enumeration value="AdminAuthority" />
|
||||
<xs:enumeration value="Assessor" />
|
||||
<xs:enumeration value="Author" />
|
||||
<xs:enumeration value="Candidate" />
|
||||
<xs:enumeration value="InvigilatorProctor" />
|
||||
<xs:enumeration value="Psychometrician" />
|
||||
<xs:enumeration value="Scorer" />
|
||||
<xs:enumeration value="Tutor" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="All" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xsd:schema>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/ccv1p0/imscc_authv1p0.html.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.imsglobal.org/xsd/ims_qtiasiv1p2" targetNamespace="http://www.imsglobal.org/xsd/ims_qtiasiv1p2">
|
||||
<xsd:import namespace="ims_qtiasiv1p2_def_copy.xsd" schemaLocation="ims_qtiasiv1p2_def_copy.xsd" />
|
||||
<!--****************************************************************************************-->
|
||||
<!--** Definition document - this document holds AP defined simpleType elements that have **-->
|
||||
<!--** been referenced through a type attribute in one of the modified, resultant schema. **-->
|
||||
<!--****************************************************************************************-->
|
||||
<xs:simpleType name="ExactOnlyType">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="Exact" />
|
||||
<xs:enumeration value="Range" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="Exact" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="EclipseOnlyType">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="Ellipse" />
|
||||
<xs:enumeration value="Rectangle" />
|
||||
<xs:enumeration value="Bounded" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="Ellipse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string4">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="4" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string32">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="32" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string256">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="256" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string2">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string16">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="16" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="string1024">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="1024" />
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="SetAddSubtractOnly">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="Set" />
|
||||
<xs:enumeration value="Add" />
|
||||
<xs:enumeration value="Subtract" />
|
||||
<xs:enumeration value="Multiply" />
|
||||
<xs:enumeration value="Divide" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="Set" />
|
||||
<xs:enumeration value="Add" />
|
||||
<xs:enumeration value="Subtract" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="ScoreOnlyType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="SCORE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DummyType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DecimalIntegerOnly">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="Integer" />
|
||||
<xs:enumeration value="String" />
|
||||
<xs:enumeration value="Decimal" />
|
||||
<xs:enumeration value="Scientific" />
|
||||
<xs:enumeration value="Boolean" />
|
||||
<xs:enumeration value="Enumerated" />
|
||||
<xs:enumeration value="Set" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="Integer" />
|
||||
<xs:enumeration value="Decimal" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CompleteOnly">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="Complete" />
|
||||
<xs:enumeration value="Incremental" />
|
||||
<xs:enumeration value="Multilevel" />
|
||||
<xs:enumeration value="Proprietary" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="Complete" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AllOnlyValue">
|
||||
<xs:restriction>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NMTOKEN">
|
||||
<xs:enumeration value="All" />
|
||||
<xs:enumeration value="Administrator" />
|
||||
<xs:enumeration value="AdminAuthority" />
|
||||
<xs:enumeration value="Assessor" />
|
||||
<xs:enumeration value="Author" />
|
||||
<xs:enumeration value="Candidate" />
|
||||
<xs:enumeration value="InvigilatorProctor" />
|
||||
<xs:enumeration value="Psychometrician" />
|
||||
<xs:enumeration value="Scorer" />
|
||||
<xs:enumeration value="Tutor" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:whiteSpace value="collapse" />
|
||||
<xs:enumeration value="All" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xsd:schema>
|
||||
|
||||
|
||||
@@ -1,145 +1,145 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/XML/1998/namespace" xml:lang="en">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
See http://www.w3.org/XML/1998/namespace.html and
|
||||
http://www.w3.org/TR/REC-xml for information about this namespace.
|
||||
|
||||
This schema document describes the XML namespace, in a form
|
||||
suitable for import by other schema documents.
|
||||
|
||||
Note that local names in this namespace are intended to be defined
|
||||
only by the World Wide Web Consortium or its subgroups. The
|
||||
following names are currently defined in this namespace and should
|
||||
not be used with conflicting semantics by any Working Group,
|
||||
specification, or document instance:
|
||||
|
||||
base (as an attribute name): denotes an attribute whose value
|
||||
provides a URI to be used as the base for interpreting any
|
||||
relative URIs in the scope of the element on which it
|
||||
appears; its value is inherited. This name is reserved
|
||||
by virtue of its definition in the XML Base specification.
|
||||
|
||||
id (as an attribute name): denotes an attribute whose value
|
||||
should be interpreted as if declared to be of type ID.
|
||||
This name is reserved by virtue of its definition in the
|
||||
xml:id specification.
|
||||
|
||||
lang (as an attribute name): denotes an attribute whose value
|
||||
is a language code for the natural language of the content of
|
||||
any element; its value is inherited. This name is reserved
|
||||
by virtue of its definition in the XML specification.
|
||||
|
||||
space (as an attribute name): denotes an attribute whose
|
||||
value is a keyword indicating what whitespace processing
|
||||
discipline is intended for the content of the element; its
|
||||
value is inherited. This name is reserved by virtue of its
|
||||
definition in the XML specification.
|
||||
|
||||
Father (in any context at all): denotes Jon Bosak, the chair of
|
||||
the original XML Working Group. This name is reserved by
|
||||
the following decision of the W3C XML Plenary and
|
||||
XML Coordination groups:
|
||||
|
||||
In appreciation for his vision, leadership and dedication
|
||||
the W3C XML Plenary on this 10th day of February, 2000
|
||||
reserves for Jon Bosak in perpetuity the XML name
|
||||
xml:Father
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>This schema defines attributes and an attribute group
|
||||
suitable for use by
|
||||
schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
|
||||
attributes on elements they define.
|
||||
|
||||
To enable this, such a schema must import this schema
|
||||
for the XML namespace, e.g. as follows:
|
||||
<schema . . .>
|
||||
. . .
|
||||
<import namespace="http://www.w3.org/XML/1998/namespace"
|
||||
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
|
||||
|
||||
Subsequently, qualified reference to any of the attributes
|
||||
or the group defined below will have the desired effect, e.g.
|
||||
|
||||
<type . . .>
|
||||
. . .
|
||||
<attributeGroup ref="xml:specialAttrs"/>
|
||||
|
||||
will define a type which will schema-validate an instance
|
||||
element with any of those attributes</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>In keeping with the XML Schema WG's standard versioning
|
||||
policy, this schema document will persist at
|
||||
http://www.w3.org/2007/08/xml.xsd.
|
||||
At the date of issue it can also be found at
|
||||
http://www.w3.org/2001/xml.xsd.
|
||||
The schema document at that URI may however change in the future,
|
||||
in order to remain compatible with the latest version of XML Schema
|
||||
itself, or with the XML namespace itself. In other words, if the XML
|
||||
Schema or XML namespaces change, the version of this document at
|
||||
http://www.w3.org/2001/xml.xsd will change
|
||||
accordingly; the version at
|
||||
http://www.w3.org/2007/08/xml.xsd will not change.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:attribute name="lang">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Attempting to install the relevant ISO 2- and 3-letter
|
||||
codes as the enumerated possible values is probably never
|
||||
going to be a realistic possibility. See
|
||||
RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
|
||||
at http://www.iana.org/assignments/lang-tag-apps.htm for
|
||||
further information.
|
||||
|
||||
The union allows for the 'un-declaration' of xml:lang with
|
||||
the empty string.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:union memberTypes="xs:language">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:union>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="space">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="default" />
|
||||
<xs:enumeration value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="base" type="xs:anyURI">
|
||||
<xs:annotation>
|
||||
<xs:documentation>See http://www.w3.org/TR/xmlbase/ for
|
||||
information about this attribute.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="id" type="xs:ID">
|
||||
<xs:annotation>
|
||||
<xs:documentation>See http://www.w3.org/TR/xml-id/ for
|
||||
information about this attribute.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attributeGroup name="specialAttrs">
|
||||
<xs:attribute ref="xml:base" />
|
||||
<xs:attribute ref="xml:lang" />
|
||||
<xs:attribute ref="xml:space" />
|
||||
<xs:attribute ref="xml:id" />
|
||||
</xs:attributeGroup>
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/XML/1998/namespace" xml:lang="en">
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
See http://www.w3.org/XML/1998/namespace.html and
|
||||
http://www.w3.org/TR/REC-xml for information about this namespace.
|
||||
|
||||
This schema document describes the XML namespace, in a form
|
||||
suitable for import by other schema documents.
|
||||
|
||||
Note that local names in this namespace are intended to be defined
|
||||
only by the World Wide Web Consortium or its subgroups. The
|
||||
following names are currently defined in this namespace and should
|
||||
not be used with conflicting semantics by any Working Group,
|
||||
specification, or document instance:
|
||||
|
||||
base (as an attribute name): denotes an attribute whose value
|
||||
provides a URI to be used as the base for interpreting any
|
||||
relative URIs in the scope of the element on which it
|
||||
appears; its value is inherited. This name is reserved
|
||||
by virtue of its definition in the XML Base specification.
|
||||
|
||||
id (as an attribute name): denotes an attribute whose value
|
||||
should be interpreted as if declared to be of type ID.
|
||||
This name is reserved by virtue of its definition in the
|
||||
xml:id specification.
|
||||
|
||||
lang (as an attribute name): denotes an attribute whose value
|
||||
is a language code for the natural language of the content of
|
||||
any element; its value is inherited. This name is reserved
|
||||
by virtue of its definition in the XML specification.
|
||||
|
||||
space (as an attribute name): denotes an attribute whose
|
||||
value is a keyword indicating what whitespace processing
|
||||
discipline is intended for the content of the element; its
|
||||
value is inherited. This name is reserved by virtue of its
|
||||
definition in the XML specification.
|
||||
|
||||
Father (in any context at all): denotes Jon Bosak, the chair of
|
||||
the original XML Working Group. This name is reserved by
|
||||
the following decision of the W3C XML Plenary and
|
||||
XML Coordination groups:
|
||||
|
||||
In appreciation for his vision, leadership and dedication
|
||||
the W3C XML Plenary on this 10th day of February, 2000
|
||||
reserves for Jon Bosak in perpetuity the XML name
|
||||
xml:Father
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>This schema defines attributes and an attribute group
|
||||
suitable for use by
|
||||
schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
|
||||
attributes on elements they define.
|
||||
|
||||
To enable this, such a schema must import this schema
|
||||
for the XML namespace, e.g. as follows:
|
||||
<schema . . .>
|
||||
. . .
|
||||
<import namespace="http://www.w3.org/XML/1998/namespace"
|
||||
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
|
||||
|
||||
Subsequently, qualified reference to any of the attributes
|
||||
or the group defined below will have the desired effect, e.g.
|
||||
|
||||
<type . . .>
|
||||
. . .
|
||||
<attributeGroup ref="xml:specialAttrs"/>
|
||||
|
||||
will define a type which will schema-validate an instance
|
||||
element with any of those attributes</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:annotation>
|
||||
<xs:documentation>In keeping with the XML Schema WG's standard versioning
|
||||
policy, this schema document will persist at
|
||||
http://www.w3.org/2007/08/xml.xsd.
|
||||
At the date of issue it can also be found at
|
||||
http://www.w3.org/2001/xml.xsd.
|
||||
The schema document at that URI may however change in the future,
|
||||
in order to remain compatible with the latest version of XML Schema
|
||||
itself, or with the XML namespace itself. In other words, if the XML
|
||||
Schema or XML namespaces change, the version of this document at
|
||||
http://www.w3.org/2001/xml.xsd will change
|
||||
accordingly; the version at
|
||||
http://www.w3.org/2007/08/xml.xsd will not change.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<xs:attribute name="lang">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Attempting to install the relevant ISO 2- and 3-letter
|
||||
codes as the enumerated possible values is probably never
|
||||
going to be a realistic possibility. See
|
||||
RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
|
||||
at http://www.iana.org/assignments/lang-tag-apps.htm for
|
||||
further information.
|
||||
|
||||
The union allows for the 'un-declaration' of xml:lang with
|
||||
the empty string.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:union memberTypes="xs:language">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:union>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="space">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:NCName">
|
||||
<xs:enumeration value="default" />
|
||||
<xs:enumeration value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="base" type="xs:anyURI">
|
||||
<xs:annotation>
|
||||
<xs:documentation>See http://www.w3.org/TR/xmlbase/ for
|
||||
information about this attribute.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="id" type="xs:ID">
|
||||
<xs:annotation>
|
||||
<xs:documentation>See http://www.w3.org/TR/xml-id/ for
|
||||
information about this attribute.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attributeGroup name="specialAttrs">
|
||||
<xs:attribute ref="xml:base" />
|
||||
<xs:attribute ref="xml:lang" />
|
||||
<xs:attribute ref="xml:space" />
|
||||
<xs:attribute ref="xml:id" />
|
||||
</xs:attributeGroup>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imswl_v1p0" targetNamespace="http://www.imsglobal.org/xsd/imswl_v1p0" elementFormDefault="unqualified">
|
||||
<xs:element name="webLink" type="webLinkType" />
|
||||
<xs:complexType name="webLinkType">
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" />
|
||||
<xs:element name="url">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="href" type="xs:string" use="required" />
|
||||
<xs:attribute name="target" type="xs:string" />
|
||||
<xs:attribute name="windowFeatures" type="xs:string" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imswl_v1p0" targetNamespace="http://www.imsglobal.org/xsd/imswl_v1p0" elementFormDefault="unqualified">
|
||||
<xs:element name="webLink" type="webLinkType" />
|
||||
<xs:complexType name="webLinkType">
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" />
|
||||
<xs:element name="url">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="href" type="xs:string" use="required" />
|
||||
<xs:attribute name="target" type="xs:string" />
|
||||
<xs:attribute name="windowFeatures" type="xs:string" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,61 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imswl_v1p0.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imswl_v1p0.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imswl_v1p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imswl_v1p0" elementFormDefault="unqualified">
|
||||
<xs:element name="webLink" type="webLinkType" />
|
||||
<xs:complexType name="webLinkType">
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" />
|
||||
<xs:element name="url">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="href" type="xs:string" use="required" />
|
||||
<xs:attribute name="target" type="xs:string" />
|
||||
<xs:attribute name="windowFeatures" type="xs:string" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imswl_v1p0.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imswl_v1p0.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imswl_v1p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imswl_v1p0" elementFormDefault="unqualified">
|
||||
<xs:element name="webLink" type="webLinkType" />
|
||||
<xs:complexType name="webLinkType">
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" />
|
||||
<xs:element name="url">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="href" type="xs:string" use="required" />
|
||||
<xs:attribute name="target" type="xs:string" />
|
||||
<xs:attribute name="windowFeatures" type="xs:string" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,67 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imsdt_v1p0" targetNamespace="http://www.imsglobal.org/xsd/imsdt_v1p0" elementFormDefault="unqualified">
|
||||
|
||||
<xs:element name="topic" type="topicType" />
|
||||
<xs:complexType name="topicType">
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" />
|
||||
<xs:element name="text">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="texttype" type="textTypeType" default="text/plain" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="attachments" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="attachment" minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="href" type="xs:string" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="textTypeType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="text/html" />
|
||||
<xs:enumeration value="text/plain" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imsdt_v1p0" targetNamespace="http://www.imsglobal.org/xsd/imsdt_v1p0" elementFormDefault="unqualified">
|
||||
|
||||
<xs:element name="topic" type="topicType" />
|
||||
<xs:complexType name="topicType">
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" />
|
||||
<xs:element name="text">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="texttype" type="textTypeType" default="text/plain" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="attachments" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="attachment" minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="href" type="xs:string" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="textTypeType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="text/html" />
|
||||
<xs:enumeration value="text/plain" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,74 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imsdt_v1p0.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imsdt_v1p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imsdt_v1p0" elementFormDefault="unqualified">
|
||||
|
||||
<xs:element name="topic" type="topicType" />
|
||||
<xs:complexType name="topicType">
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" />
|
||||
<xs:element name="text">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="texttype" type="textTypeType" default="text/plain" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="attachments" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="attachment" minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="href" type="xs:string" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="textTypeType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="text/html" />
|
||||
<xs:enumeration value="text/plain" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Common Cartridge Version 1.0 found at http://www.imsglobal.org/cc/index.html and the original IMS schema binding or code base http://www.imsglobal.org/cc/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by the schema binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free, non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once registered you are granted permission to transfer unlimited distribution rights of this document for the purposes of third-party or other distribution of your product or service that incorporates this document as long as this IPR, License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy, 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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imsdt_v1p0.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imsdt_v1p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imsdt_v1p0" elementFormDefault="unqualified">
|
||||
|
||||
<xs:element name="topic" type="topicType" />
|
||||
<xs:complexType name="topicType">
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" />
|
||||
<xs:element name="text">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="texttype" type="textTypeType" default="text/plain" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="attachments" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="attachment" minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="href" type="xs:string" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="textTypeType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="text/html" />
|
||||
<xs:enumeration value="text/plain" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,80 +1,80 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" targetNamespace="http://www.imsglobal.org/xsd/imscc/imscp_v1p1">
|
||||
<xsd:import namespace="http://www.imsglobal.org/xsd/imscp_v1p1" schemaLocation="imscp_v1p2.xsd" />
|
||||
<!--****************************************************************************************-->
|
||||
<!--** Definition document - this document holds AP defined simpleType elements that have **-->
|
||||
<!--** been referenced through a type attribute in one of the modified, resultant schema. **-->
|
||||
<!--****************************************************************************************-->
|
||||
<xs:simpleType name="schemaversionFixed">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="schemaFixed">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="rootedHierarchy">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="predefinedContentTypes">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="imsdt_xmlv1p0" />
|
||||
<xs:enumeration value="imswl_xmlv1p0" />
|
||||
<xs:enumeration value="webcontent" />
|
||||
<xs:enumeration value="imsqti_xmlv1p2/imscc_xmlv1p0/assessment" />
|
||||
<xs:enumeration value="imsqti_xmlv1p2/imscc_xmlv1p0/question-bank" />
|
||||
<xs:enumeration value="associatedcontent/imscc_xmlv1p0/learning-application-resource" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="isNotVisible">
|
||||
<xs:restriction base="xs:boolean">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="defaultOrganizationProhibited">
|
||||
<xs:restriction base="xs:IDREF">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="RequiredHref">
|
||||
<xs:restriction base="xs:anyURI">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="ProhibitedHref">
|
||||
<xs:restriction base="xs:anyURI">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="OptionalHref">
|
||||
<xs:restriction base="xs:anyURI">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NoParameters">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NoParameter">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NoIsVisible">
|
||||
<xs:restriction base="xs:boolean">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NoIdentifierRef">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xsd:schema>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" targetNamespace="http://www.imsglobal.org/xsd/imscc/imscp_v1p1">
|
||||
<xsd:import namespace="http://www.imsglobal.org/xsd/imscp_v1p1" schemaLocation="imscp_v1p2.xsd" />
|
||||
<!--****************************************************************************************-->
|
||||
<!--** Definition document - this document holds AP defined simpleType elements that have **-->
|
||||
<!--** been referenced through a type attribute in one of the modified, resultant schema. **-->
|
||||
<!--****************************************************************************************-->
|
||||
<xs:simpleType name="schemaversionFixed">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="schemaFixed">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="rootedHierarchy">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="predefinedContentTypes">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
<xs:enumeration value="imsdt_xmlv1p0" />
|
||||
<xs:enumeration value="imswl_xmlv1p0" />
|
||||
<xs:enumeration value="webcontent" />
|
||||
<xs:enumeration value="imsqti_xmlv1p2/imscc_xmlv1p0/assessment" />
|
||||
<xs:enumeration value="imsqti_xmlv1p2/imscc_xmlv1p0/question-bank" />
|
||||
<xs:enumeration value="associatedcontent/imscc_xmlv1p0/learning-application-resource" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="isNotVisible">
|
||||
<xs:restriction base="xs:boolean">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="defaultOrganizationProhibited">
|
||||
<xs:restriction base="xs:IDREF">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="RequiredHref">
|
||||
<xs:restriction base="xs:anyURI">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="ProhibitedHref">
|
||||
<xs:restriction base="xs:anyURI">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="OptionalHref">
|
||||
<xs:restriction base="xs:anyURI">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NoParameters">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NoParameter">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NoIsVisible">
|
||||
<xs:restriction base="xs:boolean">
|
||||
<xs:whiteSpace value="collapse" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NoIdentifierRef">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:whiteSpace value="preserve" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xsd:schema>
|
||||
|
||||
|
||||
+383
-383
@@ -1,383 +1,383 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2
|
||||
found at http://www.imsglobal.org/content/packaging/ and the original IMS schema binding or code base
|
||||
http://www.imsglobal.org/content/packaging/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent
|
||||
claims or other intellectual property rights of which they may be aware that might be infringed by the schema
|
||||
binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be
|
||||
claimed to pertain to the implementation or use of the technology described in this document or the extent to
|
||||
which any license under such rights might or might not be available; neither does it represent that it has made
|
||||
any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications
|
||||
can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free,
|
||||
non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once
|
||||
registered you are granted permission to transfer unlimited distribution rights of this document for the purposes
|
||||
of third-party or other distribution of your product or service that incorporates this document as long as this IPR,
|
||||
License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy,
|
||||
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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imscp_v1p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imscp_v1p1" version="IMS CP 1.2" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
XSD Data File Information
|
||||
-------------------------
|
||||
Author: CP1.2 Project Team
|
||||
Date: 31st October, 2006
|
||||
Version: 2.0
|
||||
Status: CM/DN Release
|
||||
Description: This is a normative representation of the IMS CP 1.2 Information Model for binding
|
||||
purposes. Read the corresponding IMS CP Information Model for the Platform
|
||||
Independent Model representation.
|
||||
|
||||
History: This is version 1 of the IMS CP v1.2 XSD. It directly supercedes IMS CP v1.1.4 XSD.
|
||||
Note that the target namespace has NOT been changed.
|
||||
Apart from the functional additions, the main structural changes are:
|
||||
(1) All of the elements and attributes are defined as local to their host object;
|
||||
(2) Comments have been added to the complexType definitions.
|
||||
|
||||
Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information
|
||||
contained in this binding ("Specification") for purposes of scientific
|
||||
experimental and scholarly collaboration only. IMS/GLC makes no warranty or
|
||||
representation regarding the accuracy or completeness of the Specification.
|
||||
This material is provided on an "As Is" and "As Available basis".
|
||||
The Specification is at all times subject to change and revision without
|
||||
notice. It is your sole responsibility to evaluate the usefulness, accuracy
|
||||
and completeness of the Specification as it relates to you. IMS/GLC would
|
||||
appreciate receiving your comments and suggestions. Please contact IMS/GLC
|
||||
through our website at: http://www.imsglobal.org.
|
||||
|
||||
Source XSLT File Information
|
||||
----------------------------
|
||||
XSL Generator: UMLtoXSDTransformv0p7.xsl
|
||||
XSLT Processor: Xalan
|
||||
Release: 1.0 Beta 1
|
||||
Date: 30th November, 2005
|
||||
|
||||
Auto-generation Tool
|
||||
--------------------
|
||||
This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool. While every attempt
|
||||
has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware
|
||||
that this is an experimental tool. Permission is given to make use of this tool. IMS makes no
|
||||
claim on the materials created by third party users of this tool. Details on how to use this tool
|
||||
are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"
|
||||
available at the IMS web-site.
|
||||
Tool Copyright: 2005 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Generate Global Attributes *********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate Namespaced extension Group ************************************************************* -->
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the enumerated simpleType declarations ************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the simpleType elements based IMS data-types ******************************************* -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the derived data-type elements ********************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the data-type elements ****************************************************************** -->
|
||||
|
||||
<xs:complexType name="Manifest.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A manifest element is a container for data structures whose contents describe a
|
||||
semantically complete instance of the IMS Content Packaging Information Model.
|
||||
|
||||
A manifest element may contain and reference child manifest elements
|
||||
in the same IMS Manifest document. The root manifest element defines an
|
||||
entire IMS Package. A child manifest element defines a semantically complete
|
||||
subset of that Package.
|
||||
|
||||
<p>Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="ManifestMetadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="organizations" type="Organizations.Type" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="resources" type="Resources.Type" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="manifest" type="Manifest.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="version" use="optional" type="xs:string" />
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Metadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An instance of the metadata element contains data structures
|
||||
that declare descriptive information about a metadata element's
|
||||
parent only.
|
||||
|
||||
One or more different metadata models may be declared as
|
||||
child extensions of a metadata element.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imMetadata: Metadata.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="schema" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="schemaversion" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Organizations.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
The organizations element is a container for all data structures
|
||||
that describe the way or ways that information encapsulated by
|
||||
its parent manifest element is structured.
|
||||
|
||||
<p>Represents of binding of the child objects of ims-cp-imOrganizations: Organizations.[ Organization, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="organization" type="Organization.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="default" use="optional" type="xs:IDREF" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Resources.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
The Resources element is a container for data structures containing
|
||||
references to one or more assets. Asset references may be grouped
|
||||
within a containing resources element in whatever manner seems best.
|
||||
|
||||
The scope of referenced assets is specific to a resources element's parent
|
||||
manifest element only.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imResources: Resources.[ Resource, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="resource" type="Resource.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Organization.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An organization element is a container for all data structures relating
|
||||
to a particular way or view that information encapsulated by a
|
||||
grandparent manifest object is structured.
|
||||
|
||||
Multiple organization elements within the same parent organizations
|
||||
element are equivalent in purpose: Each shows a different way for
|
||||
structuring the same information declared within a grandparent
|
||||
manifest object.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-Organization: Organization[ Title, Item, Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="item" type="Item.Type" minOccurs="1" maxOccurs="unbounded" />
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="structure" use="optional" type="xs:string" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Resource.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A resource element is a container for a particular asset
|
||||
or collection of assets. A resource may contain references
|
||||
to assets that are all of the same type or different types (i.e., file formats).
|
||||
|
||||
The scope or boundary of an IMS Package is defined by the asset
|
||||
references collected into all resources containers associated with the
|
||||
root manifest element, whether as a child, direcdt descendant, or externally
|
||||
linked descendant.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="file" type="File.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="dependency" type="Dependency.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="type" use="required" type="xs:string" />
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:attribute name="href" use="optional" type="xs:anyURI" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Item.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An item element represents a structural node in a particular organization.
|
||||
An item element may be a parent or sibling of other Item elements,
|
||||
each one representing a unique structural node.
|
||||
|
||||
An organization has no meaning unless it has at least one Item element.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects of ims-cp-imItem: Item.[ Title, Item, Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="item" type="Item.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="identifierref" use="optional" type="xs:string" />
|
||||
<xs:attribute name="isvisible" use="optional" type="xs:boolean" />
|
||||
<xs:attribute name="parameters" use="optional" type="xs:string" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="File.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A file element declares a reference to a single asset. The reference may
|
||||
be relative to the Package containing the file element or absolute
|
||||
(external to the Package).
|
||||
|
||||
A file element may contain child extensions declaring alternative references
|
||||
to the same asset as that referenced by the file element's href attribute.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imFile: File.[ Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="href" use="required" type="xs:anyURI" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Dependency.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A dependency element provides a way to associate another collection of
|
||||
asset references within the scope of the dependency element's parent
|
||||
resource element.
|
||||
|
||||
This element allows the parsimonious declaration of asset references.
|
||||
Shared asset references can be declared once and associated many
|
||||
times through a Dependency element.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imDependency: Dependency.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifierref" use="required" type="xs:string" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="ManifestMetadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This metadata element contains data structures that declare
|
||||
descriptive information about an entire Package.
|
||||
|
||||
One or more different metadata models may be declared as
|
||||
child extensions of a metadata element.
|
||||
|
||||
The schema and schemaversion children define the kind or collection
|
||||
of metadata models being used.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imManifestMetadata: ManifestMetadata.[ Schema, SchemaVersion, MetadataModel ]..</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="schema" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="schemaversion" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the elements ********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the root element(s) *************************************************************** -->
|
||||
|
||||
<xs:element name="manifest" type="Manifest.Type" />
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2
|
||||
found at http://www.imsglobal.org/content/packaging/ and the original IMS schema binding or code base
|
||||
http://www.imsglobal.org/content/packaging/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent
|
||||
claims or other intellectual property rights of which they may be aware that might be infringed by the schema
|
||||
binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be
|
||||
claimed to pertain to the implementation or use of the technology described in this document or the extent to
|
||||
which any license under such rights might or might not be available; neither does it represent that it has made
|
||||
any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications
|
||||
can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free,
|
||||
non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once
|
||||
registered you are granted permission to transfer unlimited distribution rights of this document for the purposes
|
||||
of third-party or other distribution of your product or service that incorporates this document as long as this IPR,
|
||||
License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy,
|
||||
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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imscp_v1p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imscp_v1p1" version="IMS CP 1.2" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
XSD Data File Information
|
||||
-------------------------
|
||||
Author: CP1.2 Project Team
|
||||
Date: 31st October, 2006
|
||||
Version: 2.0
|
||||
Status: CM/DN Release
|
||||
Description: This is a normative representation of the IMS CP 1.2 Information Model for binding
|
||||
purposes. Read the corresponding IMS CP Information Model for the Platform
|
||||
Independent Model representation.
|
||||
|
||||
History: This is version 1 of the IMS CP v1.2 XSD. It directly supercedes IMS CP v1.1.4 XSD.
|
||||
Note that the target namespace has NOT been changed.
|
||||
Apart from the functional additions, the main structural changes are:
|
||||
(1) All of the elements and attributes are defined as local to their host object;
|
||||
(2) Comments have been added to the complexType definitions.
|
||||
|
||||
Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information
|
||||
contained in this binding ("Specification") for purposes of scientific
|
||||
experimental and scholarly collaboration only. IMS/GLC makes no warranty or
|
||||
representation regarding the accuracy or completeness of the Specification.
|
||||
This material is provided on an "As Is" and "As Available basis".
|
||||
The Specification is at all times subject to change and revision without
|
||||
notice. It is your sole responsibility to evaluate the usefulness, accuracy
|
||||
and completeness of the Specification as it relates to you. IMS/GLC would
|
||||
appreciate receiving your comments and suggestions. Please contact IMS/GLC
|
||||
through our website at: http://www.imsglobal.org.
|
||||
|
||||
Source XSLT File Information
|
||||
----------------------------
|
||||
XSL Generator: UMLtoXSDTransformv0p7.xsl
|
||||
XSLT Processor: Xalan
|
||||
Release: 1.0 Beta 1
|
||||
Date: 30th November, 2005
|
||||
|
||||
Auto-generation Tool
|
||||
--------------------
|
||||
This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool. While every attempt
|
||||
has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware
|
||||
that this is an experimental tool. Permission is given to make use of this tool. IMS makes no
|
||||
claim on the materials created by third party users of this tool. Details on how to use this tool
|
||||
are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"
|
||||
available at the IMS web-site.
|
||||
Tool Copyright: 2005 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Generate Global Attributes *********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate Namespaced extension Group ************************************************************* -->
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the enumerated simpleType declarations ************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the simpleType elements based IMS data-types ******************************************* -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the derived data-type elements ********************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the data-type elements ****************************************************************** -->
|
||||
|
||||
<xs:complexType name="Manifest.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A manifest element is a container for data structures whose contents describe a
|
||||
semantically complete instance of the IMS Content Packaging Information Model.
|
||||
|
||||
A manifest element may contain and reference child manifest elements
|
||||
in the same IMS Manifest document. The root manifest element defines an
|
||||
entire IMS Package. A child manifest element defines a semantically complete
|
||||
subset of that Package.
|
||||
|
||||
<p>Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="ManifestMetadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="organizations" type="Organizations.Type" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="resources" type="Resources.Type" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="manifest" type="Manifest.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="version" use="optional" type="xs:string" />
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Metadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An instance of the metadata element contains data structures
|
||||
that declare descriptive information about a metadata element's
|
||||
parent only.
|
||||
|
||||
One or more different metadata models may be declared as
|
||||
child extensions of a metadata element.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imMetadata: Metadata.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="schema" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="schemaversion" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Organizations.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
The organizations element is a container for all data structures
|
||||
that describe the way or ways that information encapsulated by
|
||||
its parent manifest element is structured.
|
||||
|
||||
<p>Represents of binding of the child objects of ims-cp-imOrganizations: Organizations.[ Organization, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="organization" type="Organization.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="default" use="optional" type="xs:IDREF" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Resources.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
The Resources element is a container for data structures containing
|
||||
references to one or more assets. Asset references may be grouped
|
||||
within a containing resources element in whatever manner seems best.
|
||||
|
||||
The scope of referenced assets is specific to a resources element's parent
|
||||
manifest element only.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imResources: Resources.[ Resource, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="resource" type="Resource.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Organization.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An organization element is a container for all data structures relating
|
||||
to a particular way or view that information encapsulated by a
|
||||
grandparent manifest object is structured.
|
||||
|
||||
Multiple organization elements within the same parent organizations
|
||||
element are equivalent in purpose: Each shows a different way for
|
||||
structuring the same information declared within a grandparent
|
||||
manifest object.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-Organization: Organization[ Title, Item, Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="item" type="Item.Type" minOccurs="1" maxOccurs="unbounded" />
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="structure" use="optional" type="xs:string" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Resource.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A resource element is a container for a particular asset
|
||||
or collection of assets. A resource may contain references
|
||||
to assets that are all of the same type or different types (i.e., file formats).
|
||||
|
||||
The scope or boundary of an IMS Package is defined by the asset
|
||||
references collected into all resources containers associated with the
|
||||
root manifest element, whether as a child, direcdt descendant, or externally
|
||||
linked descendant.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="file" type="File.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="dependency" type="Dependency.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="type" use="required" type="xs:string" />
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:attribute name="href" use="optional" type="xs:anyURI" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Item.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An item element represents a structural node in a particular organization.
|
||||
An item element may be a parent or sibling of other Item elements,
|
||||
each one representing a unique structural node.
|
||||
|
||||
An organization has no meaning unless it has at least one Item element.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects of ims-cp-imItem: Item.[ Title, Item, Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="item" type="Item.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="identifierref" use="optional" type="xs:string" />
|
||||
<xs:attribute name="isvisible" use="optional" type="xs:boolean" />
|
||||
<xs:attribute name="parameters" use="optional" type="xs:string" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="File.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A file element declares a reference to a single asset. The reference may
|
||||
be relative to the Package containing the file element or absolute
|
||||
(external to the Package).
|
||||
|
||||
A file element may contain child extensions declaring alternative references
|
||||
to the same asset as that referenced by the file element's href attribute.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imFile: File.[ Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="href" use="required" type="xs:anyURI" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Dependency.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A dependency element provides a way to associate another collection of
|
||||
asset references within the scope of the dependency element's parent
|
||||
resource element.
|
||||
|
||||
This element allows the parsimonious declaration of asset references.
|
||||
Shared asset references can be declared once and associated many
|
||||
times through a Dependency element.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imDependency: Dependency.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifierref" use="required" type="xs:string" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="ManifestMetadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This metadata element contains data structures that declare
|
||||
descriptive information about an entire Package.
|
||||
|
||||
One or more different metadata models may be declared as
|
||||
child extensions of a metadata element.
|
||||
|
||||
The schema and schemaversion children define the kind or collection
|
||||
of metadata models being used.
|
||||
|
||||
<p>Represents a binding of the kinds of child objects defined for ims-cp-imManifestMetadata: ManifestMetadata.[ Schema, SchemaVersion, MetadataModel ]..</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="schema" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="schemaversion" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the elements ********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the root element(s) *************************************************************** -->
|
||||
|
||||
<xs:element name="manifest" type="Manifest.Type" />
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,138 +1,138 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.ascc.net/xml/schematron">
|
||||
<ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsd" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
|
||||
<ns prefix="ac" uri="http://iwm.uni-koblenz.de/xsd/tel_addc_v1p1" />
|
||||
<ns prefix="ims" uri="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" />
|
||||
<!--***********************************************************************************************-->
|
||||
<!--** Constraints document - this document holds Schematron rules that have been generated from **-->
|
||||
<!--** AP condition and assertion elements. IMPORTANT: If this document exists, it MUST be **-->
|
||||
<!--** used in the validation of instances derived from the resultant schema - failure to do so **-->
|
||||
<!--** can result in an instance that does not conform to either the base schema or the **-->
|
||||
<!--** Application Profile. **-->
|
||||
<!--***********************************************************************************************-->
|
||||
|
||||
|
||||
<pattern name="pattern_2">
|
||||
<rule context="ims:organizations/ims:organization//ims:item">
|
||||
<assert test="not(@isvisible='false') or count(./ims:item)=count(./ims:item[@isvisible='false'])">Assertion failed for pattern_2. If an item is invisible, its descendants must be invisible too.(#S02)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_3">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(not(../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='webcontent']/@identifier)">Assertion failed for pattern_3. A Resource object which is a Learning Object associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_4">
|
||||
<rule context="ims:manifest/ims:organizations/ims:organization//ims:item">
|
||||
<assert test="count(./@identifierref)=0 or count(./ims:item)=0">Assertion failed for pattern_4. An Item object which represents a folder is indicated by the absence of an IdentifierRef characteristic object. Folder Items support unlimited nesting of other folder Items and learning object link Items. Learning Application Resource Item objects may be nested by folder Item object but may not nest other folder or Learning Application resource Item objects.(#S04)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_5">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not((./@type='webcontent' or ./@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and ./@identifier = //ims:item/@identifierref) or count(./@href)=1">Error: Assertion failed for pattern_5: If a cartridge web content or associated content resource is linked from a Learning Application Object link Item object it must have an Href characteristic object which represents the launchable resource.(#S05)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_6">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsdt_xmlv1p0') or (count(./ims:file)= 1 and count(./@href)=0)">Error: Assertion failed for pattern_5: For Discussion Topic Resources the Resource object must contain a single File object which references the Discussion Topic descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imsdt_v1p0 schema. Discussion Topic resources must not contain href (#S06)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_7">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imswl_xmlv1p0') or (count(./ims:file) = 1 and count(./ims:dependency)=0 and count(./@href)=0)">Error: Assertion validation failed for pattern_7: For Web Link Resources the Resource object must contain a single File object which references the Web Link descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imswl_v1p0 schema.It must contain neither Dependency objects nor an href attribute.(#S07)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<!-- Reference to SCORM removed
|
||||
<pattern name="pattern_8">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imscc_xmlv1p0/scorm') or (count(./ims:file) = 1 and count(./ims:dependency)=0 and count(./@href)=0)">Error: Assertion validation failed for pattern_8:For SCORM resources the Resource object must contain a single File object which references the SCORM package interchange file.(#S08)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
-->
|
||||
<!-- TI references removed
|
||||
<pattern name="pattern_9">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imstiptdc_xmlv1p0') or (count(./ims:file) = 1 and count(./ims:dependency)=1 and count(./@href)=0)">Error: Assertion validation failed for pattern_9: For TI Deployment Context Resources the Resource object must contain a single File object which references the TI deployment context XML file. It must have a single dependency which references a Resource object with Type 'imstiptdd_xmlv1p0'. This represents the Tools Interoperabilty Deployment Descriptor.The TI Deployment Context Resource must not have any href attribute(#S09)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
|
||||
<pattern name="pattern_10">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imstiptdd_xmlv1p0') or (count(./ims:file) = 1 and count(./ims:dependency)=0 and count(./@href)=0)">Error: Assertion validation failed for pattern_9: For Deployment Descriptor Resources the Resource object must contain a single File object which references the TI deployment descriptor XML file. This file must conform to the schema http://www.imsglobal.org/services/cc/imsti_ptdd_v1p0. The Deployment Descriptor Resource must have neither a dependency nor an href attribute.(#S10)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
-->
|
||||
|
||||
<pattern name="pattern_11a">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (count(./ims:file) = 1 and count(./@href)=0)">Error: Assertion validation failed for pattern_11a: For Assessment resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.zip. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11a)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<!--
|
||||
The following pattern has been broken up into pattern 11b1-11b4 for better readability of reports
|
||||
<pattern name="pattern_11b">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or (count(./ims:file) = 1 and count(./@href)=0 and not(//ims:item[@identifierref]=./@identifier) and count(//ims:resource[@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank'])=1)">Error: Assertion validation failed for pattern_11b: For Question Bank resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.zip. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute. Moreover a Question Bank Resource must not be referenced from an item. There can be only one Questionbank Resource in a cartridge.(#S11b)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
-->
|
||||
<pattern name="pattern_11b1">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or (count(./ims:file) = 1 )">Error: Assertion validation failed for pattern_11b1: For Question Bank resources the Resource object must contain a single File object which references the QTI XML file. (#S11b1)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_11b2">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or (count(./@href)=0 )">Error: Assertion validation failed for pattern_11b2: A Question Bank Resource must not have an href attribute. (#S11b2)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_11b3">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or ( not(//ims:item[@identifierref]=./@identifier) )">Error: Assertion validation failed for pattern_11b3: A Question Bank Resource must not be referenced from an item. (#S11b3)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_11b4">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or (count(//ims:resource[@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank'])=1)">Error: Assertion validation failed for pattern_11b4: There can be only one Questionbank Resource in a cartridge.(#S11b4)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_12">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(not(../@type='imsdt_xmlv1p0')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='webcontent']/@identifier) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_12. A Resource object which is a Discussion Topic associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S12)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<!-- TI reference removed
|
||||
<pattern name="pattern_13">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(not(../@type='imstiptdc_xmlv1p0')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='imstiptdd_xmlv1p0']/@identifier)">Assertion failed for pattern_13. A Resource object which is a Deployment Context may contain a single Dependency object which reference Resource objects which describe a Deployment descriptor.(#S13)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
-->
|
||||
|
||||
<pattern name="pattern_14">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(not(../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='webcontent']/@identifier) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_14. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_15">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(not(../@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='webcontent']/@identifier) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_15. A Resource object which is a Question Bank may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S15)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.ascc.net/xml/schematron">
|
||||
<ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsd" uri="http://www.w3.org/2001/XMLSchema" />
|
||||
<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
|
||||
<ns prefix="ac" uri="http://iwm.uni-koblenz.de/xsd/tel_addc_v1p1" />
|
||||
<ns prefix="ims" uri="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" />
|
||||
<!--***********************************************************************************************-->
|
||||
<!--** Constraints document - this document holds Schematron rules that have been generated from **-->
|
||||
<!--** AP condition and assertion elements. IMPORTANT: If this document exists, it MUST be **-->
|
||||
<!--** used in the validation of instances derived from the resultant schema - failure to do so **-->
|
||||
<!--** can result in an instance that does not conform to either the base schema or the **-->
|
||||
<!--** Application Profile. **-->
|
||||
<!--***********************************************************************************************-->
|
||||
|
||||
|
||||
<pattern name="pattern_2">
|
||||
<rule context="ims:organizations/ims:organization//ims:item">
|
||||
<assert test="not(@isvisible='false') or count(./ims:item)=count(./ims:item[@isvisible='false'])">Assertion failed for pattern_2. If an item is invisible, its descendants must be invisible too.(#S02)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_3">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(not(../@type='associatedcontent/imscc_xmlv1p0/learning-application-resource')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='webcontent']/@identifier)">Assertion failed for pattern_3. A Resource object which is a Learning Object associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent'.(#S03)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_4">
|
||||
<rule context="ims:manifest/ims:organizations/ims:organization//ims:item">
|
||||
<assert test="count(./@identifierref)=0 or count(./ims:item)=0">Assertion failed for pattern_4. An Item object which represents a folder is indicated by the absence of an IdentifierRef characteristic object. Folder Items support unlimited nesting of other folder Items and learning object link Items. Learning Application Resource Item objects may be nested by folder Item object but may not nest other folder or Learning Application resource Item objects.(#S04)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_5">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not((./@type='webcontent' or ./@type='associatedcontent/imscc_xmlv1p0/learning-application-resource') and ./@identifier = //ims:item/@identifierref) or count(./@href)=1">Error: Assertion failed for pattern_5: If a cartridge web content or associated content resource is linked from a Learning Application Object link Item object it must have an Href characteristic object which represents the launchable resource.(#S05)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_6">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsdt_xmlv1p0') or (count(./ims:file)= 1 and count(./@href)=0)">Error: Assertion failed for pattern_5: For Discussion Topic Resources the Resource object must contain a single File object which references the Discussion Topic descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imsdt_v1p0 schema. Discussion Topic resources must not contain href (#S06)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_7">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imswl_xmlv1p0') or (count(./ims:file) = 1 and count(./ims:dependency)=0 and count(./@href)=0)">Error: Assertion validation failed for pattern_7: For Web Link Resources the Resource object must contain a single File object which references the Web Link descriptor XML file which conforms to the http://www.imsglobal.org/xsd/imswl_v1p0 schema.It must contain neither Dependency objects nor an href attribute.(#S07)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<!-- Reference to SCORM removed
|
||||
<pattern name="pattern_8">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imscc_xmlv1p0/scorm') or (count(./ims:file) = 1 and count(./ims:dependency)=0 and count(./@href)=0)">Error: Assertion validation failed for pattern_8:For SCORM resources the Resource object must contain a single File object which references the SCORM package interchange file.(#S08)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
-->
|
||||
<!-- TI references removed
|
||||
<pattern name="pattern_9">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imstiptdc_xmlv1p0') or (count(./ims:file) = 1 and count(./ims:dependency)=1 and count(./@href)=0)">Error: Assertion validation failed for pattern_9: For TI Deployment Context Resources the Resource object must contain a single File object which references the TI deployment context XML file. It must have a single dependency which references a Resource object with Type 'imstiptdd_xmlv1p0'. This represents the Tools Interoperabilty Deployment Descriptor.The TI Deployment Context Resource must not have any href attribute(#S09)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
|
||||
<pattern name="pattern_10">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imstiptdd_xmlv1p0') or (count(./ims:file) = 1 and count(./ims:dependency)=0 and count(./@href)=0)">Error: Assertion validation failed for pattern_9: For Deployment Descriptor Resources the Resource object must contain a single File object which references the TI deployment descriptor XML file. This file must conform to the schema http://www.imsglobal.org/services/cc/imsti_ptdd_v1p0. The Deployment Descriptor Resource must have neither a dependency nor an href attribute.(#S10)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
-->
|
||||
|
||||
<pattern name="pattern_11a">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment') or (count(./ims:file) = 1 and count(./@href)=0)">Error: Assertion validation failed for pattern_11a: For Assessment resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.zip. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute(#S11a)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
<!--
|
||||
The following pattern has been broken up into pattern 11b1-11b4 for better readability of reports
|
||||
<pattern name="pattern_11b">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or (count(./ims:file) = 1 and count(./@href)=0 and not(//ims:item[@identifierref]=./@identifier) and count(//ims:resource[@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank'])=1)">Error: Assertion validation failed for pattern_11b: For Question Bank resources the Resource object must contain a single File object which references the QTI XML file. This file must conform to the IMS CC profile of QTI 1.2.1. The profile is contained in the package of this profile as imscc_q*.zip. The derived schema of this QTI profile is in the package of this profile with the name ims_qtiasiv1p2_localised.xsd. The resource must not have an href attribute. Moreover a Question Bank Resource must not be referenced from an item. There can be only one Questionbank Resource in a cartridge.(#S11b)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
-->
|
||||
<pattern name="pattern_11b1">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or (count(./ims:file) = 1 )">Error: Assertion validation failed for pattern_11b1: For Question Bank resources the Resource object must contain a single File object which references the QTI XML file. (#S11b1)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_11b2">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or (count(./@href)=0 )">Error: Assertion validation failed for pattern_11b2: A Question Bank Resource must not have an href attribute. (#S11b2)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_11b3">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or ( not(//ims:item[@identifierref]=./@identifier) )">Error: Assertion validation failed for pattern_11b3: A Question Bank Resource must not be referenced from an item. (#S11b3)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_11b4">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource">
|
||||
<assert test="not(./@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank') or (count(//ims:resource[@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank'])=1)">Error: Assertion validation failed for pattern_11b4: There can be only one Questionbank Resource in a cartridge.(#S11b4)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_12">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(not(../@type='imsdt_xmlv1p0')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='webcontent']/@identifier) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_12. A Resource object which is a Discussion Topic associated resource may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S12)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<!-- TI reference removed
|
||||
<pattern name="pattern_13">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(not(../@type='imstiptdc_xmlv1p0')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='imstiptdd_xmlv1p0']/@identifier)">Assertion failed for pattern_13. A Resource object which is a Deployment Context may contain a single Dependency object which reference Resource objects which describe a Deployment descriptor.(#S13)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
-->
|
||||
|
||||
<pattern name="pattern_14">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(not(../@type='imsqti_xmlv1p2/imscc_xmlv1p0/assessment')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='webcontent']/@identifier) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_14. A Resource object which is an assessment may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S14)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
<pattern name="pattern_15">
|
||||
<rule context="ims:manifest/ims:resources/ims:resource/ims:dependency">
|
||||
<assert test="(not(../@type='imsqti_xmlv1p2/imscc_xmlv1p0/question-bank')) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='webcontent']/@identifier) or (current()/@identifierref = /ims:manifest/ims:resources/ims:resource[@type='associatedcontent/imscc_xmlv1p0/learning-application-resource']/@identifier)">Assertion failed for pattern_15. A Resource object which is a Question Bank may contain Dependency objects which reference Resource objects with Type 'webcontent' or 'associatedcontent/imscc_xmlv1p0/learning-application-resource'.(#S15)</assert>
|
||||
</rule>
|
||||
</pattern>
|
||||
|
||||
</schema>
|
||||
@@ -1,455 +1,455 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2
|
||||
found at http://www.imsglobal.org/content/packaging/ and the original IMS schema binding or code base
|
||||
http://www.imsglobal.org/content/packaging/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent
|
||||
claims or other intellectual property rights of which they may be aware that might be infringed by the schema
|
||||
binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be
|
||||
claimed to pertain to the implementation or use of the technology described in this document or the extent to
|
||||
which any license under such rights might or might not be available; neither does it represent that it has made
|
||||
any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications
|
||||
can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free,
|
||||
non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once
|
||||
registered you are granted permission to transfer unlimited distribution rights of this document for the purposes
|
||||
of third-party or other distribution of your product or service that incorporates this document as long as this IPR,
|
||||
License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy,
|
||||
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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imscp_v1p2.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" targetNamespace="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" version="IMS CP 1.2 localised_Schema_2008_6_30" elementFormDefault="qualified" attributeFormDefault="unqualified" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsccauth_v1p0 domainProfile_0\imsccauth_v1p0_localised.xsd http://ltsc.ieee.org/xsd/imscc/LOM domainProfile_1\lomLoose_localised.xsd http://ltsc.ieee.org/xsd/LOM domainProfile_2\lomLoose_localised.xsd http://www.imsglobal.org/xsd/imscp_extensionv1p2 domainProfile_3\imscp_extensionv1p2_localised.xsd">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_c1p2maeV0p15_definition.xsd" />
|
||||
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
XSD Data File Information
|
||||
-------------------------
|
||||
Author: CP1.2 Project Team
|
||||
Date: 31st October, 2006
|
||||
Version: 2.0
|
||||
Status: CM/DN Release
|
||||
Description: This is a normative representation of the IMS CP 1.2 Information Model for binding
|
||||
purposes. Read the corresponding IMS CP Information Model for the Platform
|
||||
Independent Model representation.
|
||||
|
||||
History: This is version 1 of the IMS CP v1.2 XSD. It directly supercedes IMS CP v1.1.4 XSD.
|
||||
Note that the target namespace has NOT been changed.
|
||||
Apart from the functional additions, the main structural changes are:
|
||||
(1) All of the elements and attributes are defined as local to their host object;
|
||||
(2) Comments have been added to the complexType definitions.
|
||||
|
||||
Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information
|
||||
contained in this binding ("Specification") for purposes of scientific
|
||||
experimental and scholarly collaboration only. IMS/GLC makes no warranty or
|
||||
representation regarding the accuracy or completeness of the Specification.
|
||||
This material is provided on an "As Is" and "As Available basis".
|
||||
The Specification is at all times subject to change and revision without
|
||||
notice. It is your sole responsibility to evaluate the usefulness, accuracy
|
||||
and completeness of the Specification as it relates to you. IMS/GLC would
|
||||
appreciate receiving your comments and suggestions. Please contact IMS/GLC
|
||||
through our website at: http://www.imsglobal.org.
|
||||
|
||||
Source XSLT File Information
|
||||
----------------------------
|
||||
XSL Generator: UMLtoXSDTransformv0p7.xsl
|
||||
XSLT Processor: Xalan
|
||||
Release: 1.0 Beta 1
|
||||
Date: 30th November, 2005
|
||||
|
||||
Auto-generation Tool
|
||||
--------------------
|
||||
This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool. While every attempt
|
||||
has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware
|
||||
that this is an experimental tool. Permission is given to make use of this tool. IMS makes no
|
||||
claim on the materials created by third party users of this tool. Details on how to use this tool
|
||||
are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"
|
||||
available at the IMS web-site.
|
||||
Tool Copyright: 2005 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Generate Global Attributes *********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate Namespaced extension Group ************************************************************* -->
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
<xs:group name="grpStrict.any3535">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace=" http://ltsc.ieee.org/xsd/LOM" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
<xs:group name="grpStrict.any4935">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace=" http://ltsc.ieee.org/xsd/imscc/LOM" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
<xs:group name="grpStrict.any2939">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace=" http://www.imsglobal.org/xsd/imsccauth_v1p0" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the enumerated simpleType declarations ************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the simpleType elements based IMS data-types ******************************************* -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the derived data-type elements ********************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the data-type elements ****************************************************************** -->
|
||||
|
||||
<xs:complexType name="Manifest.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A manifest element is a container for data structures whose contents describe a
|
||||
semantically complete instance of the IMS Content Packaging Information Model.
|
||||
|
||||
A manifest element may contain and reference child manifest elements
|
||||
in the same IMS Manifest document. The root manifest element defines an
|
||||
entire IMS Package. A child manifest element defines a semantically complete
|
||||
subset of that Package.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="ManifestMetadata.Type" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="organizations" type="Organizations.Type" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="resources" type="Resources.Type" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="manifest" type="Manifest.Type" minOccurs="0" maxOccurs="0" />
|
||||
<xs:group ref="grpStrict.any2939" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="version" use="optional" type="xs:string" />
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Metadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An instance of the metadata element contains data structures
|
||||
that declare descriptive information about a metadata element's
|
||||
parent only.
|
||||
|
||||
One or more different metadata models may be declared as
|
||||
child extensions of a metadata element.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imMetadata: Metadata.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="schema" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="schemaversion" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any3535" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Organizations.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
The organizations element is a container for all data structures
|
||||
that describe the way or ways that information encapsulated by
|
||||
its parent manifest element is structured.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents of binding of the child objects of ims-cp-imOrganizations: Organizations.[ Organization, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="organization" type="Organization.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="default" use="prohibited" type="defaultOrganizationProhibited" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Resources.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
The Resources element is a container for data structures containing
|
||||
references to one or more assets. Asset references may be grouped
|
||||
within a containing resources element in whatever manner seems best.
|
||||
|
||||
The scope of referenced assets is specific to a resources element's parent
|
||||
manifest element only.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imResources: Resources.[ Resource, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="resource" type="Resource.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Organization.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An organization element is a container for all data structures relating
|
||||
to a particular way or view that information encapsulated by a
|
||||
grandparent manifest object is structured.
|
||||
|
||||
Multiple organization elements within the same parent organizations
|
||||
element are equivalent in purpose: Each shows a different way for
|
||||
structuring the same information declared within a grandparent
|
||||
manifest object.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-Organization: Organization[ Title, Item, Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="item" type="Item.Type4333" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="structure" use="required" type="rootedHierarchy" fixed="rooted-hierarchy" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<!--**Following element's attribute values altered by AP condition processing**-->
|
||||
<xs:complexType name="Resource.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A resource element is a container for a particular asset
|
||||
or collection of assets. A resource may contain references
|
||||
to assets that are all of the same type or different types (i.e., file formats).
|
||||
|
||||
The scope or boundary of an IMS Package is defined by the asset
|
||||
references collected into all resources containers associated with the
|
||||
root manifest element, whether as a child, direcdt descendant, or externally
|
||||
linked descendant.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="file" type="File.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<!--**Following element's attribute values altered by AP condition processing**-->
|
||||
<xs:element name="dependency" type="Dependency.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="type" use="required" type="predefinedContentTypes" />
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:attribute name="href" use="optional" type="xs:anyURI" />
|
||||
<xs:anyAttribute namespace="http://www.imsglobal.org/xsd/imsccauth_v1p0 http://www.imsglobal.org/xsd/imscp_extensionv1p2" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<!--**Following element's attribute values altered by AP condition processing**-->
|
||||
<xs:complexType name="Item.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An item element represents a structural node in a particular organization.
|
||||
An item element may be a parent or sibling of other Item elements,
|
||||
each one representing a unique structural node.
|
||||
|
||||
An organization has no meaning unless it has at least one Item element.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects of ims-cp-imItem: Item.[ Title, Item, Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="item" type="Item.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="identifierref" use="optional" type="xs:string" />
|
||||
<xs:attribute name="isvisible" use="prohibited" type="NoIsVisible" />
|
||||
<xs:attribute name="parameters" use="prohibited" type="NoParameters" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="Item.Type4333">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An item element represents a structural node in a particular organization.
|
||||
An item element may be a parent or sibling of other Item elements,
|
||||
each one representing a unique structural node.
|
||||
|
||||
An organization has no meaning unless it has at least one Item element.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects of ims-cp-imItem: Item.[ Title, Item, Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="0" />
|
||||
<xs:element name="item" type="Item.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="identifierref" use="prohibited" type="NoIdentifierRef" />
|
||||
<xs:attribute name="isvisible" use="prohibited" type="NoIsVisible" />
|
||||
<xs:attribute name="parameters" use="prohibited" type="NoParameter" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="File.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A file element declares a reference to a single asset. The reference may
|
||||
be relative to the Package containing the file element or absolute
|
||||
(external to the Package).
|
||||
|
||||
A file element may contain child extensions declaring alternative references
|
||||
to the same asset as that referenced by the file element's href attribute.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imFile: File.[ Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="href" use="required" type="xs:anyURI" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Dependency.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A dependency element provides a way to associate another collection of
|
||||
asset references within the scope of the dependency element's parent
|
||||
resource element.
|
||||
|
||||
This element allows the parsimonious declaration of asset references.
|
||||
Shared asset references can be declared once and associated many
|
||||
times through a Dependency element.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imDependency: Dependency.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<!--**Following element's attribute values altered by AP condition processing**-->
|
||||
<xs:attribute name="identifierref" use="required" type="xs:string" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="ManifestMetadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This metadata element contains data structures that declare
|
||||
descriptive information about an entire Package.
|
||||
|
||||
One or more different metadata models may be declared as
|
||||
child extensions of a metadata element.
|
||||
|
||||
The schema and schemaversion children define the kind or collection
|
||||
of metadata models being used.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imManifestMetadata: ManifestMetadata.[ Schema, SchemaVersion, MetadataModel ]..</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="schema" type="schemaFixed" minOccurs="1" maxOccurs="1" fixed="IMS Common Cartridge" />
|
||||
<xs:element name="schemaversion" type="schemaversionFixed" minOccurs="1" maxOccurs="1" fixed="1.0.0" />
|
||||
<xs:group ref="grpStrict.any4935" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the elements ********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the root element(s) *************************************************************** -->
|
||||
|
||||
<xs:element name="manifest" type="Manifest.Type" />
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
</xs:schema>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
IPR, License and Distribution Notices
|
||||
This machine readable file is derived from IMS specification IMS Content Packaging Version: 1.2
|
||||
found at http://www.imsglobal.org/content/packaging/ and the original IMS schema binding or code base
|
||||
http://www.imsglobal.org/content/packaging/.
|
||||
|
||||
Recipients of this document are requested to submit, with their comments, notification of any relevant patent
|
||||
claims or other intellectual property rights of which they may be aware that might be infringed by the schema
|
||||
binding contained in this document.
|
||||
|
||||
IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be
|
||||
claimed to pertain to the implementation or use of the technology described in this document or the extent to
|
||||
which any license under such rights might or might not be available; neither does it represent that it has made
|
||||
any effort to identify any such rights. Information on IMS�s procedures with respect to rights in IMS specifications
|
||||
can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
|
||||
|
||||
Copyright © IMS Global Learning Consortium 1999-2008. All Rights Reserved.
|
||||
|
||||
License Notice for Users
|
||||
Users of products or services that include this document are hereby granted a worldwide, royalty-free,
|
||||
non-exclusive license to use this document.
|
||||
|
||||
Distribution Notice for Developers
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
- If you wish to distribute this document as is, with no modifications, you 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, that you make and you complete a valid license 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/specificationdownload.cfm. Once
|
||||
registered you are granted permission to transfer unlimited distribution rights of this document for the purposes
|
||||
of third-party or other distribution of your product or service that incorporates this document as long as this IPR,
|
||||
License and Distribution notice remains in place in its entirety.
|
||||
|
||||
- If you wish to create and distribute a derived work from this document, you are hereby granted permission to copy,
|
||||
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.
|
||||
|
||||
The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns.
|
||||
|
||||
THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR,
|
||||
ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION
|
||||
SHALL BE MADE ENTIRELY AT THE IMPLEMENTER�S OWN RISK, AND NEITHER THE CONSORTIUM, NOR
|
||||
ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER
|
||||
OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING
|
||||
FROM THE USE OF THIS SPECIFICATION.
|
||||
-->
|
||||
<!--*************************************************************************-->
|
||||
<!--** This schema has been modified from the original base schema named - **-->
|
||||
<!--** imscp_v1p2.xsd **-->
|
||||
<!--** using the IMS SchemaProf tool. This tool is based on software from **-->
|
||||
<!--** the TELCERT Project which was funded in part by the European **-->
|
||||
<!--** Commission under contract IST-507128 **-->
|
||||
<!--*************************************************************************-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" targetNamespace="http://www.imsglobal.org/xsd/imscc/imscp_v1p1" version="IMS CP 1.2 localised_Schema_2008_6_30" elementFormDefault="qualified" attributeFormDefault="unqualified" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsccauth_v1p0 domainProfile_0\imsccauth_v1p0_localised.xsd http://ltsc.ieee.org/xsd/imscc/LOM domainProfile_1\lomLoose_localised.xsd http://ltsc.ieee.org/xsd/LOM domainProfile_2\lomLoose_localised.xsd http://www.imsglobal.org/xsd/imscp_extensionv1p2 domainProfile_3\imscp_extensionv1p2_localised.xsd">
|
||||
<xsd:include xmlns:xsd="http://www.w3.org/2001/XMLSchema" schemaLocation="imscc_c1p2maeV0p15_definition.xsd" />
|
||||
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd" />
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
XSD Data File Information
|
||||
-------------------------
|
||||
Author: CP1.2 Project Team
|
||||
Date: 31st October, 2006
|
||||
Version: 2.0
|
||||
Status: CM/DN Release
|
||||
Description: This is a normative representation of the IMS CP 1.2 Information Model for binding
|
||||
purposes. Read the corresponding IMS CP Information Model for the Platform
|
||||
Independent Model representation.
|
||||
|
||||
History: This is version 1 of the IMS CP v1.2 XSD. It directly supercedes IMS CP v1.1.4 XSD.
|
||||
Note that the target namespace has NOT been changed.
|
||||
Apart from the functional additions, the main structural changes are:
|
||||
(1) All of the elements and attributes are defined as local to their host object;
|
||||
(2) Comments have been added to the complexType definitions.
|
||||
|
||||
Copyright: 2006 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
IMS Global Learning Consortium, Inc. (IMS/GLC) is publishing the information
|
||||
contained in this binding ("Specification") for purposes of scientific
|
||||
experimental and scholarly collaboration only. IMS/GLC makes no warranty or
|
||||
representation regarding the accuracy or completeness of the Specification.
|
||||
This material is provided on an "As Is" and "As Available basis".
|
||||
The Specification is at all times subject to change and revision without
|
||||
notice. It is your sole responsibility to evaluate the usefulness, accuracy
|
||||
and completeness of the Specification as it relates to you. IMS/GLC would
|
||||
appreciate receiving your comments and suggestions. Please contact IMS/GLC
|
||||
through our website at: http://www.imsglobal.org.
|
||||
|
||||
Source XSLT File Information
|
||||
----------------------------
|
||||
XSL Generator: UMLtoXSDTransformv0p7.xsl
|
||||
XSLT Processor: Xalan
|
||||
Release: 1.0 Beta 1
|
||||
Date: 30th November, 2005
|
||||
|
||||
Auto-generation Tool
|
||||
--------------------
|
||||
This WSDL/XSD was auto-generated using the IMS WSDL/XSD auto-generation tool. While every attempt
|
||||
has been made to ensure that this tool auto-generates the XSDs correctly, users should be aware
|
||||
that this is an experimental tool. Permission is given to make use of this tool. IMS makes no
|
||||
claim on the materials created by third party users of this tool. Details on how to use this tool
|
||||
are contained in the IMS document: "IMS General Web Services: WSDL/XSD Binding Auto-generation"
|
||||
available at the IMS web-site.
|
||||
Tool Copyright: 2005 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
|
||||
<!-- Generate Global Attributes *********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate Namespaced extension Group ************************************************************* -->
|
||||
|
||||
<xs:group name="grpStrict.any">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
<xs:group name="grpStrict.any3535">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace=" http://ltsc.ieee.org/xsd/LOM" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
<xs:group name="grpStrict.any4935">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace=" http://ltsc.ieee.org/xsd/imscc/LOM" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
<xs:group name="grpStrict.any2939">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any namespaced element from any namespace may be included within an "any" element.
|
||||
The namespace for the imported element must be defined in the instance, and the schema must be imported.
|
||||
The extension has a definition of "strict" i.e. they must have their own namespace.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace=" http://www.imsglobal.org/xsd/imsccauth_v1p0" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the enumerated simpleType declarations ************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the simpleType elements based IMS data-types ******************************************* -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the derived data-type elements ********************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Generate the data-type elements ****************************************************************** -->
|
||||
|
||||
<xs:complexType name="Manifest.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A manifest element is a container for data structures whose contents describe a
|
||||
semantically complete instance of the IMS Content Packaging Information Model.
|
||||
|
||||
A manifest element may contain and reference child manifest elements
|
||||
in the same IMS Manifest document. The root manifest element defines an
|
||||
entire IMS Package. A child manifest element defines a semantically complete
|
||||
subset of that Package.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of objects defined as children of ims-cp-imManifest : Manifest.[ ManifestMetadata, Organizations, Resources, Manifest, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="ManifestMetadata.Type" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="organizations" type="Organizations.Type" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="resources" type="Resources.Type" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="manifest" type="Manifest.Type" minOccurs="0" maxOccurs="0" />
|
||||
<xs:group ref="grpStrict.any2939" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="version" use="optional" type="xs:string" />
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Metadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An instance of the metadata element contains data structures
|
||||
that declare descriptive information about a metadata element's
|
||||
parent only.
|
||||
|
||||
One or more different metadata models may be declared as
|
||||
child extensions of a metadata element.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imMetadata: Metadata.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="schema" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="schemaversion" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any3535" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Organizations.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
The organizations element is a container for all data structures
|
||||
that describe the way or ways that information encapsulated by
|
||||
its parent manifest element is structured.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents of binding of the child objects of ims-cp-imOrganizations: Organizations.[ Organization, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="organization" type="Organization.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="default" use="prohibited" type="defaultOrganizationProhibited" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Resources.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
The Resources element is a container for data structures containing
|
||||
references to one or more assets. Asset references may be grouped
|
||||
within a containing resources element in whatever manner seems best.
|
||||
|
||||
The scope of referenced assets is specific to a resources element's parent
|
||||
manifest element only.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imResources: Resources.[ Resource, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="resource" type="Resource.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Organization.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An organization element is a container for all data structures relating
|
||||
to a particular way or view that information encapsulated by a
|
||||
grandparent manifest object is structured.
|
||||
|
||||
Multiple organization elements within the same parent organizations
|
||||
element are equivalent in purpose: Each shows a different way for
|
||||
structuring the same information declared within a grandparent
|
||||
manifest object.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-Organization: Organization[ Title, Item, Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="item" type="Item.Type4333" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="structure" use="required" type="rootedHierarchy" fixed="rooted-hierarchy" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<!--**Following element's attribute values altered by AP condition processing**-->
|
||||
<xs:complexType name="Resource.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A resource element is a container for a particular asset
|
||||
or collection of assets. A resource may contain references
|
||||
to assets that are all of the same type or different types (i.e., file formats).
|
||||
|
||||
The scope or boundary of an IMS Package is defined by the asset
|
||||
references collected into all resources containers associated with the
|
||||
root manifest element, whether as a child, direcdt descendant, or externally
|
||||
linked descendant.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imResource: Resource.[ Metadata, File, Dependency, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="file" type="File.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<!--**Following element's attribute values altered by AP condition processing**-->
|
||||
<xs:element name="dependency" type="Dependency.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="type" use="required" type="predefinedContentTypes" />
|
||||
<xs:attribute ref="xml:base" use="optional" />
|
||||
<xs:attribute name="href" use="optional" type="xs:anyURI" />
|
||||
<xs:anyAttribute namespace="http://www.imsglobal.org/xsd/imsccauth_v1p0 http://www.imsglobal.org/xsd/imscp_extensionv1p2" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<!--**Following element's attribute values altered by AP condition processing**-->
|
||||
<xs:complexType name="Item.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An item element represents a structural node in a particular organization.
|
||||
An item element may be a parent or sibling of other Item elements,
|
||||
each one representing a unique structural node.
|
||||
|
||||
An organization has no meaning unless it has at least one Item element.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects of ims-cp-imItem: Item.[ Title, Item, Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="item" type="Item.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="identifierref" use="optional" type="xs:string" />
|
||||
<xs:attribute name="isvisible" use="prohibited" type="NoIsVisible" />
|
||||
<xs:attribute name="parameters" use="prohibited" type="NoParameters" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="Item.Type4333">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
An item element represents a structural node in a particular organization.
|
||||
An item element may be a parent or sibling of other Item elements,
|
||||
each one representing a unique structural node.
|
||||
|
||||
An organization has no meaning unless it has at least one Item element.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects of ims-cp-imItem: Item.[ Title, Item, Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="0" />
|
||||
<xs:element name="item" type="Item.Type" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="identifier" use="required" type="xs:ID" />
|
||||
<xs:attribute name="identifierref" use="prohibited" type="NoIdentifierRef" />
|
||||
<xs:attribute name="isvisible" use="prohibited" type="NoIsVisible" />
|
||||
<xs:attribute name="parameters" use="prohibited" type="NoParameter" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="File.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A file element declares a reference to a single asset. The reference may
|
||||
be relative to the Package containing the file element or absolute
|
||||
(external to the Package).
|
||||
|
||||
A file element may contain child extensions declaring alternative references
|
||||
to the same asset as that referenced by the file element's href attribute.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imFile: File.[ Metadata, Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="metadata" type="Metadata.Type" minOccurs="0" maxOccurs="1" />
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="href" use="required" type="xs:anyURI" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="Dependency.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
A dependency element provides a way to associate another collection of
|
||||
asset references within the scope of the dependency element's parent
|
||||
resource element.
|
||||
|
||||
This element allows the parsimonious declaration of asset references.
|
||||
Shared asset references can be declared once and associated many
|
||||
times through a Dependency element.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imDependency: Dependency.[ Extension ].</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:group ref="grpStrict.any" />
|
||||
</xs:sequence>
|
||||
<!--**Following element's attribute values altered by AP condition processing**-->
|
||||
<xs:attribute name="identifierref" use="required" type="xs:string" />
|
||||
<xs:anyAttribute namespace="##other" processContents="strict" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="ManifestMetadata.Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This metadata element contains data structures that declare
|
||||
descriptive information about an entire Package.
|
||||
|
||||
One or more different metadata models may be declared as
|
||||
child extensions of a metadata element.
|
||||
|
||||
The schema and schemaversion children define the kind or collection
|
||||
of metadata models being used.
|
||||
|
||||
<p xmlns="http://www.imsglobal.org/xsd/imscp_v1p1">Represents a binding of the kinds of child objects defined for ims-cp-imManifestMetadata: ManifestMetadata.[ Schema, SchemaVersion, MetadataModel ]..</p>
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="schema" type="schemaFixed" minOccurs="1" maxOccurs="1" fixed="IMS Common Cartridge" />
|
||||
<xs:element name="schemaversion" type="schemaversionFixed" minOccurs="1" maxOccurs="1" fixed="1.0.0" />
|
||||
<xs:group ref="grpStrict.any4935" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the elements ********************************************************************** -->
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
<!-- Declaration of the root element(s) *************************************************************** -->
|
||||
|
||||
<xs:element name="manifest" type="Manifest.Type" />
|
||||
|
||||
<!-- ===================================== -->
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<h1>Status</h1>
|
||||
|
||||
<p>There are 3 possible settings here</p>
|
||||
<ul>
|
||||
<li><strong>Personal</strong> - The note will be visible only to you</li>
|
||||
<li><strong>Course</strong> - The note will be visible to teachers in this course</li>
|
||||
<li><strong>Site</strong> - The note will be visible to teachers in all courses</li>
|
||||
<h1>Status</h1>
|
||||
|
||||
<p>There are 3 possible settings here</p>
|
||||
<ul>
|
||||
<li><strong>Personal</strong> - The note will be visible only to you</li>
|
||||
<li><strong>Course</strong> - The note will be visible to teachers in this course</li>
|
||||
<li><strong>Site</strong> - The note will be visible to teachers in all courses</li>
|
||||
</ul>
|
||||
@@ -1,35 +1,35 @@
|
||||
<?php
|
||||
// Chinese language file contributed by "Cuiyan (cysoft)" cysoft#php.net.
|
||||
// Encode by GB2312
|
||||
// Simplified Chinese
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'cn',
|
||||
DB_ERROR => '未知错误',
|
||||
DB_ERROR_ALREADY_EXISTS => '已经存在',
|
||||
DB_ERROR_CANNOT_CREATE => '不能创建',
|
||||
DB_ERROR_CANNOT_DELETE => '不能删除',
|
||||
DB_ERROR_CANNOT_DROP => '不能丢弃',
|
||||
DB_ERROR_CONSTRAINT => '约束限制',
|
||||
DB_ERROR_DIVZERO => '被0除',
|
||||
DB_ERROR_INVALID => '无效',
|
||||
DB_ERROR_INVALID_DATE => '无效的日期或者时间',
|
||||
DB_ERROR_INVALID_NUMBER => '无效的数字',
|
||||
DB_ERROR_MISMATCH => '不匹配',
|
||||
DB_ERROR_NODBSELECTED => '没有数据库被选择',
|
||||
DB_ERROR_NOSUCHFIELD => '没有相应的字段',
|
||||
DB_ERROR_NOSUCHTABLE => '没有相应的表',
|
||||
DB_ERROR_NOT_CAPABLE => '数据库后台不兼容',
|
||||
DB_ERROR_NOT_FOUND => '没有发现',
|
||||
DB_ERROR_NOT_LOCKED => '没有被锁定',
|
||||
DB_ERROR_SYNTAX => '语法错误',
|
||||
DB_ERROR_UNSUPPORTED => '不支持',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => '在行上累计值',
|
||||
DB_ERROR_INVALID_DSN => '无效的数据源 (DSN)',
|
||||
DB_ERROR_CONNECT_FAILED => '连接失败',
|
||||
0 => '没有错误', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => '提供的数据不能符合要求',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> '扩展没有被发现',
|
||||
DB_ERROR_NOSUCHDB => '没有相应的数据库',
|
||||
DB_ERROR_ACCESS_VIOLATION => '没有合适的权限'
|
||||
);
|
||||
<?php
|
||||
// Chinese language file contributed by "Cuiyan (cysoft)" cysoft#php.net.
|
||||
// Encode by GB2312
|
||||
// Simplified Chinese
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'cn',
|
||||
DB_ERROR => 'δ֪����',
|
||||
DB_ERROR_ALREADY_EXISTS => '�Ѿ�����',
|
||||
DB_ERROR_CANNOT_CREATE => '���ܴ���',
|
||||
DB_ERROR_CANNOT_DELETE => '����ɾ��',
|
||||
DB_ERROR_CANNOT_DROP => '���ܶ���',
|
||||
DB_ERROR_CONSTRAINT => 'Լ������',
|
||||
DB_ERROR_DIVZERO => '��0��',
|
||||
DB_ERROR_INVALID => '��Ч',
|
||||
DB_ERROR_INVALID_DATE => '��Ч�����ڻ���ʱ��',
|
||||
DB_ERROR_INVALID_NUMBER => '��������',
|
||||
DB_ERROR_MISMATCH => '��ƥ��',
|
||||
DB_ERROR_NODBSELECTED => 'û����ݿⱻѡ��',
|
||||
DB_ERROR_NOSUCHFIELD => 'û����Ӧ���ֶ�',
|
||||
DB_ERROR_NOSUCHTABLE => 'û����Ӧ�ı�',
|
||||
DB_ERROR_NOT_CAPABLE => '��ݿ��̨������',
|
||||
DB_ERROR_NOT_FOUND => 'û�з���',
|
||||
DB_ERROR_NOT_LOCKED => 'û�б���',
|
||||
DB_ERROR_SYNTAX => '�����',
|
||||
DB_ERROR_UNSUPPORTED => '��֧��',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => '�������ۼ�ֵ',
|
||||
DB_ERROR_INVALID_DSN => '��Ч�����Դ (DSN)',
|
||||
DB_ERROR_CONNECT_FAILED => '����ʧ��',
|
||||
0 => 'û�д���', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => '�ṩ����ݲ��ܷ��Ҫ��',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> '��չû�б�����',
|
||||
DB_ERROR_NOSUCHDB => 'û����Ӧ����ݿ�',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'û�к��ʵ�Ȩ��'
|
||||
);
|
||||
?>
|
||||
@@ -1,40 +1,40 @@
|
||||
<?php
|
||||
|
||||
# Czech language, encoding by ISO 8859-2 charset (Iso Latin-2)
|
||||
# For convert to MS Windows use shell command:
|
||||
# iconv -f ISO_8859-2 -t CP1250 < adodb-cz.inc.php
|
||||
# For convert to ASCII use shell command:
|
||||
# unaccent ISO_8859-2 < adodb-cz.inc.php
|
||||
# v1.0, 19.06.2003 Kamil Jakubovic <[email protected]>
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'cz',
|
||||
DB_ERROR => 'neznámá chyba',
|
||||
DB_ERROR_ALREADY_EXISTS => 'ji? existuje',
|
||||
DB_ERROR_CANNOT_CREATE => 'nelze vytvo?it',
|
||||
DB_ERROR_CANNOT_DELETE => 'nelze smazat',
|
||||
DB_ERROR_CANNOT_DROP => 'nelze odstranit',
|
||||
DB_ERROR_CONSTRAINT => 'poru?ení omezující podmínky',
|
||||
DB_ERROR_DIVZERO => 'd?lení nulou',
|
||||
DB_ERROR_INVALID => 'neplatné',
|
||||
DB_ERROR_INVALID_DATE => 'neplatné datum nebo ?as',
|
||||
DB_ERROR_INVALID_NUMBER => 'neplatné ?íslo',
|
||||
DB_ERROR_MISMATCH => 'nesouhlasí',
|
||||
DB_ERROR_NODBSELECTED => '?ádná databáze není vybrána',
|
||||
DB_ERROR_NOSUCHFIELD => 'pole nenalezeno',
|
||||
DB_ERROR_NOSUCHTABLE => 'tabulka nenalezena',
|
||||
DB_ERROR_NOT_CAPABLE => 'nepodporováno',
|
||||
DB_ERROR_NOT_FOUND => 'nenalezeno',
|
||||
DB_ERROR_NOT_LOCKED => 'nezam?eno',
|
||||
DB_ERROR_SYNTAX => 'syntaktická chyba',
|
||||
DB_ERROR_UNSUPPORTED => 'nepodporováno',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => '',
|
||||
DB_ERROR_INVALID_DSN => 'neplatné DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'p?ipojení selhalo',
|
||||
0 => 'bez chyb', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'málo zdrojových dat',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'roz?í?ení nenalezeno',
|
||||
DB_ERROR_NOSUCHDB => 'databáze neexistuje',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'nedostate?ná práva'
|
||||
);
|
||||
<?php
|
||||
|
||||
# Czech language, encoding by ISO 8859-2 charset (Iso Latin-2)
|
||||
# For convert to MS Windows use shell command:
|
||||
# iconv -f ISO_8859-2 -t CP1250 < adodb-cz.inc.php
|
||||
# For convert to ASCII use shell command:
|
||||
# unaccent ISO_8859-2 < adodb-cz.inc.php
|
||||
# v1.0, 19.06.2003 Kamil Jakubovic <[email protected]>
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'cz',
|
||||
DB_ERROR => 'nezn�m� chyba',
|
||||
DB_ERROR_ALREADY_EXISTS => 'ji? existuje',
|
||||
DB_ERROR_CANNOT_CREATE => 'nelze vytvo?it',
|
||||
DB_ERROR_CANNOT_DELETE => 'nelze smazat',
|
||||
DB_ERROR_CANNOT_DROP => 'nelze odstranit',
|
||||
DB_ERROR_CONSTRAINT => 'poru?en� omezuj�c� podm�nky',
|
||||
DB_ERROR_DIVZERO => 'd?len� nulou',
|
||||
DB_ERROR_INVALID => 'neplatn�',
|
||||
DB_ERROR_INVALID_DATE => 'neplatn� datum nebo ?as',
|
||||
DB_ERROR_INVALID_NUMBER => 'neplatn� ?�slo',
|
||||
DB_ERROR_MISMATCH => 'nesouhlas�',
|
||||
DB_ERROR_NODBSELECTED => '?�dn� datab�ze nen� vybr�na',
|
||||
DB_ERROR_NOSUCHFIELD => 'pole nenalezeno',
|
||||
DB_ERROR_NOSUCHTABLE => 'tabulka nenalezena',
|
||||
DB_ERROR_NOT_CAPABLE => 'nepodporov�no',
|
||||
DB_ERROR_NOT_FOUND => 'nenalezeno',
|
||||
DB_ERROR_NOT_LOCKED => 'nezam?eno',
|
||||
DB_ERROR_SYNTAX => 'syntaktick� chyba',
|
||||
DB_ERROR_UNSUPPORTED => 'nepodporov�no',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => '',
|
||||
DB_ERROR_INVALID_DSN => 'neplatn� DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'p?ipojen� selhalo',
|
||||
0 => 'bez chyb', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'm�lo zdrojov�ch dat',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'roz?�?en� nenalezeno',
|
||||
DB_ERROR_NOSUCHDB => 'datab�ze neexistuje',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'nedostate?n� pr�va'
|
||||
);
|
||||
?>
|
||||
@@ -1,33 +1,33 @@
|
||||
<?php
|
||||
// contributed by "Heinz Hombergs" <[email protected]>
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'de',
|
||||
DB_ERROR => 'Unbekannter Fehler',
|
||||
DB_ERROR_ALREADY_EXISTS => 'existiert bereits',
|
||||
DB_ERROR_CANNOT_CREATE => 'kann nicht erstellen',
|
||||
DB_ERROR_CANNOT_DELETE => 'kann nicht löschen',
|
||||
DB_ERROR_CANNOT_DROP => 'Tabelle oder Index konnte nicht gelöscht werden',
|
||||
DB_ERROR_CONSTRAINT => 'Constraint Verletzung',
|
||||
DB_ERROR_DIVZERO => 'Division durch Null',
|
||||
DB_ERROR_INVALID => 'ung¨ltig',
|
||||
DB_ERROR_INVALID_DATE => 'ung¨ltiges Datum oder Zeit',
|
||||
DB_ERROR_INVALID_NUMBER => 'ung¨ltige Zahl',
|
||||
DB_ERROR_MISMATCH => 'Unverträglichkeit',
|
||||
DB_ERROR_NODBSELECTED => 'keine Dantebank ausgewählt',
|
||||
DB_ERROR_NOSUCHFIELD => 'Feld nicht vorhanden',
|
||||
DB_ERROR_NOSUCHTABLE => 'Tabelle nicht vorhanden',
|
||||
DB_ERROR_NOT_CAPABLE => 'Funktion nicht installiert',
|
||||
DB_ERROR_NOT_FOUND => 'nicht gefunden',
|
||||
DB_ERROR_NOT_LOCKED => 'nicht gesperrt',
|
||||
DB_ERROR_SYNTAX => 'Syntaxfehler',
|
||||
DB_ERROR_UNSUPPORTED => 'nicht Unterst¨tzt',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'Anzahl der zur¨ckgelieferten Felder entspricht nicht der Anzahl der Felder in der Abfrage',
|
||||
DB_ERROR_INVALID_DSN => 'ung¨ltiger DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'Verbindung konnte nicht hergestellt werden',
|
||||
0 => 'kein Fehler', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'Nicht gen¨gend Daten geliefert',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'erweiterung nicht gefunden',
|
||||
DB_ERROR_NOSUCHDB => 'keine Datenbank',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'ungen¨gende Rechte'
|
||||
);
|
||||
<?php
|
||||
// contributed by "Heinz Hombergs" <[email protected]>
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'de',
|
||||
DB_ERROR => 'Unbekannter Fehler',
|
||||
DB_ERROR_ALREADY_EXISTS => 'existiert bereits',
|
||||
DB_ERROR_CANNOT_CREATE => 'kann nicht erstellen',
|
||||
DB_ERROR_CANNOT_DELETE => 'kann nicht löschen',
|
||||
DB_ERROR_CANNOT_DROP => 'Tabelle oder Index konnte nicht gelöscht werden',
|
||||
DB_ERROR_CONSTRAINT => 'Constraint Verletzung',
|
||||
DB_ERROR_DIVZERO => 'Division durch Null',
|
||||
DB_ERROR_INVALID => 'ung¨ltig',
|
||||
DB_ERROR_INVALID_DATE => 'ung¨ltiges Datum oder Zeit',
|
||||
DB_ERROR_INVALID_NUMBER => 'ung¨ltige Zahl',
|
||||
DB_ERROR_MISMATCH => 'Unverträglichkeit',
|
||||
DB_ERROR_NODBSELECTED => 'keine Dantebank ausgewählt',
|
||||
DB_ERROR_NOSUCHFIELD => 'Feld nicht vorhanden',
|
||||
DB_ERROR_NOSUCHTABLE => 'Tabelle nicht vorhanden',
|
||||
DB_ERROR_NOT_CAPABLE => 'Funktion nicht installiert',
|
||||
DB_ERROR_NOT_FOUND => 'nicht gefunden',
|
||||
DB_ERROR_NOT_LOCKED => 'nicht gesperrt',
|
||||
DB_ERROR_SYNTAX => 'Syntaxfehler',
|
||||
DB_ERROR_UNSUPPORTED => 'nicht Unterst¨tzt',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'Anzahl der zur¨ckgelieferten Felder entspricht nicht der Anzahl der Felder in der Abfrage',
|
||||
DB_ERROR_INVALID_DSN => 'ung¨ltiger DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'Verbindung konnte nicht hergestellt werden',
|
||||
0 => 'kein Fehler', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'Nicht gen¨gend Daten geliefert',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'erweiterung nicht gefunden',
|
||||
DB_ERROR_NOSUCHDB => 'keine Datenbank',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'ungen¨gende Rechte'
|
||||
);
|
||||
?>
|
||||
@@ -1,35 +1,35 @@
|
||||
<?php
|
||||
|
||||
/* Farsi - by "Peyman Hooshmandi Raad" <phooshmand#gmail.com> */
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'fa',
|
||||
DB_ERROR => 'خطای ناشناخته',
|
||||
DB_ERROR_ALREADY_EXISTS => 'وجود دارد',
|
||||
DB_ERROR_CANNOT_CREATE => 'امکان create وجود ندارد',
|
||||
DB_ERROR_CANNOT_DELETE => 'امکان حذف وجود ندارد',
|
||||
DB_ERROR_CANNOT_DROP => 'امکان drop وجود ندارد',
|
||||
DB_ERROR_CONSTRAINT => 'نقض شرط',
|
||||
DB_ERROR_DIVZERO => 'تقسیم بر صفر',
|
||||
DB_ERROR_INVALID => 'نامعتبر',
|
||||
DB_ERROR_INVALID_DATE => 'زمان یا تاریخ نامعتبر',
|
||||
DB_ERROR_INVALID_NUMBER => 'عدد نامعتبر',
|
||||
DB_ERROR_MISMATCH => 'عدم مطابقت',
|
||||
DB_ERROR_NODBSELECTED => 'بانک اطلاعاتی انتخاب نشده است',
|
||||
DB_ERROR_NOSUCHFIELD => 'چنین ستونی وجود ندارد',
|
||||
DB_ERROR_NOSUCHTABLE => 'چنین جدولی وجود ندارد',
|
||||
DB_ERROR_NOT_CAPABLE => 'backend بانک اطلاعاتی قادر نیست',
|
||||
DB_ERROR_NOT_FOUND => 'پیدا نشد',
|
||||
DB_ERROR_NOT_LOCKED => 'قفل نشده',
|
||||
DB_ERROR_SYNTAX => 'خطای دستوری',
|
||||
DB_ERROR_UNSUPPORTED => 'پشتیبانی نمی شود',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'شمارش مقادیر روی ردیف',
|
||||
DB_ERROR_INVALID_DSN => 'DSN نامعتبر',
|
||||
DB_ERROR_CONNECT_FAILED => 'ارتباط برقرار نشد',
|
||||
0 => 'بدون خطا', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'داده ناکافی است',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extension پیدا نشد',
|
||||
DB_ERROR_NOSUCHDB => 'چنین بانک اطلاعاتی وجود ندارد',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'حق دسترسی ناکافی'
|
||||
);
|
||||
<?php
|
||||
|
||||
/* Farsi - by "Peyman Hooshmandi Raad" <phooshmand#gmail.com> */
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'fa',
|
||||
DB_ERROR => 'خطای ناشناخته',
|
||||
DB_ERROR_ALREADY_EXISTS => 'وجود دارد',
|
||||
DB_ERROR_CANNOT_CREATE => 'امکان create وجود ندارد',
|
||||
DB_ERROR_CANNOT_DELETE => 'امکان حذف وجود ندارد',
|
||||
DB_ERROR_CANNOT_DROP => 'امکان drop وجود ندارد',
|
||||
DB_ERROR_CONSTRAINT => 'نقض شرط',
|
||||
DB_ERROR_DIVZERO => 'تقسیم بر صفر',
|
||||
DB_ERROR_INVALID => 'نامعتبر',
|
||||
DB_ERROR_INVALID_DATE => 'زمان یا تاریخ نامعتبر',
|
||||
DB_ERROR_INVALID_NUMBER => 'عدد نامعتبر',
|
||||
DB_ERROR_MISMATCH => 'عدم مطابقت',
|
||||
DB_ERROR_NODBSELECTED => 'بانک اطلاعاتی انتخاب نشده است',
|
||||
DB_ERROR_NOSUCHFIELD => 'چنین ستونی وجود ندارد',
|
||||
DB_ERROR_NOSUCHTABLE => 'چنین جدولی وجود ندارد',
|
||||
DB_ERROR_NOT_CAPABLE => 'backend بانک اطلاعاتی قادر نیست',
|
||||
DB_ERROR_NOT_FOUND => 'پیدا نشد',
|
||||
DB_ERROR_NOT_LOCKED => 'قفل نشده',
|
||||
DB_ERROR_SYNTAX => 'خطای دستوری',
|
||||
DB_ERROR_UNSUPPORTED => 'پشتیبانی نمی شود',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'شمارش مقادیر روی ردیف',
|
||||
DB_ERROR_INVALID_DSN => 'DSN نامعتبر',
|
||||
DB_ERROR_CONNECT_FAILED => 'ارتباط برقرار نشد',
|
||||
0 => 'بدون خطا', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'داده ناکافی است',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extension پیدا نشد',
|
||||
DB_ERROR_NOSUCHDB => 'چنین بانک اطلاعاتی وجود ندارد',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'حق دسترسی ناکافی'
|
||||
);
|
||||
?>
|
||||
@@ -1,33 +1,33 @@
|
||||
<?php
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'fr',
|
||||
DB_ERROR => 'erreur inconnue',
|
||||
DB_ERROR_ALREADY_EXISTS => 'existe déjà',
|
||||
DB_ERROR_CANNOT_CREATE => 'crétion impossible',
|
||||
DB_ERROR_CANNOT_DELETE => 'effacement impossible',
|
||||
DB_ERROR_CANNOT_DROP => 'suppression impossible',
|
||||
DB_ERROR_CONSTRAINT => 'violation de contrainte',
|
||||
DB_ERROR_DIVZERO => 'division par zéro',
|
||||
DB_ERROR_INVALID => 'invalide',
|
||||
DB_ERROR_INVALID_DATE => 'date ou heure invalide',
|
||||
DB_ERROR_INVALID_NUMBER => 'nombre invalide',
|
||||
DB_ERROR_MISMATCH => 'erreur de concordance',
|
||||
DB_ERROR_NODBSELECTED => 'pas de base de donnéessélectionnée',
|
||||
DB_ERROR_NOSUCHFIELD => 'nom de colonne invalide',
|
||||
DB_ERROR_NOSUCHTABLE => 'table ou vue inexistante',
|
||||
DB_ERROR_NOT_CAPABLE => 'fonction optionnelle non installée',
|
||||
DB_ERROR_NOT_FOUND => 'pas trouvé',
|
||||
DB_ERROR_NOT_LOCKED => 'non verrouillé',
|
||||
DB_ERROR_SYNTAX => 'erreur de syntaxe',
|
||||
DB_ERROR_UNSUPPORTED => 'non supporté',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'valeur insérée trop grande pour colonne',
|
||||
DB_ERROR_INVALID_DSN => 'DSN invalide',
|
||||
DB_ERROR_CONNECT_FAILED => 'échec à la connexion',
|
||||
0 => "pas d'erreur", // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'données fournies insuffisantes',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extension non trouvée',
|
||||
DB_ERROR_NOSUCHDB => 'base de données inconnue',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'droits insuffisants'
|
||||
);
|
||||
<?php
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'fr',
|
||||
DB_ERROR => 'erreur inconnue',
|
||||
DB_ERROR_ALREADY_EXISTS => 'existe déjà',
|
||||
DB_ERROR_CANNOT_CREATE => 'crétion impossible',
|
||||
DB_ERROR_CANNOT_DELETE => 'effacement impossible',
|
||||
DB_ERROR_CANNOT_DROP => 'suppression impossible',
|
||||
DB_ERROR_CONSTRAINT => 'violation de contrainte',
|
||||
DB_ERROR_DIVZERO => 'division par zéro',
|
||||
DB_ERROR_INVALID => 'invalide',
|
||||
DB_ERROR_INVALID_DATE => 'date ou heure invalide',
|
||||
DB_ERROR_INVALID_NUMBER => 'nombre invalide',
|
||||
DB_ERROR_MISMATCH => 'erreur de concordance',
|
||||
DB_ERROR_NODBSELECTED => 'pas de base de donnéessélectionnée',
|
||||
DB_ERROR_NOSUCHFIELD => 'nom de colonne invalide',
|
||||
DB_ERROR_NOSUCHTABLE => 'table ou vue inexistante',
|
||||
DB_ERROR_NOT_CAPABLE => 'fonction optionnelle non installée',
|
||||
DB_ERROR_NOT_FOUND => 'pas trouvé',
|
||||
DB_ERROR_NOT_LOCKED => 'non verrouillé',
|
||||
DB_ERROR_SYNTAX => 'erreur de syntaxe',
|
||||
DB_ERROR_UNSUPPORTED => 'non supporté',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'valeur insérée trop grande pour colonne',
|
||||
DB_ERROR_INVALID_DSN => 'DSN invalide',
|
||||
DB_ERROR_CONNECT_FAILED => 'échec à la connexion',
|
||||
0 => "pas d'erreur", // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'données fournies insuffisantes',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extension non trouvée',
|
||||
DB_ERROR_NOSUCHDB => 'base de données inconnue',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'droits insuffisants'
|
||||
);
|
||||
?>
|
||||
@@ -1,34 +1,34 @@
|
||||
<?php
|
||||
// Italian language file contributed by Tiraboschi Massimiliano aka TiMax
|
||||
// www.maxdev.com [email protected]
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'it',
|
||||
DB_ERROR => 'errore sconosciuto',
|
||||
DB_ERROR_ALREADY_EXISTS => 'esiste già',
|
||||
DB_ERROR_CANNOT_CREATE => 'non posso creare',
|
||||
DB_ERROR_CANNOT_DELETE => 'non posso cancellare',
|
||||
DB_ERROR_CANNOT_DROP => 'non posso eliminare',
|
||||
DB_ERROR_CONSTRAINT => 'violazione constraint',
|
||||
DB_ERROR_DIVZERO => 'divisione per zero',
|
||||
DB_ERROR_INVALID => 'non valido',
|
||||
DB_ERROR_INVALID_DATE => 'data od ora non valida',
|
||||
DB_ERROR_INVALID_NUMBER => 'numero non valido',
|
||||
DB_ERROR_MISMATCH => 'diversi',
|
||||
DB_ERROR_NODBSELECTED => 'nessun database selezionato',
|
||||
DB_ERROR_NOSUCHFIELD => 'nessun campo trovato',
|
||||
DB_ERROR_NOSUCHTABLE => 'nessuna tabella trovata',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend non abilitato',
|
||||
DB_ERROR_NOT_FOUND => 'non trovato',
|
||||
DB_ERROR_NOT_LOCKED => 'non bloccato',
|
||||
DB_ERROR_SYNTAX => 'errore di sintassi',
|
||||
DB_ERROR_UNSUPPORTED => 'non supportato',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'valore inserito troppo grande per una colonna',
|
||||
DB_ERROR_INVALID_DSN => 'DSN non valido',
|
||||
DB_ERROR_CONNECT_FAILED => 'connessione fallita',
|
||||
0 => 'nessun errore', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'dati inseriti insufficienti',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'estensione non trovata',
|
||||
DB_ERROR_NOSUCHDB => 'database non trovato',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'permessi insufficienti'
|
||||
);
|
||||
<?php
|
||||
// Italian language file contributed by Tiraboschi Massimiliano aka TiMax
|
||||
// www.maxdev.com [email protected]
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'it',
|
||||
DB_ERROR => 'errore sconosciuto',
|
||||
DB_ERROR_ALREADY_EXISTS => 'esiste già',
|
||||
DB_ERROR_CANNOT_CREATE => 'non posso creare',
|
||||
DB_ERROR_CANNOT_DELETE => 'non posso cancellare',
|
||||
DB_ERROR_CANNOT_DROP => 'non posso eliminare',
|
||||
DB_ERROR_CONSTRAINT => 'violazione constraint',
|
||||
DB_ERROR_DIVZERO => 'divisione per zero',
|
||||
DB_ERROR_INVALID => 'non valido',
|
||||
DB_ERROR_INVALID_DATE => 'data od ora non valida',
|
||||
DB_ERROR_INVALID_NUMBER => 'numero non valido',
|
||||
DB_ERROR_MISMATCH => 'diversi',
|
||||
DB_ERROR_NODBSELECTED => 'nessun database selezionato',
|
||||
DB_ERROR_NOSUCHFIELD => 'nessun campo trovato',
|
||||
DB_ERROR_NOSUCHTABLE => 'nessuna tabella trovata',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend non abilitato',
|
||||
DB_ERROR_NOT_FOUND => 'non trovato',
|
||||
DB_ERROR_NOT_LOCKED => 'non bloccato',
|
||||
DB_ERROR_SYNTAX => 'errore di sintassi',
|
||||
DB_ERROR_UNSUPPORTED => 'non supportato',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'valore inserito troppo grande per una colonna',
|
||||
DB_ERROR_INVALID_DSN => 'DSN non valido',
|
||||
DB_ERROR_CONNECT_FAILED => 'connessione fallita',
|
||||
0 => 'nessun errore', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'dati inseriti insufficienti',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'estensione non trovata',
|
||||
DB_ERROR_NOSUCHDB => 'database non trovato',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'permessi insufficienti'
|
||||
);
|
||||
?>
|
||||
@@ -1,35 +1,35 @@
|
||||
<?php
|
||||
|
||||
// Russian language file contributed by "Cyrill Malevanov" cyrill#malevanov.spb.ru.
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'ru1251',
|
||||
DB_ERROR => 'неизвестная ошибка',
|
||||
DB_ERROR_ALREADY_EXISTS => 'уже существует',
|
||||
DB_ERROR_CANNOT_CREATE => 'невозможно создать',
|
||||
DB_ERROR_CANNOT_DELETE => 'невозможно удалить',
|
||||
DB_ERROR_CANNOT_DROP => 'невозможно удалить (drop)',
|
||||
DB_ERROR_CONSTRAINT => 'нарушение условий проверки',
|
||||
DB_ERROR_DIVZERO => 'деление на 0',
|
||||
DB_ERROR_INVALID => 'неправильно',
|
||||
DB_ERROR_INVALID_DATE => 'некорректная дата или время',
|
||||
DB_ERROR_INVALID_NUMBER => 'некорректное число',
|
||||
DB_ERROR_MISMATCH => 'ошибка',
|
||||
DB_ERROR_NODBSELECTED => 'БД не выбрана',
|
||||
DB_ERROR_NOSUCHFIELD => 'не существует поле',
|
||||
DB_ERROR_NOSUCHTABLE => 'не существует таблица',
|
||||
DB_ERROR_NOT_CAPABLE => 'СУБД не в состоянии',
|
||||
DB_ERROR_NOT_FOUND => 'не найдено',
|
||||
DB_ERROR_NOT_LOCKED => 'не заблокировано',
|
||||
DB_ERROR_SYNTAX => 'синтаксическая ошибка',
|
||||
DB_ERROR_UNSUPPORTED => 'не поддерживается',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'счетчик значений в строке',
|
||||
DB_ERROR_INVALID_DSN => 'неправильная DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'соединение неуспешно',
|
||||
0 => 'нет ошибки', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'предоставлено недостаточно данных',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'расширение не найдено',
|
||||
DB_ERROR_NOSUCHDB => 'не существует БД',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'недостаточно прав доступа'
|
||||
);
|
||||
<?php
|
||||
|
||||
// Russian language file contributed by "Cyrill Malevanov" cyrill#malevanov.spb.ru.
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'ru1251',
|
||||
DB_ERROR => '����������� ������',
|
||||
DB_ERROR_ALREADY_EXISTS => '��� ����������',
|
||||
DB_ERROR_CANNOT_CREATE => '���������� �������',
|
||||
DB_ERROR_CANNOT_DELETE => '���������� �������',
|
||||
DB_ERROR_CANNOT_DROP => '���������� ������� (drop)',
|
||||
DB_ERROR_CONSTRAINT => '��������� ������� ��������',
|
||||
DB_ERROR_DIVZERO => '������� �� 0',
|
||||
DB_ERROR_INVALID => '�����������',
|
||||
DB_ERROR_INVALID_DATE => '������������ ���� ��� �����',
|
||||
DB_ERROR_INVALID_NUMBER => '������������ �����',
|
||||
DB_ERROR_MISMATCH => '������',
|
||||
DB_ERROR_NODBSELECTED => '�� �� �������',
|
||||
DB_ERROR_NOSUCHFIELD => '�� ���������� ����',
|
||||
DB_ERROR_NOSUCHTABLE => '�� ���������� �������',
|
||||
DB_ERROR_NOT_CAPABLE => '���� �� � ���������',
|
||||
DB_ERROR_NOT_FOUND => '�� �������',
|
||||
DB_ERROR_NOT_LOCKED => '�� �������������',
|
||||
DB_ERROR_SYNTAX => '�������������� ������',
|
||||
DB_ERROR_UNSUPPORTED => '�� ��������������',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => '������� �������� � ������',
|
||||
DB_ERROR_INVALID_DSN => '������������ DSN',
|
||||
DB_ERROR_CONNECT_FAILED => '���������� ���������',
|
||||
0 => '��� ������', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => '������������� ������������ ������',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> '���������� �� �������',
|
||||
DB_ERROR_NOSUCHDB => '�� ���������� ��',
|
||||
DB_ERROR_ACCESS_VIOLATION => '������������ ���� �������'
|
||||
);
|
||||
?>
|
||||
@@ -1,33 +1,33 @@
|
||||
<?php
|
||||
// Christian Tiberg" [email protected]
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'en',
|
||||
DB_ERROR => 'Okänt fel',
|
||||
DB_ERROR_ALREADY_EXISTS => 'finns redan',
|
||||
DB_ERROR_CANNOT_CREATE => 'kan inte skapa',
|
||||
DB_ERROR_CANNOT_DELETE => 'kan inte ta bort',
|
||||
DB_ERROR_CANNOT_DROP => 'kan inte släppa',
|
||||
DB_ERROR_CONSTRAINT => 'begränsning kränkt',
|
||||
DB_ERROR_DIVZERO => 'division med noll',
|
||||
DB_ERROR_INVALID => 'ogiltig',
|
||||
DB_ERROR_INVALID_DATE => 'ogiltigt datum eller tid',
|
||||
DB_ERROR_INVALID_NUMBER => 'ogiltigt tal',
|
||||
DB_ERROR_MISMATCH => 'felaktig matchning',
|
||||
DB_ERROR_NODBSELECTED => 'ingen databas vald',
|
||||
DB_ERROR_NOSUCHFIELD => 'inget sådant fält',
|
||||
DB_ERROR_NOSUCHTABLE => 'ingen sådan tabell',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend klarar det inte',
|
||||
DB_ERROR_NOT_FOUND => 'finns inte',
|
||||
DB_ERROR_NOT_LOCKED => 'inte låst',
|
||||
DB_ERROR_SYNTAX => 'syntaxfel',
|
||||
DB_ERROR_UNSUPPORTED => 'stöds ej',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'värde räknat på rad',
|
||||
DB_ERROR_INVALID_DSN => 'ogiltig DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'anslutning misslyckades',
|
||||
0 => 'inget fel', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'otillräckligt med data angivet',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'utökning hittades ej',
|
||||
DB_ERROR_NOSUCHDB => 'ingen sådan databas',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'otillräckliga rättigheter'
|
||||
);
|
||||
<?php
|
||||
// Christian Tiberg" [email protected]
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'en',
|
||||
DB_ERROR => 'Ok�nt fel',
|
||||
DB_ERROR_ALREADY_EXISTS => 'finns redan',
|
||||
DB_ERROR_CANNOT_CREATE => 'kan inte skapa',
|
||||
DB_ERROR_CANNOT_DELETE => 'kan inte ta bort',
|
||||
DB_ERROR_CANNOT_DROP => 'kan inte sl�ppa',
|
||||
DB_ERROR_CONSTRAINT => 'begr�nsning kr�nkt',
|
||||
DB_ERROR_DIVZERO => 'division med noll',
|
||||
DB_ERROR_INVALID => 'ogiltig',
|
||||
DB_ERROR_INVALID_DATE => 'ogiltigt datum eller tid',
|
||||
DB_ERROR_INVALID_NUMBER => 'ogiltigt tal',
|
||||
DB_ERROR_MISMATCH => 'felaktig matchning',
|
||||
DB_ERROR_NODBSELECTED => 'ingen databas vald',
|
||||
DB_ERROR_NOSUCHFIELD => 'inget s�dant f�lt',
|
||||
DB_ERROR_NOSUCHTABLE => 'ingen s�dan tabell',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend klarar det inte',
|
||||
DB_ERROR_NOT_FOUND => 'finns inte',
|
||||
DB_ERROR_NOT_LOCKED => 'inte l�st',
|
||||
DB_ERROR_SYNTAX => 'syntaxfel',
|
||||
DB_ERROR_UNSUPPORTED => 'st�ds ej',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'v�rde r�knat p� rad',
|
||||
DB_ERROR_INVALID_DSN => 'ogiltig DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'anslutning misslyckades',
|
||||
0 => 'inget fel', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'otillr�ckligt med data angivet',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'ut�kning hittades ej',
|
||||
DB_ERROR_NOSUCHDB => 'ingen s�dan databas',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'otillr�ckliga r�ttigheter'
|
||||
);
|
||||
?>
|
||||
+181
-181
@@ -1,182 +1,182 @@
|
||||
ADOdb is dual licensed using BSD and LGPL.
|
||||
|
||||
In plain English, you do not need to distribute your application in source code form, nor do you need to distribute ADOdb source code, provided you follow the rest of terms of the BSD license.
|
||||
|
||||
For more info about ADOdb, visit http://adodb.sourceforge.net/
|
||||
|
||||
BSD Style-License
|
||||
=================
|
||||
|
||||
Copyright (c) 2000, 2001, 2002, 2003, 2004 John Lim
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
Redistributions of source code must retain the above copyright notice, this list
|
||||
of conditions and the following disclaimer.
|
||||
|
||||
Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
of conditions and the following disclaimer in the documentation and/or other materials
|
||||
provided with the distribution.
|
||||
|
||||
Neither the name of the John Lim nor the names of its contributors may be used to
|
||||
endorse or promote products derived from this software without specific prior written
|
||||
permission.
|
||||
|
||||
DISCLAIMER:
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
JOHN LIM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
==========================================================
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
|
||||
Preamble
|
||||
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run.
|
||||
|
||||
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
|
||||
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change.
|
||||
c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License.
|
||||
d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful.
|
||||
(For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things:
|
||||
|
||||
|
||||
a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.)
|
||||
b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with.
|
||||
c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution.
|
||||
d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place.
|
||||
e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy.
|
||||
For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things:
|
||||
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above.
|
||||
b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
|
||||
8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
|
||||
ADOdb is dual licensed using BSD and LGPL.
|
||||
|
||||
In plain English, you do not need to distribute your application in source code form, nor do you need to distribute ADOdb source code, provided you follow the rest of terms of the BSD license.
|
||||
|
||||
For more info about ADOdb, visit http://adodb.sourceforge.net/
|
||||
|
||||
BSD Style-License
|
||||
=================
|
||||
|
||||
Copyright (c) 2000, 2001, 2002, 2003, 2004 John Lim
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
Redistributions of source code must retain the above copyright notice, this list
|
||||
of conditions and the following disclaimer.
|
||||
|
||||
Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
of conditions and the following disclaimer in the documentation and/or other materials
|
||||
provided with the distribution.
|
||||
|
||||
Neither the name of the John Lim nor the names of its contributors may be used to
|
||||
endorse or promote products derived from this software without specific prior written
|
||||
permission.
|
||||
|
||||
DISCLAIMER:
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
JOHN LIM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
==========================================================
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
|
||||
Preamble
|
||||
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run.
|
||||
|
||||
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
|
||||
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change.
|
||||
c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License.
|
||||
d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful.
|
||||
(For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things:
|
||||
|
||||
|
||||
a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.)
|
||||
b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with.
|
||||
c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution.
|
||||
d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place.
|
||||
e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy.
|
||||
For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things:
|
||||
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above.
|
||||
b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
|
||||
8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
+61
-61
@@ -1,62 +1,62 @@
|
||||
>> ADODB Library for PHP4
|
||||
|
||||
(c) 2000-2004 John Lim ([email protected])
|
||||
|
||||
Released under both BSD and GNU Lesser GPL library license.
|
||||
This means you can use it in proprietary products.
|
||||
|
||||
|
||||
>> Introduction
|
||||
|
||||
PHP's database access functions are not standardised. This creates a
|
||||
need for a database class library to hide the differences between the
|
||||
different databases (encapsulate the differences) so we can easily
|
||||
switch databases.
|
||||
|
||||
We currently support MySQL, Interbase, Sybase, PostgreSQL, Oracle,
|
||||
Microsoft SQL server, Foxpro ODBC, Access ODBC, Informix, DB2,
|
||||
Sybase SQL Anywhere, generic ODBC and Microsoft's ADO.
|
||||
|
||||
We hope more people will contribute drivers to support other databases.
|
||||
|
||||
|
||||
>> Documentation and Examples
|
||||
|
||||
Refer to the adodb/docs directory for full documentation and examples.
|
||||
There is also a tutorial tute.htm that contrasts ADODB code with
|
||||
mysql code.
|
||||
|
||||
|
||||
>>> Files
|
||||
Adodb.inc.php is the main file. You need to include only this file.
|
||||
|
||||
Adodb-*.inc.php are the database specific driver code.
|
||||
|
||||
Test.php contains a list of test commands to exercise the class library.
|
||||
|
||||
Adodb-session.php is the PHP4 session handling code.
|
||||
|
||||
Testdatabases.inc.php contains the list of databases to apply the tests on.
|
||||
|
||||
Benchmark.php is a simple benchmark to test the throughput of a simple SELECT
|
||||
statement for databases described in testdatabases.inc.php. The benchmark
|
||||
tables are created in test.php.
|
||||
|
||||
readme.htm is the main documentation.
|
||||
|
||||
tute.htm is the tutorial.
|
||||
|
||||
|
||||
>> More Info
|
||||
|
||||
For more information, including installation see readme.htm
|
||||
or visit
|
||||
http://adodb.sourceforge.net/
|
||||
|
||||
|
||||
>> Feature Requests and Bug Reports
|
||||
|
||||
Email to [email protected]
|
||||
|
||||
|
||||
>> ADODB Library for PHP4
|
||||
|
||||
(c) 2000-2004 John Lim ([email protected])
|
||||
|
||||
Released under both BSD and GNU Lesser GPL library license.
|
||||
This means you can use it in proprietary products.
|
||||
|
||||
|
||||
>> Introduction
|
||||
|
||||
PHP's database access functions are not standardised. This creates a
|
||||
need for a database class library to hide the differences between the
|
||||
different databases (encapsulate the differences) so we can easily
|
||||
switch databases.
|
||||
|
||||
We currently support MySQL, Interbase, Sybase, PostgreSQL, Oracle,
|
||||
Microsoft SQL server, Foxpro ODBC, Access ODBC, Informix, DB2,
|
||||
Sybase SQL Anywhere, generic ODBC and Microsoft's ADO.
|
||||
|
||||
We hope more people will contribute drivers to support other databases.
|
||||
|
||||
|
||||
>> Documentation and Examples
|
||||
|
||||
Refer to the adodb/docs directory for full documentation and examples.
|
||||
There is also a tutorial tute.htm that contrasts ADODB code with
|
||||
mysql code.
|
||||
|
||||
|
||||
>>> Files
|
||||
Adodb.inc.php is the main file. You need to include only this file.
|
||||
|
||||
Adodb-*.inc.php are the database specific driver code.
|
||||
|
||||
Test.php contains a list of test commands to exercise the class library.
|
||||
|
||||
Adodb-session.php is the PHP4 session handling code.
|
||||
|
||||
Testdatabases.inc.php contains the list of databases to apply the tests on.
|
||||
|
||||
Benchmark.php is a simple benchmark to test the throughput of a simple SELECT
|
||||
statement for databases described in testdatabases.inc.php. The benchmark
|
||||
tables are created in test.php.
|
||||
|
||||
readme.htm is the main documentation.
|
||||
|
||||
tute.htm is the tutorial.
|
||||
|
||||
|
||||
>> More Info
|
||||
|
||||
For more information, including installation see readme.htm
|
||||
or visit
|
||||
http://adodb.sourceforge.net/
|
||||
|
||||
|
||||
>> Feature Requests and Bug Reports
|
||||
|
||||
Email to [email protected]
|
||||
|
||||
|
||||
|
||||
+42
-42
@@ -1,43 +1,43 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE adodb_schema [
|
||||
<!ELEMENT schema (table*, sql*)>
|
||||
<!ATTLIST schema version CDATA #REQUIRED>
|
||||
<!ELEMENT table (descr?, (field+|DROP), constraint*, opt*, index*, data*)>
|
||||
<!ATTLIST table name CDATA #REQUIRED platform CDATA #IMPLIED version CDATA #IMPLIED>
|
||||
<!ELEMENT field (descr?, (NOTNULL|KEY|PRIMARY)?, (AUTO|AUTOINCREMENT)?, (DEFAULT|DEFDATE|DEFTIMESTAMP)?, NOQUOTE?, UNSIGNED?, constraint*, opt*)>
|
||||
<!ATTLIST field name CDATA #REQUIRED type (C|C2|X|X2|B|D|T|L|I|F|N) #REQUIRED size CDATA #IMPLIED opts CDATA #IMPLIED>
|
||||
<!ELEMENT data (descr?, row+)>
|
||||
<!ATTLIST data platform CDATA #IMPLIED>
|
||||
<!ELEMENT row (f+)>
|
||||
<!ELEMENT f (#CDATA)>
|
||||
<!ATTLIST f name CDATA #IMPLIED>
|
||||
<!ELEMENT descr (#CDATA)>
|
||||
<!ELEMENT NOTNULL EMPTY>
|
||||
<!ELEMENT KEY EMPTY>
|
||||
<!ELEMENT PRIMARY EMPTY>
|
||||
<!ELEMENT AUTO EMPTY>
|
||||
<!ELEMENT AUTOINCREMENT EMPTY>
|
||||
<!ELEMENT DEFAULT EMPTY>
|
||||
<!ATTLIST DEFAULT value CDATA #REQUIRED>
|
||||
<!ELEMENT DEFDATE EMPTY>
|
||||
<!ELEMENT DEFTIMESTAMP EMPTY>
|
||||
<!ELEMENT NOQUOTE EMPTY>
|
||||
<!ELEMENT UNSIGNED EMPTY>
|
||||
<!ELEMENT DROP EMPTY>
|
||||
<!ELEMENT constraint (#CDATA)>
|
||||
<!ATTLIST constraint platform CDATA #IMPLIED>
|
||||
<!ELEMENT opt (#CDATA)>
|
||||
<!ATTLIST opt platform CDATA #IMPLIED>
|
||||
<!ELEMENT index ((col+|DROP), CLUSTERED?, BITMAP?, UNIQUE?, FULLTEXT?, HASH?, descr?)>
|
||||
<!ATTLIST index name CDATA #REQUIRED platform CDATA #IMPLIED>
|
||||
<!ELEMENT col (#CDATA)>
|
||||
<!ELEMENT CLUSTERED EMPTY>
|
||||
<!ELEMENT BITMAP EMPTY>
|
||||
<!ELEMENT UNIQUE EMPTY>
|
||||
<!ELEMENT FULLTEXT EMPTY>
|
||||
<!ELEMENT HASH EMPTY>
|
||||
<!ELEMENT sql (query+, descr?)>
|
||||
<!ATTLIST sql name CDATA #IMPLIED platform CDATA #IMPLIED, key CDATA, prefixmethod (AUTO|MANUAL|NONE)>
|
||||
<!ELEMENT query (#CDATA)>
|
||||
<!ATTLIST query platform CDATA #IMPLIED>
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE adodb_schema [
|
||||
<!ELEMENT schema (table*, sql*)>
|
||||
<!ATTLIST schema version CDATA #REQUIRED>
|
||||
<!ELEMENT table (descr?, (field+|DROP), constraint*, opt*, index*, data*)>
|
||||
<!ATTLIST table name CDATA #REQUIRED platform CDATA #IMPLIED version CDATA #IMPLIED>
|
||||
<!ELEMENT field (descr?, (NOTNULL|KEY|PRIMARY)?, (AUTO|AUTOINCREMENT)?, (DEFAULT|DEFDATE|DEFTIMESTAMP)?, NOQUOTE?, UNSIGNED?, constraint*, opt*)>
|
||||
<!ATTLIST field name CDATA #REQUIRED type (C|C2|X|X2|B|D|T|L|I|F|N) #REQUIRED size CDATA #IMPLIED opts CDATA #IMPLIED>
|
||||
<!ELEMENT data (descr?, row+)>
|
||||
<!ATTLIST data platform CDATA #IMPLIED>
|
||||
<!ELEMENT row (f+)>
|
||||
<!ELEMENT f (#CDATA)>
|
||||
<!ATTLIST f name CDATA #IMPLIED>
|
||||
<!ELEMENT descr (#CDATA)>
|
||||
<!ELEMENT NOTNULL EMPTY>
|
||||
<!ELEMENT KEY EMPTY>
|
||||
<!ELEMENT PRIMARY EMPTY>
|
||||
<!ELEMENT AUTO EMPTY>
|
||||
<!ELEMENT AUTOINCREMENT EMPTY>
|
||||
<!ELEMENT DEFAULT EMPTY>
|
||||
<!ATTLIST DEFAULT value CDATA #REQUIRED>
|
||||
<!ELEMENT DEFDATE EMPTY>
|
||||
<!ELEMENT DEFTIMESTAMP EMPTY>
|
||||
<!ELEMENT NOQUOTE EMPTY>
|
||||
<!ELEMENT UNSIGNED EMPTY>
|
||||
<!ELEMENT DROP EMPTY>
|
||||
<!ELEMENT constraint (#CDATA)>
|
||||
<!ATTLIST constraint platform CDATA #IMPLIED>
|
||||
<!ELEMENT opt (#CDATA)>
|
||||
<!ATTLIST opt platform CDATA #IMPLIED>
|
||||
<!ELEMENT index ((col+|DROP), CLUSTERED?, BITMAP?, UNIQUE?, FULLTEXT?, HASH?, descr?)>
|
||||
<!ATTLIST index name CDATA #REQUIRED platform CDATA #IMPLIED>
|
||||
<!ELEMENT col (#CDATA)>
|
||||
<!ELEMENT CLUSTERED EMPTY>
|
||||
<!ELEMENT BITMAP EMPTY>
|
||||
<!ELEMENT UNIQUE EMPTY>
|
||||
<!ELEMENT FULLTEXT EMPTY>
|
||||
<!ELEMENT HASH EMPTY>
|
||||
<!ELEMENT sql (query+, descr?)>
|
||||
<!ATTLIST sql name CDATA #IMPLIED platform CDATA #IMPLIED, key CDATA, prefixmethod (AUTO|MANUAL|NONE)>
|
||||
<!ELEMENT query (#CDATA)>
|
||||
<!ATTLIST query platform CDATA #IMPLIED>
|
||||
]>
|
||||
@@ -1,57 +1,57 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
class Association extends BaseObject
|
||||
{
|
||||
private $_from;
|
||||
private $_to;
|
||||
private $_type;
|
||||
|
||||
public function __construct($from, $to, $type)
|
||||
{
|
||||
$this->_from = $from;
|
||||
$this->_to = $to;
|
||||
$this->_type = $type;
|
||||
}
|
||||
|
||||
public function getFrom()
|
||||
{
|
||||
return $this->_from;
|
||||
}
|
||||
|
||||
public function getTo()
|
||||
{
|
||||
return $this->_to;
|
||||
}
|
||||
|
||||
public function getType()
|
||||
{
|
||||
return $this->_type;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
class Association extends BaseObject
|
||||
{
|
||||
private $_from;
|
||||
private $_to;
|
||||
private $_type;
|
||||
|
||||
public function __construct($from, $to, $type)
|
||||
{
|
||||
$this->_from = $from;
|
||||
$this->_to = $to;
|
||||
$this->_type = $type;
|
||||
}
|
||||
|
||||
public function getFrom()
|
||||
{
|
||||
return $this->_from;
|
||||
}
|
||||
|
||||
public function getTo()
|
||||
{
|
||||
return $this->_to;
|
||||
}
|
||||
|
||||
public function getType()
|
||||
{
|
||||
return $this->_type;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
+146
-146
@@ -1,147 +1,147 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005-2007 Alfresco Software Limited.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
class BaseObject
|
||||
{
|
||||
public function __get($name)
|
||||
{
|
||||
$methodName = $name;
|
||||
$methodName[0] = strtoupper($methodName[0]);
|
||||
$methodName = 'get' . $methodName;
|
||||
|
||||
if (method_exists($this, $methodName) == true)
|
||||
{
|
||||
return $this->$methodName();
|
||||
}
|
||||
}
|
||||
|
||||
public function __set($name, $value)
|
||||
{
|
||||
$methodName = $name;
|
||||
$methodName[0] = strtoupper($methodName[0]);
|
||||
$methodName = 'set' . $methodName;
|
||||
|
||||
if (method_exists($this, $methodName) == true)
|
||||
{
|
||||
return $this->$methodName($value);
|
||||
}
|
||||
}
|
||||
|
||||
protected function resultSetToNodes($session, $store, $resultSet)
|
||||
{
|
||||
$return = array();
|
||||
if (isset($resultSet->rows) == true)
|
||||
{
|
||||
if (is_array($resultSet->rows) == true)
|
||||
{
|
||||
foreach($resultSet->rows as $row)
|
||||
{
|
||||
$id = $row->node->id;
|
||||
$return[] = $session->getNode($store, $id);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$id = $resultSet->rows->node->id;
|
||||
$return[] = $session->getNode($store, $id);
|
||||
}
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
protected function resultSetToMap($resultSet)
|
||||
{
|
||||
$return = array();
|
||||
if (isset($resultSet->rows) == true)
|
||||
{
|
||||
if (is_array($resultSet->rows) == true)
|
||||
{
|
||||
foreach($resultSet->rows as $row)
|
||||
{
|
||||
$return[] = $this->columnsToMap($row->columns);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$return[] = $this->columnsToMap($resultSet->rows->columns);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
private function columnsToMap($columns)
|
||||
{
|
||||
$return = array();
|
||||
|
||||
foreach ($columns as $column)
|
||||
{
|
||||
$return[$column->name] = $column->value;
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
protected function remove_array_value($value, &$array)
|
||||
{
|
||||
if ($array != null)
|
||||
{
|
||||
if (in_array($value, $array) == true)
|
||||
{
|
||||
foreach ($array as $index=>$value2)
|
||||
{
|
||||
if ($value == $value2)
|
||||
{
|
||||
unset($array[$index]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function isContentData($value)
|
||||
{
|
||||
$index = strpos($value, "contentUrl=");
|
||||
if ($index === false)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($index == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005-2007 Alfresco Software Limited.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
class BaseObject
|
||||
{
|
||||
public function __get($name)
|
||||
{
|
||||
$methodName = $name;
|
||||
$methodName[0] = strtoupper($methodName[0]);
|
||||
$methodName = 'get' . $methodName;
|
||||
|
||||
if (method_exists($this, $methodName) == true)
|
||||
{
|
||||
return $this->$methodName();
|
||||
}
|
||||
}
|
||||
|
||||
public function __set($name, $value)
|
||||
{
|
||||
$methodName = $name;
|
||||
$methodName[0] = strtoupper($methodName[0]);
|
||||
$methodName = 'set' . $methodName;
|
||||
|
||||
if (method_exists($this, $methodName) == true)
|
||||
{
|
||||
return $this->$methodName($value);
|
||||
}
|
||||
}
|
||||
|
||||
protected function resultSetToNodes($session, $store, $resultSet)
|
||||
{
|
||||
$return = array();
|
||||
if (isset($resultSet->rows) == true)
|
||||
{
|
||||
if (is_array($resultSet->rows) == true)
|
||||
{
|
||||
foreach($resultSet->rows as $row)
|
||||
{
|
||||
$id = $row->node->id;
|
||||
$return[] = $session->getNode($store, $id);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$id = $resultSet->rows->node->id;
|
||||
$return[] = $session->getNode($store, $id);
|
||||
}
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
protected function resultSetToMap($resultSet)
|
||||
{
|
||||
$return = array();
|
||||
if (isset($resultSet->rows) == true)
|
||||
{
|
||||
if (is_array($resultSet->rows) == true)
|
||||
{
|
||||
foreach($resultSet->rows as $row)
|
||||
{
|
||||
$return[] = $this->columnsToMap($row->columns);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$return[] = $this->columnsToMap($resultSet->rows->columns);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
private function columnsToMap($columns)
|
||||
{
|
||||
$return = array();
|
||||
|
||||
foreach ($columns as $column)
|
||||
{
|
||||
$return[$column->name] = $column->value;
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
protected function remove_array_value($value, &$array)
|
||||
{
|
||||
if ($array != null)
|
||||
{
|
||||
if (in_array($value, $array) == true)
|
||||
{
|
||||
foreach ($array as $index=>$value2)
|
||||
{
|
||||
if ($value == $value2)
|
||||
{
|
||||
unset($array[$index]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function isContentData($value)
|
||||
{
|
||||
$index = strpos($value, "contentUrl=");
|
||||
if ($index === false)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($index == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -1,76 +1,76 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
class ChildAssociation extends BaseObject
|
||||
{
|
||||
private $_parent;
|
||||
private $_child;
|
||||
private $_type;
|
||||
private $_name;
|
||||
private $_isPrimary;
|
||||
private $_nthSibling;
|
||||
|
||||
public function __construct($parent, $child, $type, $name, $isPrimary=false, $nthSibling=0)
|
||||
{
|
||||
$this->_parent = $parent;
|
||||
$this->_child = $child;
|
||||
$this->_type = $type;
|
||||
$this->_name = $name;
|
||||
$this->_isPrimary = $isPrimary;
|
||||
$this->_nthSibling = $nthSibling;
|
||||
}
|
||||
|
||||
public function getParent()
|
||||
{
|
||||
return $this->_parent;
|
||||
}
|
||||
|
||||
public function getChild()
|
||||
{
|
||||
return $this->_child;
|
||||
}
|
||||
|
||||
public function getType()
|
||||
{
|
||||
return $this->_type;
|
||||
}
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return $this->_name;
|
||||
}
|
||||
|
||||
public function getIsPrimary()
|
||||
{
|
||||
return $this->_isPrimary;
|
||||
}
|
||||
|
||||
public function getNthSibling()
|
||||
{
|
||||
return $this->_nthSibling;
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
class ChildAssociation extends BaseObject
|
||||
{
|
||||
private $_parent;
|
||||
private $_child;
|
||||
private $_type;
|
||||
private $_name;
|
||||
private $_isPrimary;
|
||||
private $_nthSibling;
|
||||
|
||||
public function __construct($parent, $child, $type, $name, $isPrimary=false, $nthSibling=0)
|
||||
{
|
||||
$this->_parent = $parent;
|
||||
$this->_child = $child;
|
||||
$this->_type = $type;
|
||||
$this->_name = $name;
|
||||
$this->_isPrimary = $isPrimary;
|
||||
$this->_nthSibling = $nthSibling;
|
||||
}
|
||||
|
||||
public function getParent()
|
||||
{
|
||||
return $this->_parent;
|
||||
}
|
||||
|
||||
public function getChild()
|
||||
{
|
||||
return $this->_child;
|
||||
}
|
||||
|
||||
public function getType()
|
||||
{
|
||||
return $this->_type;
|
||||
}
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return $this->_name;
|
||||
}
|
||||
|
||||
public function getIsPrimary()
|
||||
{
|
||||
return $this->_isPrimary;
|
||||
}
|
||||
|
||||
public function getNthSibling()
|
||||
{
|
||||
return $this->_nthSibling;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -1,121 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
class NamespaceMap
|
||||
{
|
||||
const DELIMITER = "_";
|
||||
|
||||
private $namespaceMap = array(
|
||||
"d" => "http://www.alfresco.org/model/dictionary/1.0",
|
||||
"sys" => "http://www.alfresco.org/model/system/1.0",
|
||||
"cm" => "http://www.alfresco.org/model/content/1.0",
|
||||
"app" => "http://www.alfresco.org/model/application/1.0",
|
||||
"bpm" => "http://www.alfresco.org/model/bpm/1.0",
|
||||
"wf" => "http://www.alfresco.org/model/workflow/1.0",
|
||||
"fm" => "http://www.alfresco.org/model/forum/1.0",
|
||||
"view" => "http://www.alfresco.org/view/repository/1.0",
|
||||
"security" => "http://www.alfresco.org/model/security/1.0",
|
||||
"wcm" => "http://www.alfresco.org/model/wcmmodel/1.0",
|
||||
"wca" => "http://www.alfresco.org/model/wcmappmodel/1.0");
|
||||
|
||||
public function isShortName($shortName)
|
||||
{
|
||||
return ($shortName != $this->getFullName($shortName));
|
||||
}
|
||||
|
||||
public function getFullName($shortName)
|
||||
{
|
||||
$result = $shortName;
|
||||
|
||||
$index = strpos($shortName, NamespaceMap::DELIMITER);
|
||||
if ($index !== false)
|
||||
{
|
||||
$prefix = substr($shortName, 0, $index);
|
||||
|
||||
if (isset($this->namespaceMap[$prefix]) == true)
|
||||
{
|
||||
$url = $this->namespaceMap[$prefix];
|
||||
$name = substr($shortName, $index+1);
|
||||
$name = str_replace("_", "-", $name);
|
||||
if ($name != null && strlen($name) != 0)
|
||||
{
|
||||
$result = "{".$url."}".$name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function getFullNames($fullNames)
|
||||
{
|
||||
$result = array();
|
||||
|
||||
foreach ($fullNames as $fullName)
|
||||
{
|
||||
$result[] = $this->getFullName($fullName);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function getShortName($fullName)
|
||||
{
|
||||
$result = $fullName;
|
||||
|
||||
$index = strpos($fullName, "}");
|
||||
if ($index !== false)
|
||||
{
|
||||
$url = substr($fullName, 1, $index-1);
|
||||
$prefix = $this->lookupPrefix($url);
|
||||
if ($prefix != null)
|
||||
{
|
||||
$name = substr($fullName, $index+1);
|
||||
if ($name != null && strlen($name) != 0)
|
||||
{
|
||||
$name = str_replace("-", "_", $name);
|
||||
$result = $prefix.NamespaceMap::DELIMITER.$name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
private function lookupPrefix($value)
|
||||
{
|
||||
$result = null;
|
||||
foreach($this->namespaceMap as $prefix => $url)
|
||||
{
|
||||
if ($url == $value)
|
||||
{
|
||||
$result = $prefix;
|
||||
}
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
class NamespaceMap
|
||||
{
|
||||
const DELIMITER = "_";
|
||||
|
||||
private $namespaceMap = array(
|
||||
"d" => "http://www.alfresco.org/model/dictionary/1.0",
|
||||
"sys" => "http://www.alfresco.org/model/system/1.0",
|
||||
"cm" => "http://www.alfresco.org/model/content/1.0",
|
||||
"app" => "http://www.alfresco.org/model/application/1.0",
|
||||
"bpm" => "http://www.alfresco.org/model/bpm/1.0",
|
||||
"wf" => "http://www.alfresco.org/model/workflow/1.0",
|
||||
"fm" => "http://www.alfresco.org/model/forum/1.0",
|
||||
"view" => "http://www.alfresco.org/view/repository/1.0",
|
||||
"security" => "http://www.alfresco.org/model/security/1.0",
|
||||
"wcm" => "http://www.alfresco.org/model/wcmmodel/1.0",
|
||||
"wca" => "http://www.alfresco.org/model/wcmappmodel/1.0");
|
||||
|
||||
public function isShortName($shortName)
|
||||
{
|
||||
return ($shortName != $this->getFullName($shortName));
|
||||
}
|
||||
|
||||
public function getFullName($shortName)
|
||||
{
|
||||
$result = $shortName;
|
||||
|
||||
$index = strpos($shortName, NamespaceMap::DELIMITER);
|
||||
if ($index !== false)
|
||||
{
|
||||
$prefix = substr($shortName, 0, $index);
|
||||
|
||||
if (isset($this->namespaceMap[$prefix]) == true)
|
||||
{
|
||||
$url = $this->namespaceMap[$prefix];
|
||||
$name = substr($shortName, $index+1);
|
||||
$name = str_replace("_", "-", $name);
|
||||
if ($name != null && strlen($name) != 0)
|
||||
{
|
||||
$result = "{".$url."}".$name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function getFullNames($fullNames)
|
||||
{
|
||||
$result = array();
|
||||
|
||||
foreach ($fullNames as $fullName)
|
||||
{
|
||||
$result[] = $this->getFullName($fullName);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function getShortName($fullName)
|
||||
{
|
||||
$result = $fullName;
|
||||
|
||||
$index = strpos($fullName, "}");
|
||||
if ($index !== false)
|
||||
{
|
||||
$url = substr($fullName, 1, $index-1);
|
||||
$prefix = $this->lookupPrefix($url);
|
||||
if ($prefix != null)
|
||||
{
|
||||
$name = substr($fullName, $index+1);
|
||||
if ($name != null && strlen($name) != 0)
|
||||
{
|
||||
$name = str_replace("-", "_", $name);
|
||||
$result = $prefix.NamespaceMap::DELIMITER.$name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
private function lookupPrefix($value)
|
||||
{
|
||||
$result = null;
|
||||
foreach($this->namespaceMap as $prefix => $url)
|
||||
{
|
||||
if ($url == $value)
|
||||
{
|
||||
$result = $prefix;
|
||||
}
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
+814
-814
File diff suppressed because it is too large
Load Diff
+277
-277
@@ -1,277 +1,277 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
require_once 'Store.php';
|
||||
require_once 'Node.php';
|
||||
require_once 'WebService/WebServiceFactory.php';
|
||||
|
||||
class Session extends BaseObject
|
||||
{
|
||||
public $authenticationService;
|
||||
public $repositoryService;
|
||||
public $contentService;
|
||||
|
||||
private $_repository;
|
||||
private $_ticket;
|
||||
private $_stores;
|
||||
private $_namespaceMap;
|
||||
|
||||
private $nodeCache;
|
||||
private $idCount = 0;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param userName the user name
|
||||
* @param ticket the currenlty authenticated users ticket
|
||||
*/
|
||||
public function __construct($repository, $ticket)
|
||||
{
|
||||
$this->nodeCache = array();
|
||||
|
||||
$this->_repository = $repository;
|
||||
$this->_ticket = $ticket;
|
||||
|
||||
$this->repositoryService = WebServiceFactory::getRepositoryService($this->_repository->connectionUrl, $this->_ticket);
|
||||
$this->contentService = WebServiceFactory::getContentService($this->_repository->connectionUrl, $this->_ticket);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new store in the current respository
|
||||
*
|
||||
* @param $address the address of the new store
|
||||
* @param $scheme the scheme of the new store, default value of 'workspace'
|
||||
* @return Store the new store
|
||||
*/
|
||||
public function createStore($address, $scheme="workspace")
|
||||
{
|
||||
// Create the store
|
||||
$result = $this->repositoryService->createStore(array(
|
||||
"scheme" => $scheme,
|
||||
"address" => $address));
|
||||
$store = new Store($this, $result->createStoreReturn->address, $result->createStoreReturn->scheme);
|
||||
|
||||
// Add to the cached list if its been populated
|
||||
if (isset($this->_stores) == true)
|
||||
{
|
||||
$this->_stores[] = $store;
|
||||
}
|
||||
|
||||
// Return the newly created store
|
||||
return $store;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the store
|
||||
*
|
||||
* @param $address the address of the store
|
||||
* @param $scheme the scheme of the store. The default it 'workspace'
|
||||
* @return Store the store
|
||||
*/
|
||||
public function getStore($address, $scheme="workspace")
|
||||
{
|
||||
return new Store($this, $address, $scheme);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the store from it string representation (eg: workspace://SpacesStore)
|
||||
*
|
||||
* @param $value the stores string representation
|
||||
* @return Store the store
|
||||
*/
|
||||
public function getStoreFromString($value)
|
||||
{
|
||||
list($scheme, $address) = split("://", $value);
|
||||
return new Store($this, $address, $scheme);
|
||||
}
|
||||
|
||||
public function getNode($store, $id)
|
||||
{
|
||||
$node = $this->getNodeImpl($store, $id);
|
||||
if ($node == null)
|
||||
{
|
||||
$node = new Node($this, $store, $id);
|
||||
$this->addNode($node);
|
||||
}
|
||||
return $node;
|
||||
}
|
||||
|
||||
public function getNodeFromString($value)
|
||||
{
|
||||
// TODO
|
||||
throw new Exception("getNode($value) not yet implemented");
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a new node to the session.
|
||||
*/
|
||||
public function addNode($node)
|
||||
{
|
||||
$this->nodeCache[$node->__toString()] = $node;
|
||||
}
|
||||
|
||||
private function getNodeImpl($store, $id)
|
||||
{
|
||||
$result = null;
|
||||
$nodeRef = $store->scheme . "://" . $store->address . "/" . $id;
|
||||
if (array_key_exists($nodeRef, $this->nodeCache) == true)
|
||||
{
|
||||
$result = $this->nodeCache[$nodeRef];
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Commits all unsaved changes to the repository
|
||||
*/
|
||||
public function save($debug=false)
|
||||
{
|
||||
// Build the update statements from the node cache
|
||||
$statements = array();
|
||||
foreach ($this->nodeCache as $node)
|
||||
{
|
||||
$node->onBeforeSave($statements);
|
||||
}
|
||||
|
||||
if ($debug == true)
|
||||
{
|
||||
var_dump($statements);
|
||||
echo ("<br><br>");
|
||||
}
|
||||
|
||||
if (count($statements) > 0)
|
||||
{
|
||||
// Make the web service call
|
||||
$result = $this->repositoryService->update(array("statements" => $statements));
|
||||
//var_dump($result);
|
||||
|
||||
// Update the state of the updated nodes
|
||||
foreach ($this->nodeCache as $node)
|
||||
{
|
||||
$node->onAfterSave($this->getIdMap($result));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears the current session by emptying the node cache.
|
||||
*
|
||||
* WARNING: all unsaved changes will be lost when clearing the session.
|
||||
*/
|
||||
public function clear()
|
||||
{
|
||||
// Clear the node cache
|
||||
$this->nodeCache = array();
|
||||
}
|
||||
|
||||
private function getIdMap($result)
|
||||
{
|
||||
$return = array();
|
||||
$statements = $result->updateReturn;
|
||||
if (is_array($statements) == true)
|
||||
{
|
||||
foreach ($statements as $statement)
|
||||
{
|
||||
if ($statement->statement == "create")
|
||||
{
|
||||
$id = $statement->sourceId;
|
||||
$uuid = $statement->destination->uuid;
|
||||
$return[$id] = $uuid;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($statements->statement == "create")
|
||||
{
|
||||
$id = $statements->sourceId;
|
||||
$uuid = $statements->destination->uuid;
|
||||
$return[$id] = $uuid;
|
||||
}
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function query($store, $query, $language='lucene')
|
||||
{
|
||||
// TODO need to support paged queries
|
||||
$result = $this->repositoryService->query(array(
|
||||
"store" => $store->__toArray(),
|
||||
"query" => array(
|
||||
"language" => $language,
|
||||
"statement" => $query),
|
||||
"includeMetaData" => false));
|
||||
|
||||
// TODO for now do nothing with the score and the returned data
|
||||
$resultSet = $result->queryReturn->resultSet;
|
||||
return $this->resultSetToNodes($this, $store, $resultSet);
|
||||
}
|
||||
|
||||
public function getTicket()
|
||||
{
|
||||
return $this->_ticket;
|
||||
}
|
||||
|
||||
public function getRepository()
|
||||
{
|
||||
return $this->_repository;
|
||||
}
|
||||
|
||||
public function getNamespaceMap()
|
||||
{
|
||||
if ($this->_namespaceMap == null)
|
||||
{
|
||||
$this->_namespaceMap = new NamespaceMap();
|
||||
}
|
||||
return $this->_namespaceMap;
|
||||
}
|
||||
|
||||
public function getStores()
|
||||
{
|
||||
if (isset ($this->_stores) == false)
|
||||
{
|
||||
$this->_stores = array ();
|
||||
$results = $this->repositoryService->getStores();
|
||||
|
||||
foreach ($results->getStoresReturn as $result)
|
||||
{
|
||||
$this->_stores[] = new Store($this, $result->address, $result->scheme);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->_stores;
|
||||
}
|
||||
|
||||
/** Want these methods to be package scope some how! **/
|
||||
|
||||
public function nextSessionId()
|
||||
{
|
||||
$sessionId = "session".$this->_ticket.$this->idCount;
|
||||
$this->idCount ++;
|
||||
return $sessionId;
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
require_once 'Store.php';
|
||||
require_once 'Node.php';
|
||||
require_once 'WebService/WebServiceFactory.php';
|
||||
|
||||
class Session extends BaseObject
|
||||
{
|
||||
public $authenticationService;
|
||||
public $repositoryService;
|
||||
public $contentService;
|
||||
|
||||
private $_repository;
|
||||
private $_ticket;
|
||||
private $_stores;
|
||||
private $_namespaceMap;
|
||||
|
||||
private $nodeCache;
|
||||
private $idCount = 0;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param userName the user name
|
||||
* @param ticket the currenlty authenticated users ticket
|
||||
*/
|
||||
public function __construct($repository, $ticket)
|
||||
{
|
||||
$this->nodeCache = array();
|
||||
|
||||
$this->_repository = $repository;
|
||||
$this->_ticket = $ticket;
|
||||
|
||||
$this->repositoryService = WebServiceFactory::getRepositoryService($this->_repository->connectionUrl, $this->_ticket);
|
||||
$this->contentService = WebServiceFactory::getContentService($this->_repository->connectionUrl, $this->_ticket);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new store in the current respository
|
||||
*
|
||||
* @param $address the address of the new store
|
||||
* @param $scheme the scheme of the new store, default value of 'workspace'
|
||||
* @return Store the new store
|
||||
*/
|
||||
public function createStore($address, $scheme="workspace")
|
||||
{
|
||||
// Create the store
|
||||
$result = $this->repositoryService->createStore(array(
|
||||
"scheme" => $scheme,
|
||||
"address" => $address));
|
||||
$store = new Store($this, $result->createStoreReturn->address, $result->createStoreReturn->scheme);
|
||||
|
||||
// Add to the cached list if its been populated
|
||||
if (isset($this->_stores) == true)
|
||||
{
|
||||
$this->_stores[] = $store;
|
||||
}
|
||||
|
||||
// Return the newly created store
|
||||
return $store;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the store
|
||||
*
|
||||
* @param $address the address of the store
|
||||
* @param $scheme the scheme of the store. The default it 'workspace'
|
||||
* @return Store the store
|
||||
*/
|
||||
public function getStore($address, $scheme="workspace")
|
||||
{
|
||||
return new Store($this, $address, $scheme);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the store from it string representation (eg: workspace://SpacesStore)
|
||||
*
|
||||
* @param $value the stores string representation
|
||||
* @return Store the store
|
||||
*/
|
||||
public function getStoreFromString($value)
|
||||
{
|
||||
list($scheme, $address) = split("://", $value);
|
||||
return new Store($this, $address, $scheme);
|
||||
}
|
||||
|
||||
public function getNode($store, $id)
|
||||
{
|
||||
$node = $this->getNodeImpl($store, $id);
|
||||
if ($node == null)
|
||||
{
|
||||
$node = new Node($this, $store, $id);
|
||||
$this->addNode($node);
|
||||
}
|
||||
return $node;
|
||||
}
|
||||
|
||||
public function getNodeFromString($value)
|
||||
{
|
||||
// TODO
|
||||
throw new Exception("getNode($value) not yet implemented");
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a new node to the session.
|
||||
*/
|
||||
public function addNode($node)
|
||||
{
|
||||
$this->nodeCache[$node->__toString()] = $node;
|
||||
}
|
||||
|
||||
private function getNodeImpl($store, $id)
|
||||
{
|
||||
$result = null;
|
||||
$nodeRef = $store->scheme . "://" . $store->address . "/" . $id;
|
||||
if (array_key_exists($nodeRef, $this->nodeCache) == true)
|
||||
{
|
||||
$result = $this->nodeCache[$nodeRef];
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Commits all unsaved changes to the repository
|
||||
*/
|
||||
public function save($debug=false)
|
||||
{
|
||||
// Build the update statements from the node cache
|
||||
$statements = array();
|
||||
foreach ($this->nodeCache as $node)
|
||||
{
|
||||
$node->onBeforeSave($statements);
|
||||
}
|
||||
|
||||
if ($debug == true)
|
||||
{
|
||||
var_dump($statements);
|
||||
echo ("<br><br>");
|
||||
}
|
||||
|
||||
if (count($statements) > 0)
|
||||
{
|
||||
// Make the web service call
|
||||
$result = $this->repositoryService->update(array("statements" => $statements));
|
||||
//var_dump($result);
|
||||
|
||||
// Update the state of the updated nodes
|
||||
foreach ($this->nodeCache as $node)
|
||||
{
|
||||
$node->onAfterSave($this->getIdMap($result));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears the current session by emptying the node cache.
|
||||
*
|
||||
* WARNING: all unsaved changes will be lost when clearing the session.
|
||||
*/
|
||||
public function clear()
|
||||
{
|
||||
// Clear the node cache
|
||||
$this->nodeCache = array();
|
||||
}
|
||||
|
||||
private function getIdMap($result)
|
||||
{
|
||||
$return = array();
|
||||
$statements = $result->updateReturn;
|
||||
if (is_array($statements) == true)
|
||||
{
|
||||
foreach ($statements as $statement)
|
||||
{
|
||||
if ($statement->statement == "create")
|
||||
{
|
||||
$id = $statement->sourceId;
|
||||
$uuid = $statement->destination->uuid;
|
||||
$return[$id] = $uuid;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($statements->statement == "create")
|
||||
{
|
||||
$id = $statements->sourceId;
|
||||
$uuid = $statements->destination->uuid;
|
||||
$return[$id] = $uuid;
|
||||
}
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function query($store, $query, $language='lucene')
|
||||
{
|
||||
// TODO need to support paged queries
|
||||
$result = $this->repositoryService->query(array(
|
||||
"store" => $store->__toArray(),
|
||||
"query" => array(
|
||||
"language" => $language,
|
||||
"statement" => $query),
|
||||
"includeMetaData" => false));
|
||||
|
||||
// TODO for now do nothing with the score and the returned data
|
||||
$resultSet = $result->queryReturn->resultSet;
|
||||
return $this->resultSetToNodes($this, $store, $resultSet);
|
||||
}
|
||||
|
||||
public function getTicket()
|
||||
{
|
||||
return $this->_ticket;
|
||||
}
|
||||
|
||||
public function getRepository()
|
||||
{
|
||||
return $this->_repository;
|
||||
}
|
||||
|
||||
public function getNamespaceMap()
|
||||
{
|
||||
if ($this->_namespaceMap == null)
|
||||
{
|
||||
$this->_namespaceMap = new NamespaceMap();
|
||||
}
|
||||
return $this->_namespaceMap;
|
||||
}
|
||||
|
||||
public function getStores()
|
||||
{
|
||||
if (isset ($this->_stores) == false)
|
||||
{
|
||||
$this->_stores = array ();
|
||||
$results = $this->repositoryService->getStores();
|
||||
|
||||
foreach ($results->getStoresReturn as $result)
|
||||
{
|
||||
$this->_stores[] = new Store($this, $result->address, $result->scheme);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->_stores;
|
||||
}
|
||||
|
||||
/** Want these methods to be package scope some how! **/
|
||||
|
||||
public function nextSessionId()
|
||||
{
|
||||
$sessionId = "session".$this->_ticket.$this->idCount;
|
||||
$this->idCount ++;
|
||||
return $sessionId;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -1,54 +1,54 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
require_once 'Store.php';
|
||||
require_once 'Node.php';
|
||||
|
||||
class SpacesStore extends Store
|
||||
{
|
||||
private $_companyHome;
|
||||
|
||||
public function __construct($session)
|
||||
{
|
||||
parent::__construct($session, "SpacesStore");
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return $this->scheme . "://" . $this->address;
|
||||
}
|
||||
|
||||
public function getCompanyHome()
|
||||
{
|
||||
if ($this->_companyHome == null)
|
||||
{
|
||||
$nodes = $this->_session->query($this, 'PATH:"app:company_home"');
|
||||
$this->_companyHome = $nodes[0];
|
||||
}
|
||||
return $this->_companyHome;
|
||||
}
|
||||
}
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
require_once 'Store.php';
|
||||
require_once 'Node.php';
|
||||
|
||||
class SpacesStore extends Store
|
||||
{
|
||||
private $_companyHome;
|
||||
|
||||
public function __construct($session)
|
||||
{
|
||||
parent::__construct($session, "SpacesStore");
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return $this->scheme . "://" . $this->address;
|
||||
}
|
||||
|
||||
public function getCompanyHome()
|
||||
{
|
||||
if ($this->_companyHome == null)
|
||||
{
|
||||
$nodes = $this->_session->query($this, 'PATH:"app:company_home"');
|
||||
$this->_companyHome = $nodes[0];
|
||||
}
|
||||
return $this->_companyHome;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -1,81 +1,81 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
require_once 'BaseObject.php';
|
||||
require_once 'Node.php';
|
||||
|
||||
class Store extends BaseObject
|
||||
{
|
||||
protected $_session;
|
||||
protected $_address;
|
||||
protected $_scheme;
|
||||
protected $_rootNode;
|
||||
|
||||
public function __construct($session, $address, $scheme = "workspace")
|
||||
{
|
||||
$this->_session = $session;
|
||||
$this->_address = $address;
|
||||
$this->_scheme = $scheme;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return $this->scheme . "://" . $this->address;
|
||||
}
|
||||
|
||||
public function __toArray()
|
||||
{
|
||||
return array(
|
||||
"scheme" => $this->_scheme,
|
||||
"address" => $this->_address);
|
||||
}
|
||||
|
||||
public function getAddress()
|
||||
{
|
||||
return $this->_address;
|
||||
}
|
||||
|
||||
public function getScheme()
|
||||
{
|
||||
return $this->_scheme;
|
||||
}
|
||||
|
||||
public function getRootNode()
|
||||
{
|
||||
if (isset ($this->_rootNode) == false)
|
||||
{
|
||||
$result = $this->_session->repositoryService->get(
|
||||
array(
|
||||
"where" => array(
|
||||
"store" => $this->__toArray())));
|
||||
|
||||
$this->_rootNode = Node::createFromWebServiceData($this->_session, $result->getReturn);
|
||||
}
|
||||
|
||||
return $this->_rootNode;
|
||||
}
|
||||
}
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
require_once 'BaseObject.php';
|
||||
require_once 'Node.php';
|
||||
|
||||
class Store extends BaseObject
|
||||
{
|
||||
protected $_session;
|
||||
protected $_address;
|
||||
protected $_scheme;
|
||||
protected $_rootNode;
|
||||
|
||||
public function __construct($session, $address, $scheme = "workspace")
|
||||
{
|
||||
$this->_session = $session;
|
||||
$this->_address = $address;
|
||||
$this->_scheme = $scheme;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return $this->scheme . "://" . $this->address;
|
||||
}
|
||||
|
||||
public function __toArray()
|
||||
{
|
||||
return array(
|
||||
"scheme" => $this->_scheme,
|
||||
"address" => $this->_address);
|
||||
}
|
||||
|
||||
public function getAddress()
|
||||
{
|
||||
return $this->_address;
|
||||
}
|
||||
|
||||
public function getScheme()
|
||||
{
|
||||
return $this->_scheme;
|
||||
}
|
||||
|
||||
public function getRootNode()
|
||||
{
|
||||
if (isset ($this->_rootNode) == false)
|
||||
{
|
||||
$result = $this->_session->repositoryService->get(
|
||||
array(
|
||||
"where" => array(
|
||||
"store" => $this->__toArray())));
|
||||
|
||||
$this->_rootNode = Node::createFromWebServiceData($this->_session, $result->getReturn);
|
||||
}
|
||||
|
||||
return $this->_rootNode;
|
||||
}
|
||||
}
|
||||
?>
|
||||
+200
-200
@@ -1,200 +1,200 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Version class
|
||||
*
|
||||
* @author Roy Wetherall
|
||||
*/
|
||||
class Version extends BaseObject
|
||||
{
|
||||
private $_session;
|
||||
private $_store;
|
||||
private $_id;
|
||||
private $_description;
|
||||
private $_major;
|
||||
private $_properties;
|
||||
private $_type;
|
||||
private $_aspects;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param $session the session that the version is tied to
|
||||
* @param @store the store that the forzen node is stored in
|
||||
* @prarm @id the id of the frozen node
|
||||
* @param @description the description of the version
|
||||
* @param @major indicates whether this is a major or minor revision
|
||||
*/
|
||||
public function __construct($session, $store, $id, $description=null, $major=false)
|
||||
{
|
||||
$this->_session = $session;
|
||||
$this->_store = $store;
|
||||
$this->_id = $id;
|
||||
$this->_description = $description;
|
||||
$this->_major = $major;
|
||||
$this->_properties = null;
|
||||
$this->_aspects = null;
|
||||
$this->_type = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* __get override.
|
||||
*
|
||||
* If called with a valid property short name, the frozen value of that property is returned.
|
||||
*
|
||||
* @return String the appropriate property value, null if none found
|
||||
*/
|
||||
public function __get($name)
|
||||
{
|
||||
$fullName = $this->_session->namespaceMap->getFullName($name);
|
||||
if ($fullName != $name)
|
||||
{
|
||||
$this->populateProperties();
|
||||
if (array_key_exists($fullName, $this->_properties) == true)
|
||||
{
|
||||
return $this->_properties[$fullName];
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return parent::__get($name);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets session
|
||||
*
|
||||
* @return Session the session
|
||||
*/
|
||||
public function getSession()
|
||||
{
|
||||
return $this->_session;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the frozen nodes store
|
||||
*
|
||||
* @return Store the store
|
||||
*/
|
||||
public function getStore()
|
||||
{
|
||||
return $this->_store;
|
||||
}
|
||||
|
||||
public function getId()
|
||||
{
|
||||
return $this->_id;
|
||||
}
|
||||
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->_description;
|
||||
}
|
||||
|
||||
public function getMajor()
|
||||
{
|
||||
return $this->_major;
|
||||
}
|
||||
|
||||
public function getType()
|
||||
{
|
||||
return $this->_type;
|
||||
}
|
||||
|
||||
public function getProperties()
|
||||
{
|
||||
return $this->_properties;
|
||||
}
|
||||
|
||||
public function getAspects()
|
||||
{
|
||||
return $this->_aspects;
|
||||
}
|
||||
|
||||
private function populateProperties()
|
||||
{
|
||||
if ($this->_properties == null)
|
||||
{
|
||||
$result = $this->_session->repositoryService->get(array (
|
||||
"where" => array (
|
||||
"nodes" => array(
|
||||
"store" => $this->_store->__toArray(),
|
||||
"uuid" => $this->_id))));
|
||||
|
||||
$this->populateFromWebServiceNode($result->getReturn);
|
||||
}
|
||||
}
|
||||
|
||||
private function populateFromWebServiceNode($webServiceNode)
|
||||
{
|
||||
$this->_type = $webServiceNode->type;
|
||||
|
||||
// Get the aspects
|
||||
$this->_aspects = array();
|
||||
$aspects = $webServiceNode->aspects;
|
||||
if (is_array($aspects) == true)
|
||||
{
|
||||
foreach ($aspects as $aspect)
|
||||
{
|
||||
$this->_aspects[] = $aspect;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->_aspects[] = $aspects;
|
||||
}
|
||||
|
||||
// Set the property values
|
||||
$this->_properties = array();
|
||||
foreach ($webServiceNode->properties as $propertyDetails)
|
||||
{
|
||||
$name = $propertyDetails->name;
|
||||
$isMultiValue = $propertyDetails->isMultiValue;
|
||||
$value = null;
|
||||
if ($isMultiValue == false)
|
||||
{
|
||||
$value = $propertyDetails->value;
|
||||
if ($this->isContentData($value) == true)
|
||||
{
|
||||
$value = new ContentData($this, $name);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$value = $propertyDetails->values;
|
||||
}
|
||||
|
||||
$this->_properties[$name] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Version class
|
||||
*
|
||||
* @author Roy Wetherall
|
||||
*/
|
||||
class Version extends BaseObject
|
||||
{
|
||||
private $_session;
|
||||
private $_store;
|
||||
private $_id;
|
||||
private $_description;
|
||||
private $_major;
|
||||
private $_properties;
|
||||
private $_type;
|
||||
private $_aspects;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param $session the session that the version is tied to
|
||||
* @param @store the store that the forzen node is stored in
|
||||
* @prarm @id the id of the frozen node
|
||||
* @param @description the description of the version
|
||||
* @param @major indicates whether this is a major or minor revision
|
||||
*/
|
||||
public function __construct($session, $store, $id, $description=null, $major=false)
|
||||
{
|
||||
$this->_session = $session;
|
||||
$this->_store = $store;
|
||||
$this->_id = $id;
|
||||
$this->_description = $description;
|
||||
$this->_major = $major;
|
||||
$this->_properties = null;
|
||||
$this->_aspects = null;
|
||||
$this->_type = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* __get override.
|
||||
*
|
||||
* If called with a valid property short name, the frozen value of that property is returned.
|
||||
*
|
||||
* @return String the appropriate property value, null if none found
|
||||
*/
|
||||
public function __get($name)
|
||||
{
|
||||
$fullName = $this->_session->namespaceMap->getFullName($name);
|
||||
if ($fullName != $name)
|
||||
{
|
||||
$this->populateProperties();
|
||||
if (array_key_exists($fullName, $this->_properties) == true)
|
||||
{
|
||||
return $this->_properties[$fullName];
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return parent::__get($name);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets session
|
||||
*
|
||||
* @return Session the session
|
||||
*/
|
||||
public function getSession()
|
||||
{
|
||||
return $this->_session;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the frozen nodes store
|
||||
*
|
||||
* @return Store the store
|
||||
*/
|
||||
public function getStore()
|
||||
{
|
||||
return $this->_store;
|
||||
}
|
||||
|
||||
public function getId()
|
||||
{
|
||||
return $this->_id;
|
||||
}
|
||||
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->_description;
|
||||
}
|
||||
|
||||
public function getMajor()
|
||||
{
|
||||
return $this->_major;
|
||||
}
|
||||
|
||||
public function getType()
|
||||
{
|
||||
return $this->_type;
|
||||
}
|
||||
|
||||
public function getProperties()
|
||||
{
|
||||
return $this->_properties;
|
||||
}
|
||||
|
||||
public function getAspects()
|
||||
{
|
||||
return $this->_aspects;
|
||||
}
|
||||
|
||||
private function populateProperties()
|
||||
{
|
||||
if ($this->_properties == null)
|
||||
{
|
||||
$result = $this->_session->repositoryService->get(array (
|
||||
"where" => array (
|
||||
"nodes" => array(
|
||||
"store" => $this->_store->__toArray(),
|
||||
"uuid" => $this->_id))));
|
||||
|
||||
$this->populateFromWebServiceNode($result->getReturn);
|
||||
}
|
||||
}
|
||||
|
||||
private function populateFromWebServiceNode($webServiceNode)
|
||||
{
|
||||
$this->_type = $webServiceNode->type;
|
||||
|
||||
// Get the aspects
|
||||
$this->_aspects = array();
|
||||
$aspects = $webServiceNode->aspects;
|
||||
if (is_array($aspects) == true)
|
||||
{
|
||||
foreach ($aspects as $aspect)
|
||||
{
|
||||
$this->_aspects[] = $aspect;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->_aspects[] = $aspects;
|
||||
}
|
||||
|
||||
// Set the property values
|
||||
$this->_properties = array();
|
||||
foreach ($webServiceNode->properties as $propertyDetails)
|
||||
{
|
||||
$name = $propertyDetails->name;
|
||||
$isMultiValue = $propertyDetails->isMultiValue;
|
||||
$value = null;
|
||||
if ($isMultiValue == false)
|
||||
{
|
||||
$value = $propertyDetails->value;
|
||||
if ($this->isContentData($value) == true)
|
||||
{
|
||||
$value = new ContentData($this, $name);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$value = $propertyDetails->values;
|
||||
}
|
||||
|
||||
$this->_properties[$name] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -1,80 +1,80 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
/**
|
||||
* Version history class.
|
||||
*
|
||||
* @author Roy Wetherall
|
||||
*/
|
||||
class VersionHistory extends BaseObject
|
||||
{
|
||||
/** Node to which this version history relates */
|
||||
private $_node;
|
||||
|
||||
/** Array of versions */
|
||||
private $_versions;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param $node the node that this version history apples to
|
||||
*/
|
||||
public function __construct($node)
|
||||
{
|
||||
$this->_node = $node;
|
||||
$this->populateVersionHistory();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the node that this version history relates to
|
||||
*/
|
||||
public function getNode()
|
||||
{
|
||||
return $this->_node;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a list of the versions in the version history
|
||||
*/
|
||||
public function getVersions()
|
||||
{
|
||||
return $this->_versions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Populate the version history
|
||||
*/
|
||||
private function populateVersionHistory()
|
||||
{
|
||||
// Use the web service API to get the version history for this node
|
||||
$client = WebServiceFactory::getAuthoringService($this->_node->session->repository->connectionUrl, $this->_node->session->ticket);
|
||||
$result = $client->getVersionHistory(array("node" => $this->_node->__toArray()));
|
||||
//var_dump($result);
|
||||
|
||||
// TODO populate the version history from the result of the web service call
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/*
|
||||
* Copyright (C) 2005 Alfresco, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
|
||||
/**
|
||||
* Version history class.
|
||||
*
|
||||
* @author Roy Wetherall
|
||||
*/
|
||||
class VersionHistory extends BaseObject
|
||||
{
|
||||
/** Node to which this version history relates */
|
||||
private $_node;
|
||||
|
||||
/** Array of versions */
|
||||
private $_versions;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param $node the node that this version history apples to
|
||||
*/
|
||||
public function __construct($node)
|
||||
{
|
||||
$this->_node = $node;
|
||||
$this->populateVersionHistory();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the node that this version history relates to
|
||||
*/
|
||||
public function getNode()
|
||||
{
|
||||
return $this->_node;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a list of the versions in the version history
|
||||
*/
|
||||
public function getVersions()
|
||||
{
|
||||
return $this->_versions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Populate the version history
|
||||
*/
|
||||
private function populateVersionHistory()
|
||||
{
|
||||
// Use the web service API to get the version history for this node
|
||||
$client = WebServiceFactory::getAuthoringService($this->_node->session->repository->connectionUrl, $this->_node->session->ticket);
|
||||
$result = $client->getVersionHistory(array("node" => $this->_node->__toArray()));
|
||||
//var_dump($result);
|
||||
|
||||
// TODO populate the version history from the result of the web service call
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
+196
-196
@@ -1,196 +1,196 @@
|
||||
<?php
|
||||
//
|
||||
// +----------------------------------------------------------------------+
|
||||
// | Base32 Library |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | Copyright (c) 2001 The PHP Group |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | This source file is dual-licensed. It is available under the terms |
|
||||
// | of the GNU GPL v2.0 and under the terms of the PHP license version |
|
||||
// | 2.02, available at through the world-wide-web at |
|
||||
// | available at through the world-wide-web at |
|
||||
// | http://www.php.net/license/2_02.txt. |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | Minor fixes and additional functions by Allan Hansen. |
|
||||
// | Moodle porting work by Martin Langhoff |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | base32.php - based on race.php - RACE encode and decode strings. |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | Authors: Allan Hansen <[email protected]> |
|
||||
// | Arjan Wekking <[email protected]> |
|
||||
// | Martin Langhoff <[email protected]> |
|
||||
// +----------------------------------------------------------------------+
|
||||
//
|
||||
|
||||
/**
|
||||
* @package moodlecore
|
||||
* @copyright (c) 2001 The PHP Group
|
||||
* @license GNU GPL v2.0 http://www.php.net/license/2_02.txt
|
||||
*/
|
||||
|
||||
/**
|
||||
* Base32 encode a binary string
|
||||
*
|
||||
* @param $inString Binary string to base32 encode
|
||||
*
|
||||
* @return $outString Base32 encoded $inString
|
||||
*
|
||||
* @access private
|
||||
*
|
||||
*/
|
||||
|
||||
function base32_encode ($inString)
|
||||
{
|
||||
$outString = "";
|
||||
$compBits = "";
|
||||
$BASE32_TABLE = array(
|
||||
'00000' => 0x61,
|
||||
'00001' => 0x62,
|
||||
'00010' => 0x63,
|
||||
'00011' => 0x64,
|
||||
'00100' => 0x65,
|
||||
'00101' => 0x66,
|
||||
'00110' => 0x67,
|
||||
'00111' => 0x68,
|
||||
'01000' => 0x69,
|
||||
'01001' => 0x6a,
|
||||
'01010' => 0x6b,
|
||||
'01011' => 0x6c,
|
||||
'01100' => 0x6d,
|
||||
'01101' => 0x6e,
|
||||
'01110' => 0x6f,
|
||||
'01111' => 0x70,
|
||||
'10000' => 0x71,
|
||||
'10001' => 0x72,
|
||||
'10010' => 0x73,
|
||||
'10011' => 0x74,
|
||||
'10100' => 0x75,
|
||||
'10101' => 0x76,
|
||||
'10110' => 0x77,
|
||||
'10111' => 0x78,
|
||||
'11000' => 0x79,
|
||||
'11001' => 0x7a,
|
||||
'11010' => 0x32,
|
||||
'11011' => 0x33,
|
||||
'11100' => 0x34,
|
||||
'11101' => 0x35,
|
||||
'11110' => 0x36,
|
||||
'11111' => 0x37,
|
||||
);
|
||||
|
||||
/* Turn the compressed string into a string that represents the bits as 0 and 1. */
|
||||
for ($i = 0; $i < strlen($inString); $i++) {
|
||||
$compBits .= str_pad(decbin(ord(substr($inString,$i,1))), 8, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
/* Pad the value with enough 0's to make it a multiple of 5 */
|
||||
if((strlen($compBits) % 5) != 0) {
|
||||
$compBits = str_pad($compBits, strlen($compBits)+(5-(strlen($compBits)%5)), '0', STR_PAD_RIGHT);
|
||||
}
|
||||
|
||||
/* Create an array by chunking it every 5 chars */
|
||||
$fiveBitsArray = split("\n",rtrim(chunk_split($compBits, 5, "\n")));
|
||||
|
||||
/* Look-up each chunk and add it to $outstring */
|
||||
foreach($fiveBitsArray as $fiveBitsString) {
|
||||
$outString .= chr($BASE32_TABLE[$fiveBitsString]);
|
||||
}
|
||||
|
||||
return $outString;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Base32 decode to a binary string
|
||||
*
|
||||
* @param $inString String to base32 decode
|
||||
*
|
||||
* @return $outString Base32 decoded $inString
|
||||
*
|
||||
* @access private
|
||||
*
|
||||
*/
|
||||
|
||||
function Base32_decode($inString) {
|
||||
/* declaration */
|
||||
$inputCheck = null;
|
||||
$deCompBits = null;
|
||||
|
||||
$BASE32_TABLE = array(
|
||||
0x61 => '00000',
|
||||
0x62 => '00001',
|
||||
0x63 => '00010',
|
||||
0x64 => '00011',
|
||||
0x65 => '00100',
|
||||
0x66 => '00101',
|
||||
0x67 => '00110',
|
||||
0x68 => '00111',
|
||||
0x69 => '01000',
|
||||
0x6a => '01001',
|
||||
0x6b => '01010',
|
||||
0x6c => '01011',
|
||||
0x6d => '01100',
|
||||
0x6e => '01101',
|
||||
0x6f => '01110',
|
||||
0x70 => '01111',
|
||||
0x71 => '10000',
|
||||
0x72 => '10001',
|
||||
0x73 => '10010',
|
||||
0x74 => '10011',
|
||||
0x75 => '10100',
|
||||
0x76 => '10101',
|
||||
0x77 => '10110',
|
||||
0x78 => '10111',
|
||||
0x79 => '11000',
|
||||
0x7a => '11001',
|
||||
0x32 => '11010',
|
||||
0x33 => '11011',
|
||||
0x34 => '11100',
|
||||
0x35 => '11101',
|
||||
0x36 => '11110',
|
||||
0x37 => '11111',
|
||||
);
|
||||
|
||||
/* Step 1 */
|
||||
$inputCheck = strlen($inString) % 8;
|
||||
if(($inputCheck == 1)||($inputCheck == 3)||($inputCheck == 6)) {
|
||||
trigger_error('input to Base32Decode was a bad mod length: '.$inputCheck);
|
||||
return false;
|
||||
//return $this->raiseError('input to Base32Decode was a bad mod length: '.$inputCheck, null,
|
||||
// PEAR_ERROR_DIE, null, null, 'Net_RACE_Error', false );
|
||||
}
|
||||
|
||||
/* $deCompBits is a string that represents the bits as 0 and 1.*/
|
||||
for ($i = 0; $i < strlen($inString); $i++) {
|
||||
$inChar = ord(substr($inString,$i,1));
|
||||
if(isset($BASE32_TABLE[$inChar])) {
|
||||
$deCompBits .= $BASE32_TABLE[$inChar];
|
||||
} else {
|
||||
trigger_error('input to Base32Decode had a bad character: '.$inChar);
|
||||
return false;
|
||||
//return $this->raiseError('input to Base32Decode had a bad character: '.$inChar, null,
|
||||
// PEAR_ERROR_DIE, null, null, 'Net_RACE_Error', false );
|
||||
}
|
||||
}
|
||||
|
||||
/* Step 5 */
|
||||
$padding = strlen($deCompBits) % 8;
|
||||
$paddingContent = substr($deCompBits, (strlen($deCompBits) - $padding));
|
||||
if(substr_count($paddingContent, '1')>0) {
|
||||
trigger_error('found non-zero padding in Base32Decode');
|
||||
return false;
|
||||
//return $this->raiseError('found non-zero padding in Base32Decode', null,
|
||||
// PEAR_ERROR_DIE, null, null, 'Net_RACE_Error', false );
|
||||
}
|
||||
|
||||
/* Break the decompressed string into octets for returning */
|
||||
$deArr = array();
|
||||
for($i = 0; $i < (int)(strlen($deCompBits) / 8); $i++) {
|
||||
$deArr[$i] = chr(bindec(substr($deCompBits, $i*8, 8)));
|
||||
}
|
||||
|
||||
$outString = join('',$deArr);
|
||||
|
||||
return $outString;
|
||||
}
|
||||
<?php
|
||||
//
|
||||
// +----------------------------------------------------------------------+
|
||||
// | Base32 Library |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | Copyright (c) 2001 The PHP Group |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | This source file is dual-licensed. It is available under the terms |
|
||||
// | of the GNU GPL v2.0 and under the terms of the PHP license version |
|
||||
// | 2.02, available at through the world-wide-web at |
|
||||
// | available at through the world-wide-web at |
|
||||
// | http://www.php.net/license/2_02.txt. |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | Minor fixes and additional functions by Allan Hansen. |
|
||||
// | Moodle porting work by Martin Langhoff |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | base32.php - based on race.php - RACE encode and decode strings. |
|
||||
// +----------------------------------------------------------------------+
|
||||
// | Authors: Allan Hansen <[email protected]> |
|
||||
// | Arjan Wekking <[email protected]> |
|
||||
// | Martin Langhoff <[email protected]> |
|
||||
// +----------------------------------------------------------------------+
|
||||
//
|
||||
|
||||
/**
|
||||
* @package moodlecore
|
||||
* @copyright (c) 2001 The PHP Group
|
||||
* @license GNU GPL v2.0 http://www.php.net/license/2_02.txt
|
||||
*/
|
||||
|
||||
/**
|
||||
* Base32 encode a binary string
|
||||
*
|
||||
* @param $inString Binary string to base32 encode
|
||||
*
|
||||
* @return $outString Base32 encoded $inString
|
||||
*
|
||||
* @access private
|
||||
*
|
||||
*/
|
||||
|
||||
function base32_encode ($inString)
|
||||
{
|
||||
$outString = "";
|
||||
$compBits = "";
|
||||
$BASE32_TABLE = array(
|
||||
'00000' => 0x61,
|
||||
'00001' => 0x62,
|
||||
'00010' => 0x63,
|
||||
'00011' => 0x64,
|
||||
'00100' => 0x65,
|
||||
'00101' => 0x66,
|
||||
'00110' => 0x67,
|
||||
'00111' => 0x68,
|
||||
'01000' => 0x69,
|
||||
'01001' => 0x6a,
|
||||
'01010' => 0x6b,
|
||||
'01011' => 0x6c,
|
||||
'01100' => 0x6d,
|
||||
'01101' => 0x6e,
|
||||
'01110' => 0x6f,
|
||||
'01111' => 0x70,
|
||||
'10000' => 0x71,
|
||||
'10001' => 0x72,
|
||||
'10010' => 0x73,
|
||||
'10011' => 0x74,
|
||||
'10100' => 0x75,
|
||||
'10101' => 0x76,
|
||||
'10110' => 0x77,
|
||||
'10111' => 0x78,
|
||||
'11000' => 0x79,
|
||||
'11001' => 0x7a,
|
||||
'11010' => 0x32,
|
||||
'11011' => 0x33,
|
||||
'11100' => 0x34,
|
||||
'11101' => 0x35,
|
||||
'11110' => 0x36,
|
||||
'11111' => 0x37,
|
||||
);
|
||||
|
||||
/* Turn the compressed string into a string that represents the bits as 0 and 1. */
|
||||
for ($i = 0; $i < strlen($inString); $i++) {
|
||||
$compBits .= str_pad(decbin(ord(substr($inString,$i,1))), 8, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
/* Pad the value with enough 0's to make it a multiple of 5 */
|
||||
if((strlen($compBits) % 5) != 0) {
|
||||
$compBits = str_pad($compBits, strlen($compBits)+(5-(strlen($compBits)%5)), '0', STR_PAD_RIGHT);
|
||||
}
|
||||
|
||||
/* Create an array by chunking it every 5 chars */
|
||||
$fiveBitsArray = split("\n",rtrim(chunk_split($compBits, 5, "\n")));
|
||||
|
||||
/* Look-up each chunk and add it to $outstring */
|
||||
foreach($fiveBitsArray as $fiveBitsString) {
|
||||
$outString .= chr($BASE32_TABLE[$fiveBitsString]);
|
||||
}
|
||||
|
||||
return $outString;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Base32 decode to a binary string
|
||||
*
|
||||
* @param $inString String to base32 decode
|
||||
*
|
||||
* @return $outString Base32 decoded $inString
|
||||
*
|
||||
* @access private
|
||||
*
|
||||
*/
|
||||
|
||||
function Base32_decode($inString) {
|
||||
/* declaration */
|
||||
$inputCheck = null;
|
||||
$deCompBits = null;
|
||||
|
||||
$BASE32_TABLE = array(
|
||||
0x61 => '00000',
|
||||
0x62 => '00001',
|
||||
0x63 => '00010',
|
||||
0x64 => '00011',
|
||||
0x65 => '00100',
|
||||
0x66 => '00101',
|
||||
0x67 => '00110',
|
||||
0x68 => '00111',
|
||||
0x69 => '01000',
|
||||
0x6a => '01001',
|
||||
0x6b => '01010',
|
||||
0x6c => '01011',
|
||||
0x6d => '01100',
|
||||
0x6e => '01101',
|
||||
0x6f => '01110',
|
||||
0x70 => '01111',
|
||||
0x71 => '10000',
|
||||
0x72 => '10001',
|
||||
0x73 => '10010',
|
||||
0x74 => '10011',
|
||||
0x75 => '10100',
|
||||
0x76 => '10101',
|
||||
0x77 => '10110',
|
||||
0x78 => '10111',
|
||||
0x79 => '11000',
|
||||
0x7a => '11001',
|
||||
0x32 => '11010',
|
||||
0x33 => '11011',
|
||||
0x34 => '11100',
|
||||
0x35 => '11101',
|
||||
0x36 => '11110',
|
||||
0x37 => '11111',
|
||||
);
|
||||
|
||||
/* Step 1 */
|
||||
$inputCheck = strlen($inString) % 8;
|
||||
if(($inputCheck == 1)||($inputCheck == 3)||($inputCheck == 6)) {
|
||||
trigger_error('input to Base32Decode was a bad mod length: '.$inputCheck);
|
||||
return false;
|
||||
//return $this->raiseError('input to Base32Decode was a bad mod length: '.$inputCheck, null,
|
||||
// PEAR_ERROR_DIE, null, null, 'Net_RACE_Error', false );
|
||||
}
|
||||
|
||||
/* $deCompBits is a string that represents the bits as 0 and 1.*/
|
||||
for ($i = 0; $i < strlen($inString); $i++) {
|
||||
$inChar = ord(substr($inString,$i,1));
|
||||
if(isset($BASE32_TABLE[$inChar])) {
|
||||
$deCompBits .= $BASE32_TABLE[$inChar];
|
||||
} else {
|
||||
trigger_error('input to Base32Decode had a bad character: '.$inChar);
|
||||
return false;
|
||||
//return $this->raiseError('input to Base32Decode had a bad character: '.$inChar, null,
|
||||
// PEAR_ERROR_DIE, null, null, 'Net_RACE_Error', false );
|
||||
}
|
||||
}
|
||||
|
||||
/* Step 5 */
|
||||
$padding = strlen($deCompBits) % 8;
|
||||
$paddingContent = substr($deCompBits, (strlen($deCompBits) - $padding));
|
||||
if(substr_count($paddingContent, '1')>0) {
|
||||
trigger_error('found non-zero padding in Base32Decode');
|
||||
return false;
|
||||
//return $this->raiseError('found non-zero padding in Base32Decode', null,
|
||||
// PEAR_ERROR_DIE, null, null, 'Net_RACE_Error', false );
|
||||
}
|
||||
|
||||
/* Break the decompressed string into octets for returning */
|
||||
$deArr = array();
|
||||
for($i = 0; $i < (int)(strlen($deCompBits) / 8); $i++) {
|
||||
$deArr[$i] = chr(bindec(substr($deCompBits, $i*8, 8)));
|
||||
}
|
||||
|
||||
$outString = join('',$deArr);
|
||||
|
||||
return $outString;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+413
-413
@@ -1,413 +1,413 @@
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright � 2004-2008, Moxiecode Systems AB, All rights reserved.
|
||||
*/
|
||||
|
||||
// Some global instances
|
||||
var tinymce = null, tinyMCEPopup, tinyMCE;
|
||||
|
||||
/**#@+
|
||||
* @class TinyMCE popup/dialog helper class. This gives you easy access to the
|
||||
* parent editor instance and a bunch of other things. It's higly recommended
|
||||
* that you load this script into your dialogs.
|
||||
*
|
||||
* @static
|
||||
* @member tinyMCEPopup
|
||||
*/
|
||||
tinyMCEPopup = {
|
||||
/**#@+
|
||||
* @method
|
||||
*/
|
||||
|
||||
/**
|
||||
* Initializes the popup this will be called automatically.
|
||||
*/
|
||||
init : function() {
|
||||
var t = this, w, ti;
|
||||
|
||||
// Find window & API
|
||||
w = t.getWin();
|
||||
tinymce = w.tinymce;
|
||||
tinyMCE = w.tinyMCE;
|
||||
t.editor = tinymce.EditorManager.activeEditor;
|
||||
t.params = t.editor.windowManager.params;
|
||||
t.features = t.editor.windowManager.features;
|
||||
|
||||
// Setup local DOM
|
||||
t.dom = t.editor.windowManager.createInstance('tinymce.dom.DOMUtils', document);
|
||||
|
||||
// Enables you to skip loading the default css
|
||||
if (t.features.popup_css !== false)
|
||||
t.dom.loadCSS(t.features.popup_css || t.editor.settings.popup_css);
|
||||
|
||||
// Setup on init listeners
|
||||
t.listeners = [];
|
||||
t.onInit = {
|
||||
add : function(f, s) {
|
||||
t.listeners.push({func : f, scope : s});
|
||||
}
|
||||
};
|
||||
|
||||
t.isWindow = !t.getWindowArg('mce_inline');
|
||||
t.id = t.getWindowArg('mce_window_id');
|
||||
t.editor.windowManager.onOpen.dispatch(t.editor.windowManager, window);
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns the reference to the parent window that opened the dialog.
|
||||
*
|
||||
* @return {Window} Reference to the parent window that opened the dialog.
|
||||
*/
|
||||
getWin : function() {
|
||||
return window.dialogArguments || opener || parent || top;
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns a window argument/parameter by name.
|
||||
*
|
||||
* @param {String} n Name of the window argument to retrive.
|
||||
* @param {String} dv Optional default value to return.
|
||||
* @return {String} Argument value or default value if it wasn't found.
|
||||
*/
|
||||
getWindowArg : function(n, dv) {
|
||||
var v = this.params[n];
|
||||
|
||||
return tinymce.is(v) ? v : dv;
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns a editor parameter/config option value.
|
||||
*
|
||||
* @param {String} n Name of the editor config option to retrive.
|
||||
* @param {String} dv Optional default value to return.
|
||||
* @return {String} Parameter value or default value if it wasn't found.
|
||||
*/
|
||||
getParam : function(n, dv) {
|
||||
return this.editor.getParam(n, dv);
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns a language item by key.
|
||||
*
|
||||
* @param {String} n Language item like mydialog.something.
|
||||
* @param {String} dv Optional default value to return.
|
||||
* @return {String} Language value for the item like "my string" or the default value if it wasn't found.
|
||||
*/
|
||||
getLang : function(n, dv) {
|
||||
return this.editor.getLang(n, dv);
|
||||
},
|
||||
|
||||
/**
|
||||
* Executed a command on editor that opened the dialog/popup.
|
||||
*
|
||||
* @param {String} cmd Command to execute.
|
||||
* @param {bool} ui Optional boolean value if the UI for the command should be presented or not.
|
||||
* @param {Object} val Optional value to pass with the comman like an URL.
|
||||
* @param {Object} a Optional arguments object.
|
||||
*/
|
||||
execCommand : function(cmd, ui, val, a) {
|
||||
a = a || {};
|
||||
a.skip_focus = 1;
|
||||
|
||||
this.restoreSelection();
|
||||
return this.editor.execCommand(cmd, ui, val, a);
|
||||
},
|
||||
|
||||
/**
|
||||
* Resizes the dialog to the inner size of the window. This is needed since various browsers
|
||||
* have different border sizes on windows.
|
||||
*/
|
||||
resizeToInnerSize : function() {
|
||||
var t = this, n, b = document.body, vp = t.dom.getViewPort(window), dw, dh;
|
||||
|
||||
dw = t.getWindowArg('mce_width') - vp.w;
|
||||
dh = t.getWindowArg('mce_height') - vp.h;
|
||||
|
||||
if (t.isWindow)
|
||||
window.resizeBy(dw, dh);
|
||||
else
|
||||
t.editor.windowManager.resizeBy(dw, dh, t.id);
|
||||
},
|
||||
|
||||
/**
|
||||
* Will executed the specified string when the page has been loaded. This function
|
||||
* was added for compatibility with the 2.x branch.
|
||||
*
|
||||
* @param {String} s String to evalutate on init.
|
||||
*/
|
||||
executeOnLoad : function(s) {
|
||||
this.onInit.add(function() {
|
||||
eval(s);
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Stores the current editor selection for later restoration. This can be useful since some browsers
|
||||
* looses it's selection if a control element is selected/focused inside the dialogs.
|
||||
*/
|
||||
storeSelection : function() {
|
||||
this.editor.windowManager.bookmark = tinyMCEPopup.editor.selection.getBookmark(1);
|
||||
},
|
||||
|
||||
/**
|
||||
* Restores any stored selection. This can be useful since some browsers
|
||||
* looses it's selection if a control element is selected/focused inside the dialogs.
|
||||
*/
|
||||
restoreSelection : function() {
|
||||
var t = tinyMCEPopup;
|
||||
|
||||
if (!t.isWindow && tinymce.isIE)
|
||||
t.editor.selection.moveToBookmark(t.editor.windowManager.bookmark);
|
||||
},
|
||||
|
||||
/**
|
||||
* Loads a specific dialog language pack. If you pass in plugin_url as a arugment
|
||||
* when you open the window it will load the <plugin url>/langs/<code>_dlg.js lang pack file.
|
||||
*/
|
||||
requireLangPack : function() {
|
||||
return; // not needed in Moodle - we load all lang packs in one request
|
||||
var t = this, u = t.getWindowArg('plugin_url') || t.getWindowArg('theme_url');
|
||||
|
||||
if (u && t.editor.settings.language && t.features.translate_i18n !== false) {
|
||||
u += '/langs/' + t.editor.settings.language + '_dlg.js';
|
||||
|
||||
if (!tinymce.ScriptLoader.isDone(u)) {
|
||||
document.write('<script type="text/javascript" src="' + tinymce._addVer(u) + '"></script>');
|
||||
tinymce.ScriptLoader.markDone(u);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Executes a color picker on the specified element id. When the user
|
||||
* then selects a color it will be set as the value of the specified element.
|
||||
*
|
||||
* @param {DOMEvent} e DOM event object.
|
||||
* @param {string} element_id Element id to be filled with the color value from the picker.
|
||||
*/
|
||||
pickColor : function(e, element_id) {
|
||||
this.execCommand('mceColorPicker', true, {
|
||||
color : document.getElementById(element_id).value,
|
||||
func : function(c) {
|
||||
document.getElementById(element_id).value = c;
|
||||
|
||||
try {
|
||||
document.getElementById(element_id).onchange();
|
||||
} catch (ex) {
|
||||
// Try fire event, ignore errors
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Opens a filebrowser/imagebrowser this will set the output value from
|
||||
* the browser as a value on the specified element.
|
||||
*
|
||||
* @param {string} element_id Id of the element to set value in.
|
||||
* @param {string} type Type of browser to open image/file/flash.
|
||||
* @param {string} option Option name to get the file_broswer_callback function name from.
|
||||
*/
|
||||
openBrowser : function(element_id, type, option) {
|
||||
tinyMCEPopup.restoreSelection();
|
||||
this.editor.execCallback('file_browser_callback', element_id, document.getElementById(element_id).value, type, window);
|
||||
},
|
||||
|
||||
/**
|
||||
* Creates a confirm dialog. Please don't use the blocking behavior of this
|
||||
* native version use the callback method instead then it can be extended.
|
||||
*
|
||||
* @param {String} t Title for the new confirm dialog.
|
||||
* @param {function} cb Callback function to be executed after the user has selected ok or cancel.
|
||||
* @param {Object} s Optional scope to execute the callback in.
|
||||
*/
|
||||
confirm : function(t, cb, s) {
|
||||
this.editor.windowManager.confirm(t, cb, s, window);
|
||||
},
|
||||
|
||||
/**
|
||||
* Creates a alert dialog. Please don't use the blocking behavior of this
|
||||
* native version use the callback method instead then it can be extended.
|
||||
*
|
||||
* @param {String} t Title for the new alert dialog.
|
||||
* @param {function} cb Callback function to be executed after the user has selected ok.
|
||||
* @param {Object} s Optional scope to execute the callback in.
|
||||
*/
|
||||
alert : function(tx, cb, s) {
|
||||
this.editor.windowManager.alert(tx, cb, s, window);
|
||||
},
|
||||
|
||||
/**
|
||||
* Closes the current window.
|
||||
*/
|
||||
close : function() {
|
||||
var t = this;
|
||||
|
||||
// To avoid domain relaxing issue in Opera
|
||||
function close() {
|
||||
t.editor.windowManager.close(window);
|
||||
tinymce = tinyMCE = t.editor = t.params = t.dom = t.dom.doc = null; // Cleanup
|
||||
};
|
||||
|
||||
if (tinymce.isOpera)
|
||||
t.getWin().setTimeout(close, 0);
|
||||
else
|
||||
close();
|
||||
},
|
||||
|
||||
// Internal functions
|
||||
|
||||
_restoreSelection : function() {
|
||||
var e = window.event.srcElement;
|
||||
|
||||
if (e.nodeName == 'INPUT' && (e.type == 'submit' || e.type == 'button'))
|
||||
tinyMCEPopup.restoreSelection();
|
||||
},
|
||||
|
||||
/* _restoreSelection : function() {
|
||||
var e = window.event.srcElement;
|
||||
|
||||
// If user focus a non text input or textarea
|
||||
if ((e.nodeName != 'INPUT' && e.nodeName != 'TEXTAREA') || e.type != 'text')
|
||||
tinyMCEPopup.restoreSelection();
|
||||
},*/
|
||||
|
||||
_onDOMLoaded : function() {
|
||||
var t = tinyMCEPopup, ti = document.title, bm, h, nv;
|
||||
|
||||
if (t.domLoaded)
|
||||
return;
|
||||
|
||||
t.domLoaded = 1;
|
||||
|
||||
// Translate page
|
||||
if (t.features.translate_i18n !== false) {
|
||||
h = document.body.innerHTML;
|
||||
|
||||
// Replace a=x with a="x" in IE
|
||||
if (tinymce.isIE)
|
||||
h = h.replace(/ (value|title|alt)=([^"][^\s>]+)/gi, ' $1="$2"')
|
||||
|
||||
document.dir = t.editor.getParam('directionality','');
|
||||
|
||||
if ((nv = t.editor.translate(h)) && nv != h)
|
||||
document.body.innerHTML = nv;
|
||||
|
||||
if ((nv = t.editor.translate(ti)) && nv != ti)
|
||||
document.title = ti = nv;
|
||||
}
|
||||
|
||||
document.body.style.display = '';
|
||||
|
||||
// Restore selection in IE when focus is placed on a non textarea or input element of the type text
|
||||
if (tinymce.isIE) {
|
||||
document.attachEvent('onmouseup', tinyMCEPopup._restoreSelection);
|
||||
|
||||
// Add base target element for it since it would fail with modal dialogs
|
||||
t.dom.add(t.dom.select('head')[0], 'base', {target : '_self'});
|
||||
}
|
||||
|
||||
t.restoreSelection();
|
||||
t.resizeToInnerSize();
|
||||
|
||||
// Set inline title
|
||||
if (!t.isWindow)
|
||||
t.editor.windowManager.setTitle(window, ti);
|
||||
else
|
||||
window.focus();
|
||||
|
||||
if (!tinymce.isIE && !t.isWindow) {
|
||||
tinymce.dom.Event._add(document, 'focus', function() {
|
||||
t.editor.windowManager.focus(t.id)
|
||||
});
|
||||
}
|
||||
|
||||
// Patch for accessibility
|
||||
tinymce.each(t.dom.select('select'), function(e) {
|
||||
e.onkeydown = tinyMCEPopup._accessHandler;
|
||||
});
|
||||
|
||||
// Call onInit
|
||||
// Init must be called before focus so the selection won't get lost by the focus call
|
||||
tinymce.each(t.listeners, function(o) {
|
||||
o.func.call(o.scope, t.editor);
|
||||
});
|
||||
|
||||
// Move focus to window
|
||||
if (t.getWindowArg('mce_auto_focus', true)) {
|
||||
window.focus();
|
||||
|
||||
// Focus element with mceFocus class
|
||||
tinymce.each(document.forms, function(f) {
|
||||
tinymce.each(f.elements, function(e) {
|
||||
if (t.dom.hasClass(e, 'mceFocus') && !e.disabled) {
|
||||
e.focus();
|
||||
return false; // Break loop
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
document.onkeyup = tinyMCEPopup._closeWinKeyHandler;
|
||||
},
|
||||
|
||||
_accessHandler : function(e) {
|
||||
e = e || window.event;
|
||||
|
||||
if (e.keyCode == 13 || e.keyCode == 32) {
|
||||
e = e.target || e.srcElement;
|
||||
|
||||
if (e.onchange)
|
||||
e.onchange();
|
||||
|
||||
return tinymce.dom.Event.cancel(e);
|
||||
}
|
||||
},
|
||||
|
||||
_closeWinKeyHandler : function(e) {
|
||||
e = e || window.event;
|
||||
|
||||
if (e.keyCode == 27)
|
||||
tinyMCEPopup.close();
|
||||
},
|
||||
|
||||
_wait : function() {
|
||||
// Use IE method
|
||||
if (document.attachEvent) {
|
||||
document.attachEvent("onreadystatechange", function() {
|
||||
if (document.readyState === "complete") {
|
||||
document.detachEvent("onreadystatechange", arguments.callee);
|
||||
tinyMCEPopup._onDOMLoaded();
|
||||
}
|
||||
});
|
||||
|
||||
if (document.documentElement.doScroll && window == window.top) {
|
||||
(function() {
|
||||
if (tinyMCEPopup.domLoaded)
|
||||
return;
|
||||
|
||||
try {
|
||||
// If IE is used, use the trick by Diego Perini
|
||||
// http://javascript.nwbox.com/IEContentLoaded/
|
||||
document.documentElement.doScroll("left");
|
||||
} catch (ex) {
|
||||
setTimeout(arguments.callee, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
tinyMCEPopup._onDOMLoaded();
|
||||
})();
|
||||
}
|
||||
|
||||
document.attachEvent('onload', tinyMCEPopup._onDOMLoaded);
|
||||
} else if (document.addEventListener) {
|
||||
window.addEventListener('DOMContentLoaded', tinyMCEPopup._onDOMLoaded, false);
|
||||
window.addEventListener('load', tinyMCEPopup._onDOMLoaded, false);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
tinyMCEPopup.init();
|
||||
tinyMCEPopup._wait(); // Wait for DOM Content Loaded
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright � 2004-2008, Moxiecode Systems AB, All rights reserved.
|
||||
*/
|
||||
|
||||
// Some global instances
|
||||
var tinymce = null, tinyMCEPopup, tinyMCE;
|
||||
|
||||
/**#@+
|
||||
* @class TinyMCE popup/dialog helper class. This gives you easy access to the
|
||||
* parent editor instance and a bunch of other things. It's higly recommended
|
||||
* that you load this script into your dialogs.
|
||||
*
|
||||
* @static
|
||||
* @member tinyMCEPopup
|
||||
*/
|
||||
tinyMCEPopup = {
|
||||
/**#@+
|
||||
* @method
|
||||
*/
|
||||
|
||||
/**
|
||||
* Initializes the popup this will be called automatically.
|
||||
*/
|
||||
init : function() {
|
||||
var t = this, w, ti;
|
||||
|
||||
// Find window & API
|
||||
w = t.getWin();
|
||||
tinymce = w.tinymce;
|
||||
tinyMCE = w.tinyMCE;
|
||||
t.editor = tinymce.EditorManager.activeEditor;
|
||||
t.params = t.editor.windowManager.params;
|
||||
t.features = t.editor.windowManager.features;
|
||||
|
||||
// Setup local DOM
|
||||
t.dom = t.editor.windowManager.createInstance('tinymce.dom.DOMUtils', document);
|
||||
|
||||
// Enables you to skip loading the default css
|
||||
if (t.features.popup_css !== false)
|
||||
t.dom.loadCSS(t.features.popup_css || t.editor.settings.popup_css);
|
||||
|
||||
// Setup on init listeners
|
||||
t.listeners = [];
|
||||
t.onInit = {
|
||||
add : function(f, s) {
|
||||
t.listeners.push({func : f, scope : s});
|
||||
}
|
||||
};
|
||||
|
||||
t.isWindow = !t.getWindowArg('mce_inline');
|
||||
t.id = t.getWindowArg('mce_window_id');
|
||||
t.editor.windowManager.onOpen.dispatch(t.editor.windowManager, window);
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns the reference to the parent window that opened the dialog.
|
||||
*
|
||||
* @return {Window} Reference to the parent window that opened the dialog.
|
||||
*/
|
||||
getWin : function() {
|
||||
return window.dialogArguments || opener || parent || top;
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns a window argument/parameter by name.
|
||||
*
|
||||
* @param {String} n Name of the window argument to retrive.
|
||||
* @param {String} dv Optional default value to return.
|
||||
* @return {String} Argument value or default value if it wasn't found.
|
||||
*/
|
||||
getWindowArg : function(n, dv) {
|
||||
var v = this.params[n];
|
||||
|
||||
return tinymce.is(v) ? v : dv;
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns a editor parameter/config option value.
|
||||
*
|
||||
* @param {String} n Name of the editor config option to retrive.
|
||||
* @param {String} dv Optional default value to return.
|
||||
* @return {String} Parameter value or default value if it wasn't found.
|
||||
*/
|
||||
getParam : function(n, dv) {
|
||||
return this.editor.getParam(n, dv);
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns a language item by key.
|
||||
*
|
||||
* @param {String} n Language item like mydialog.something.
|
||||
* @param {String} dv Optional default value to return.
|
||||
* @return {String} Language value for the item like "my string" or the default value if it wasn't found.
|
||||
*/
|
||||
getLang : function(n, dv) {
|
||||
return this.editor.getLang(n, dv);
|
||||
},
|
||||
|
||||
/**
|
||||
* Executed a command on editor that opened the dialog/popup.
|
||||
*
|
||||
* @param {String} cmd Command to execute.
|
||||
* @param {bool} ui Optional boolean value if the UI for the command should be presented or not.
|
||||
* @param {Object} val Optional value to pass with the comman like an URL.
|
||||
* @param {Object} a Optional arguments object.
|
||||
*/
|
||||
execCommand : function(cmd, ui, val, a) {
|
||||
a = a || {};
|
||||
a.skip_focus = 1;
|
||||
|
||||
this.restoreSelection();
|
||||
return this.editor.execCommand(cmd, ui, val, a);
|
||||
},
|
||||
|
||||
/**
|
||||
* Resizes the dialog to the inner size of the window. This is needed since various browsers
|
||||
* have different border sizes on windows.
|
||||
*/
|
||||
resizeToInnerSize : function() {
|
||||
var t = this, n, b = document.body, vp = t.dom.getViewPort(window), dw, dh;
|
||||
|
||||
dw = t.getWindowArg('mce_width') - vp.w;
|
||||
dh = t.getWindowArg('mce_height') - vp.h;
|
||||
|
||||
if (t.isWindow)
|
||||
window.resizeBy(dw, dh);
|
||||
else
|
||||
t.editor.windowManager.resizeBy(dw, dh, t.id);
|
||||
},
|
||||
|
||||
/**
|
||||
* Will executed the specified string when the page has been loaded. This function
|
||||
* was added for compatibility with the 2.x branch.
|
||||
*
|
||||
* @param {String} s String to evalutate on init.
|
||||
*/
|
||||
executeOnLoad : function(s) {
|
||||
this.onInit.add(function() {
|
||||
eval(s);
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Stores the current editor selection for later restoration. This can be useful since some browsers
|
||||
* looses it's selection if a control element is selected/focused inside the dialogs.
|
||||
*/
|
||||
storeSelection : function() {
|
||||
this.editor.windowManager.bookmark = tinyMCEPopup.editor.selection.getBookmark(1);
|
||||
},
|
||||
|
||||
/**
|
||||
* Restores any stored selection. This can be useful since some browsers
|
||||
* looses it's selection if a control element is selected/focused inside the dialogs.
|
||||
*/
|
||||
restoreSelection : function() {
|
||||
var t = tinyMCEPopup;
|
||||
|
||||
if (!t.isWindow && tinymce.isIE)
|
||||
t.editor.selection.moveToBookmark(t.editor.windowManager.bookmark);
|
||||
},
|
||||
|
||||
/**
|
||||
* Loads a specific dialog language pack. If you pass in plugin_url as a arugment
|
||||
* when you open the window it will load the <plugin url>/langs/<code>_dlg.js lang pack file.
|
||||
*/
|
||||
requireLangPack : function() {
|
||||
return; // not needed in Moodle - we load all lang packs in one request
|
||||
var t = this, u = t.getWindowArg('plugin_url') || t.getWindowArg('theme_url');
|
||||
|
||||
if (u && t.editor.settings.language && t.features.translate_i18n !== false) {
|
||||
u += '/langs/' + t.editor.settings.language + '_dlg.js';
|
||||
|
||||
if (!tinymce.ScriptLoader.isDone(u)) {
|
||||
document.write('<script type="text/javascript" src="' + tinymce._addVer(u) + '"></script>');
|
||||
tinymce.ScriptLoader.markDone(u);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Executes a color picker on the specified element id. When the user
|
||||
* then selects a color it will be set as the value of the specified element.
|
||||
*
|
||||
* @param {DOMEvent} e DOM event object.
|
||||
* @param {string} element_id Element id to be filled with the color value from the picker.
|
||||
*/
|
||||
pickColor : function(e, element_id) {
|
||||
this.execCommand('mceColorPicker', true, {
|
||||
color : document.getElementById(element_id).value,
|
||||
func : function(c) {
|
||||
document.getElementById(element_id).value = c;
|
||||
|
||||
try {
|
||||
document.getElementById(element_id).onchange();
|
||||
} catch (ex) {
|
||||
// Try fire event, ignore errors
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Opens a filebrowser/imagebrowser this will set the output value from
|
||||
* the browser as a value on the specified element.
|
||||
*
|
||||
* @param {string} element_id Id of the element to set value in.
|
||||
* @param {string} type Type of browser to open image/file/flash.
|
||||
* @param {string} option Option name to get the file_broswer_callback function name from.
|
||||
*/
|
||||
openBrowser : function(element_id, type, option) {
|
||||
tinyMCEPopup.restoreSelection();
|
||||
this.editor.execCallback('file_browser_callback', element_id, document.getElementById(element_id).value, type, window);
|
||||
},
|
||||
|
||||
/**
|
||||
* Creates a confirm dialog. Please don't use the blocking behavior of this
|
||||
* native version use the callback method instead then it can be extended.
|
||||
*
|
||||
* @param {String} t Title for the new confirm dialog.
|
||||
* @param {function} cb Callback function to be executed after the user has selected ok or cancel.
|
||||
* @param {Object} s Optional scope to execute the callback in.
|
||||
*/
|
||||
confirm : function(t, cb, s) {
|
||||
this.editor.windowManager.confirm(t, cb, s, window);
|
||||
},
|
||||
|
||||
/**
|
||||
* Creates a alert dialog. Please don't use the blocking behavior of this
|
||||
* native version use the callback method instead then it can be extended.
|
||||
*
|
||||
* @param {String} t Title for the new alert dialog.
|
||||
* @param {function} cb Callback function to be executed after the user has selected ok.
|
||||
* @param {Object} s Optional scope to execute the callback in.
|
||||
*/
|
||||
alert : function(tx, cb, s) {
|
||||
this.editor.windowManager.alert(tx, cb, s, window);
|
||||
},
|
||||
|
||||
/**
|
||||
* Closes the current window.
|
||||
*/
|
||||
close : function() {
|
||||
var t = this;
|
||||
|
||||
// To avoid domain relaxing issue in Opera
|
||||
function close() {
|
||||
t.editor.windowManager.close(window);
|
||||
tinymce = tinyMCE = t.editor = t.params = t.dom = t.dom.doc = null; // Cleanup
|
||||
};
|
||||
|
||||
if (tinymce.isOpera)
|
||||
t.getWin().setTimeout(close, 0);
|
||||
else
|
||||
close();
|
||||
},
|
||||
|
||||
// Internal functions
|
||||
|
||||
_restoreSelection : function() {
|
||||
var e = window.event.srcElement;
|
||||
|
||||
if (e.nodeName == 'INPUT' && (e.type == 'submit' || e.type == 'button'))
|
||||
tinyMCEPopup.restoreSelection();
|
||||
},
|
||||
|
||||
/* _restoreSelection : function() {
|
||||
var e = window.event.srcElement;
|
||||
|
||||
// If user focus a non text input or textarea
|
||||
if ((e.nodeName != 'INPUT' && e.nodeName != 'TEXTAREA') || e.type != 'text')
|
||||
tinyMCEPopup.restoreSelection();
|
||||
},*/
|
||||
|
||||
_onDOMLoaded : function() {
|
||||
var t = tinyMCEPopup, ti = document.title, bm, h, nv;
|
||||
|
||||
if (t.domLoaded)
|
||||
return;
|
||||
|
||||
t.domLoaded = 1;
|
||||
|
||||
// Translate page
|
||||
if (t.features.translate_i18n !== false) {
|
||||
h = document.body.innerHTML;
|
||||
|
||||
// Replace a=x with a="x" in IE
|
||||
if (tinymce.isIE)
|
||||
h = h.replace(/ (value|title|alt)=([^"][^\s>]+)/gi, ' $1="$2"')
|
||||
|
||||
document.dir = t.editor.getParam('directionality','');
|
||||
|
||||
if ((nv = t.editor.translate(h)) && nv != h)
|
||||
document.body.innerHTML = nv;
|
||||
|
||||
if ((nv = t.editor.translate(ti)) && nv != ti)
|
||||
document.title = ti = nv;
|
||||
}
|
||||
|
||||
document.body.style.display = '';
|
||||
|
||||
// Restore selection in IE when focus is placed on a non textarea or input element of the type text
|
||||
if (tinymce.isIE) {
|
||||
document.attachEvent('onmouseup', tinyMCEPopup._restoreSelection);
|
||||
|
||||
// Add base target element for it since it would fail with modal dialogs
|
||||
t.dom.add(t.dom.select('head')[0], 'base', {target : '_self'});
|
||||
}
|
||||
|
||||
t.restoreSelection();
|
||||
t.resizeToInnerSize();
|
||||
|
||||
// Set inline title
|
||||
if (!t.isWindow)
|
||||
t.editor.windowManager.setTitle(window, ti);
|
||||
else
|
||||
window.focus();
|
||||
|
||||
if (!tinymce.isIE && !t.isWindow) {
|
||||
tinymce.dom.Event._add(document, 'focus', function() {
|
||||
t.editor.windowManager.focus(t.id)
|
||||
});
|
||||
}
|
||||
|
||||
// Patch for accessibility
|
||||
tinymce.each(t.dom.select('select'), function(e) {
|
||||
e.onkeydown = tinyMCEPopup._accessHandler;
|
||||
});
|
||||
|
||||
// Call onInit
|
||||
// Init must be called before focus so the selection won't get lost by the focus call
|
||||
tinymce.each(t.listeners, function(o) {
|
||||
o.func.call(o.scope, t.editor);
|
||||
});
|
||||
|
||||
// Move focus to window
|
||||
if (t.getWindowArg('mce_auto_focus', true)) {
|
||||
window.focus();
|
||||
|
||||
// Focus element with mceFocus class
|
||||
tinymce.each(document.forms, function(f) {
|
||||
tinymce.each(f.elements, function(e) {
|
||||
if (t.dom.hasClass(e, 'mceFocus') && !e.disabled) {
|
||||
e.focus();
|
||||
return false; // Break loop
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
document.onkeyup = tinyMCEPopup._closeWinKeyHandler;
|
||||
},
|
||||
|
||||
_accessHandler : function(e) {
|
||||
e = e || window.event;
|
||||
|
||||
if (e.keyCode == 13 || e.keyCode == 32) {
|
||||
e = e.target || e.srcElement;
|
||||
|
||||
if (e.onchange)
|
||||
e.onchange();
|
||||
|
||||
return tinymce.dom.Event.cancel(e);
|
||||
}
|
||||
},
|
||||
|
||||
_closeWinKeyHandler : function(e) {
|
||||
e = e || window.event;
|
||||
|
||||
if (e.keyCode == 27)
|
||||
tinyMCEPopup.close();
|
||||
},
|
||||
|
||||
_wait : function() {
|
||||
// Use IE method
|
||||
if (document.attachEvent) {
|
||||
document.attachEvent("onreadystatechange", function() {
|
||||
if (document.readyState === "complete") {
|
||||
document.detachEvent("onreadystatechange", arguments.callee);
|
||||
tinyMCEPopup._onDOMLoaded();
|
||||
}
|
||||
});
|
||||
|
||||
if (document.documentElement.doScroll && window == window.top) {
|
||||
(function() {
|
||||
if (tinyMCEPopup.domLoaded)
|
||||
return;
|
||||
|
||||
try {
|
||||
// If IE is used, use the trick by Diego Perini
|
||||
// http://javascript.nwbox.com/IEContentLoaded/
|
||||
document.documentElement.doScroll("left");
|
||||
} catch (ex) {
|
||||
setTimeout(arguments.callee, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
tinyMCEPopup._onDOMLoaded();
|
||||
})();
|
||||
}
|
||||
|
||||
document.attachEvent('onload', tinyMCEPopup._onDOMLoaded);
|
||||
} else if (document.addEventListener) {
|
||||
window.addEventListener('DOMContentLoaded', tinyMCEPopup._onDOMLoaded, false);
|
||||
window.addEventListener('load', tinyMCEPopup._onDOMLoaded, false);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
tinyMCEPopup.init();
|
||||
tinyMCEPopup._wait(); // Wait for DOM Content Loaded
|
||||
|
||||
@@ -6,36 +6,36 @@ diff -u -r1.1 form_utils.js
|
||||
--- lib/editor/tinymce/utils/form_utils.js 16 May 2009 20:54:46 -0000 1.1
|
||||
+++ lib/editor/tinymce/utils/form_utils.js 10 Nov 2009 08:06:02 -0000
|
||||
@@ -48,9 +48,21 @@
|
||||
if (!cb)
|
||||
return "";
|
||||
|
||||
- html = "";
|
||||
- html += '<a id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;" class="browse">';
|
||||
- html += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '"> </span></a>';
|
||||
+ html = "";
|
||||
+ if (id=='filebrowser') {
|
||||
+ // for moodlemedia plugin
|
||||
+ html += '<a class="moodlebutton" id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;">';
|
||||
+ html += tinyMCEPopup.getLang('browsemedia');
|
||||
+ html += '</a>';
|
||||
+ } else if (id=='srcbrowser') {
|
||||
+ // for advimage plugin
|
||||
+ html += '<a class="moodlebutton" id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;">';
|
||||
+ html += tinyMCEPopup.getLang('browseimage');
|
||||
+ html += '</a>';
|
||||
+ } else {
|
||||
+ html += '<a id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;" class="browse">';
|
||||
+ html += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '"> </span></a>';
|
||||
+ }
|
||||
|
||||
return html;
|
||||
}
|
||||
if (!cb)
|
||||
return "";
|
||||
|
||||
- html = "";
|
||||
- html += '<a id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;" class="browse">';
|
||||
- html += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '"> </span></a>';
|
||||
+ html = "";
|
||||
+ if (id=='filebrowser') {
|
||||
+ // for moodlemedia plugin
|
||||
+ html += '<a class="moodlebutton" id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;">';
|
||||
+ html += tinyMCEPopup.getLang('browsemedia');
|
||||
+ html += '</a>';
|
||||
+ } else if (id=='srcbrowser') {
|
||||
+ // for advimage plugin
|
||||
+ html += '<a class="moodlebutton" id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;">';
|
||||
+ html += tinyMCEPopup.getLang('browseimage');
|
||||
+ html += '</a>';
|
||||
+ } else {
|
||||
+ html += '<a id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;" class="browse">';
|
||||
+ html += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '"> </span></a>';
|
||||
+ }
|
||||
|
||||
return html;
|
||||
}
|
||||
@@ -58,7 +70,7 @@
|
||||
function openBrowser(img_id, target_form_element, type, option) {
|
||||
var img = document.getElementById(img_id);
|
||||
|
||||
- if (img.className != "mceButtonDisabled")
|
||||
+ if (!img || img.className != "mceButtonDisabled")
|
||||
tinyMCEPopup.openBrowser(target_form_element, type, option);
|
||||
}
|
||||
|
||||
function openBrowser(img_id, target_form_element, type, option) {
|
||||
var img = document.getElementById(img_id);
|
||||
|
||||
- if (img.className != "mceButtonDisabled")
|
||||
+ if (!img || img.className != "mceButtonDisabled")
|
||||
tinyMCEPopup.openBrowser(target_form_element, type, option);
|
||||
}
|
||||
|
||||
|
||||
@@ -6,56 +6,56 @@ diff -u -r1.1 image.htm
|
||||
--- lib/editor/tinymce/plugins/advimage/image.htm 16 May 2009 20:53:41 -0000 1.1
|
||||
+++ lib/editor/tinymce/plugins/advimage/image.htm 11 Nov 2009 05:18:39 -0000
|
||||
@@ -26,14 +26,15 @@
|
||||
<legend>{#advimage_dlg.general}</legend>
|
||||
|
||||
<table class="properties">
|
||||
+ <tr>
|
||||
+ <td class="column1"> </td>
|
||||
+ <td align="left" id="srcbrowsercontainer"> </td>
|
||||
+ </tr>
|
||||
<tr>
|
||||
<td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td>
|
||||
- <td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
|
||||
- <tr>
|
||||
- <td><input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" /></td>
|
||||
- <td id="srcbrowsercontainer"> </td>
|
||||
- </tr>
|
||||
- </table></td>
|
||||
+ <td>
|
||||
+ <input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" />
|
||||
+ </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="src_list">{#advimage_dlg.image_list}</label></td>
|
||||
<legend>{#advimage_dlg.general}</legend>
|
||||
|
||||
<table class="properties">
|
||||
+ <tr>
|
||||
+ <td class="column1"> </td>
|
||||
+ <td align="left" id="srcbrowsercontainer"> </td>
|
||||
+ </tr>
|
||||
<tr>
|
||||
<td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td>
|
||||
- <td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
|
||||
- <tr>
|
||||
- <td><input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" /></td>
|
||||
- <td id="srcbrowsercontainer"> </td>
|
||||
- </tr>
|
||||
- </table></td>
|
||||
+ <td>
|
||||
+ <input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" />
|
||||
+ </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="src_list">{#advimage_dlg.image_list}</label></td>
|
||||
@@ -41,12 +42,8 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label id="altlabel" for="alt">{#advimage_dlg.alt}</label></td>
|
||||
- <td colspan="2"><input id="alt" name="alt" type="text" value="" /></td>
|
||||
+ <td><input id="alt" name="alt" type="text" value="" /></td>
|
||||
</tr>
|
||||
- <tr>
|
||||
- <td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td>
|
||||
- <td colspan="2"><input id="title" name="title" type="text" value="" /></td>
|
||||
- </tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label id="altlabel" for="alt">{#advimage_dlg.alt}</label></td>
|
||||
- <td colspan="2"><input id="alt" name="alt" type="text" value="" /></td>
|
||||
+ <td><input id="alt" name="alt" type="text" value="" /></td>
|
||||
</tr>
|
||||
- <tr>
|
||||
- <td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td>
|
||||
- <td colspan="2"><input id="title" name="title" type="text" value="" /></td>
|
||||
- </tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
@@ -180,10 +177,13 @@
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
+ <td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td>
|
||||
+ <td><input id="title" name="title" type="text" value="" /></td>
|
||||
+ </tr>
|
||||
+ <tr>
|
||||
<td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td>
|
||||
<td><input id="id" name="id" type="text" value="" /></td>
|
||||
</tr>
|
||||
-
|
||||
<tr>
|
||||
<td class="column1"><label id="dirlabel" for="dir">{#advimage_dlg.langdir}</label></td>
|
||||
<td>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
+ <td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td>
|
||||
+ <td><input id="title" name="title" type="text" value="" /></td>
|
||||
+ </tr>
|
||||
+ <tr>
|
||||
<td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td>
|
||||
<td><input id="id" name="id" type="text" value="" /></td>
|
||||
</tr>
|
||||
-
|
||||
<tr>
|
||||
<td class="column1"><label id="dirlabel" for="dir">{#advimage_dlg.langdir}</label></td>
|
||||
<td>
|
||||
Index: lib/editor/tinymce/plugins/advimage/css/advimage.css
|
||||
===================================================================
|
||||
RCS file: /cvsroot/moodle/moodle/lib/editor/tinymce/plugins/advimage/css/advimage.css,v
|
||||
@@ -64,20 +64,20 @@ diff -u -r1.1 advimage.css
|
||||
--- lib/editor/tinymce/plugins/advimage/css/advimage.css 16 May 2009 20:54:52 -0000 1.1
|
||||
+++ lib/editor/tinymce/plugins/advimage/css/advimage.css 11 Nov 2009 05:18:39 -0000
|
||||
@@ -1,13 +1,15 @@
|
||||
#src_list, #over_list, #out_list {width:280px;}
|
||||
.mceActionPanel {margin-top:7px;}
|
||||
+.moodlebutton {font-size: 1.5em;font-weight:bold;padding: 3px;border:1px solid #ccc;text-decoration:none}
|
||||
+.moodlebutton:hover {background: #ccc}
|
||||
.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;}
|
||||
.checkbox {border:0;}
|
||||
.panel_wrapper div.current {height:305px;}
|
||||
-#prev {margin:0; border:1px solid #000; width:428px; height:150px; overflow:auto;}
|
||||
+#prev {margin:0; border:1px solid #000; width:428px; height:180px; overflow:auto;}
|
||||
#align, #classlist {width:150px;}
|
||||
#width, #height {vertical-align:middle; width:50px; text-align:center;}
|
||||
#vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;}
|
||||
#class_list {width:180px;}
|
||||
input {width: 280px;}
|
||||
#constrain, #onmousemovecheck {width:auto;}
|
||||
-#id, #dir, #lang, #usemap, #longdesc {width:200px;}
|
||||
+#id, #title, #dir, #lang, #usemap, #longdesc {width:200px;}
|
||||
#src_list, #over_list, #out_list {width:280px;}
|
||||
.mceActionPanel {margin-top:7px;}
|
||||
+.moodlebutton {font-size: 1.5em;font-weight:bold;padding: 3px;border:1px solid #ccc;text-decoration:none}
|
||||
+.moodlebutton:hover {background: #ccc}
|
||||
.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;}
|
||||
.checkbox {border:0;}
|
||||
.panel_wrapper div.current {height:305px;}
|
||||
-#prev {margin:0; border:1px solid #000; width:428px; height:150px; overflow:auto;}
|
||||
+#prev {margin:0; border:1px solid #000; width:428px; height:180px; overflow:auto;}
|
||||
#align, #classlist {width:150px;}
|
||||
#width, #height {vertical-align:middle; width:50px; text-align:center;}
|
||||
#vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;}
|
||||
#class_list {width:180px;}
|
||||
input {width: 280px;}
|
||||
#constrain, #onmousemovecheck {width:auto;}
|
||||
-#id, #dir, #lang, #usemap, #longdesc {width:200px;}
|
||||
+#id, #title, #dir, #lang, #usemap, #longdesc {width:200px;}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
java -jar yuicompressor.jar --line-break 1000 ..\..\tiny_mce_src.js -o ..\..\tiny_mce.js
|
||||
java -jar yuicompressor.jar --line-break 1000 ..\..\tiny_mce_src.js -o ..\..\tiny_mce.js
|
||||
java -jar yuicompressor.jar --line-break 1000 ..\..\Popup.js -o ..\..\tiny_mce_popup.js
|
||||
@@ -1 +1 @@
|
||||
java -jar yuicompressor.jar --line-break 1000 ..\..\plugins\dragmath\editor_plugin_src.js -o ..\..\plugins\dragmath\editor_plugin.js
|
||||
java -jar yuicompressor.jar --line-break 1000 ..\..\plugins\dragmath\editor_plugin_src.js -o ..\..\plugins\dragmath\editor_plugin.js
|
||||
|
||||
+153
-153
@@ -1,154 +1,154 @@
|
||||
tinyMCE.addI18n({en:{
|
||||
common:{
|
||||
edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?",
|
||||
apply:"Apply",
|
||||
insert:"Insert",
|
||||
update:"Update",
|
||||
cancel:"Cancel",
|
||||
close:"Close",
|
||||
browse:"Browse",
|
||||
class_name:"Class",
|
||||
not_set:"-- Not set --",
|
||||
clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?",
|
||||
clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.",
|
||||
popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.",
|
||||
invalid_data:"Error: Invalid values entered, these are marked in red.",
|
||||
more_colors:"More colors"
|
||||
},
|
||||
contextmenu:{
|
||||
align:"Alignment",
|
||||
left:"Left",
|
||||
center:"Center",
|
||||
right:"Right",
|
||||
full:"Full"
|
||||
},
|
||||
insertdatetime:{
|
||||
date_fmt:"%Y-%m-%d",
|
||||
time_fmt:"%H:%M:%S",
|
||||
insertdate_desc:"Insert date",
|
||||
inserttime_desc:"Insert time",
|
||||
months_long:"January,February,March,April,May,June,July,August,September,October,November,December",
|
||||
months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",
|
||||
day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday",
|
||||
day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"
|
||||
},
|
||||
print:{
|
||||
print_desc:"Print"
|
||||
},
|
||||
preview:{
|
||||
preview_desc:"Preview"
|
||||
},
|
||||
directionality:{
|
||||
ltr_desc:"Direction left to right",
|
||||
rtl_desc:"Direction right to left"
|
||||
},
|
||||
layer:{
|
||||
insertlayer_desc:"Insert new layer",
|
||||
forward_desc:"Move forward",
|
||||
backward_desc:"Move backward",
|
||||
absolute_desc:"Toggle absolute positioning",
|
||||
content:"New layer..."
|
||||
},
|
||||
save:{
|
||||
save_desc:"Save",
|
||||
cancel_desc:"Cancel all changes"
|
||||
},
|
||||
nonbreaking:{
|
||||
nonbreaking_desc:"Insert non-breaking space character"
|
||||
},
|
||||
iespell:{
|
||||
iespell_desc:"Run spell checking",
|
||||
download:"ieSpell not detected. Do you want to install it now?"
|
||||
},
|
||||
advhr:{
|
||||
advhr_desc:"Horizontal rule"
|
||||
},
|
||||
emotions:{
|
||||
emotions_desc:"Emotions"
|
||||
},
|
||||
searchreplace:{
|
||||
search_desc:"Find",
|
||||
replace_desc:"Find/Replace"
|
||||
},
|
||||
advimage:{
|
||||
image_desc:"Insert/edit image"
|
||||
},
|
||||
advlink:{
|
||||
link_desc:"Insert/edit link"
|
||||
},
|
||||
xhtmlxtras:{
|
||||
cite_desc:"Citation",
|
||||
abbr_desc:"Abbreviation",
|
||||
acronym_desc:"Acronym",
|
||||
del_desc:"Deletion",
|
||||
ins_desc:"Insertion",
|
||||
attribs_desc:"Insert/Edit Attributes"
|
||||
},
|
||||
style:{
|
||||
desc:"Edit CSS Style"
|
||||
},
|
||||
paste:{
|
||||
paste_text_desc:"Paste as Plain Text",
|
||||
paste_word_desc:"Paste from Word",
|
||||
selectall_desc:"Select All"
|
||||
},
|
||||
paste_dlg:{
|
||||
text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
|
||||
text_linebreaks:"Keep linebreaks",
|
||||
word_title:"Use CTRL+V on your keyboard to paste the text into the window."
|
||||
},
|
||||
table:{
|
||||
desc:"Inserts a new table",
|
||||
row_before_desc:"Insert row before",
|
||||
row_after_desc:"Insert row after",
|
||||
delete_row_desc:"Delete row",
|
||||
col_before_desc:"Insert column before",
|
||||
col_after_desc:"Insert column after",
|
||||
delete_col_desc:"Remove column",
|
||||
split_cells_desc:"Split merged table cells",
|
||||
merge_cells_desc:"Merge table cells",
|
||||
row_desc:"Table row properties",
|
||||
cell_desc:"Table cell properties",
|
||||
props_desc:"Table properties",
|
||||
paste_row_before_desc:"Paste table row before",
|
||||
paste_row_after_desc:"Paste table row after",
|
||||
cut_row_desc:"Cut table row",
|
||||
copy_row_desc:"Copy table row",
|
||||
del:"Delete table",
|
||||
row:"Row",
|
||||
col:"Column",
|
||||
cell:"Cell"
|
||||
},
|
||||
autosave:{
|
||||
unload_msg:"The changes you made will be lost if you navigate away from this page."
|
||||
},
|
||||
fullscreen:{
|
||||
desc:"Toggle fullscreen mode"
|
||||
},
|
||||
media:{
|
||||
desc:"Insert / edit embedded media",
|
||||
edit:"Edit embedded media"
|
||||
},
|
||||
fullpage:{
|
||||
desc:"Document properties"
|
||||
},
|
||||
template:{
|
||||
desc:"Insert predefined template content"
|
||||
},
|
||||
visualchars:{
|
||||
desc:"Visual control characters on/off."
|
||||
},
|
||||
spellchecker:{
|
||||
desc:"Toggle spellchecker",
|
||||
menu:"Spellchecker settings",
|
||||
ignore_word:"Ignore word",
|
||||
ignore_words:"Ignore all",
|
||||
langs:"Languages",
|
||||
wait:"Please wait...",
|
||||
sug:"Suggestions",
|
||||
no_sug:"No suggestions",
|
||||
no_mpell:"No misspellings found."
|
||||
},
|
||||
pagebreak:{
|
||||
desc:"Insert page break."
|
||||
tinyMCE.addI18n({en:{
|
||||
common:{
|
||||
edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?",
|
||||
apply:"Apply",
|
||||
insert:"Insert",
|
||||
update:"Update",
|
||||
cancel:"Cancel",
|
||||
close:"Close",
|
||||
browse:"Browse",
|
||||
class_name:"Class",
|
||||
not_set:"-- Not set --",
|
||||
clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?",
|
||||
clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.",
|
||||
popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.",
|
||||
invalid_data:"Error: Invalid values entered, these are marked in red.",
|
||||
more_colors:"More colors"
|
||||
},
|
||||
contextmenu:{
|
||||
align:"Alignment",
|
||||
left:"Left",
|
||||
center:"Center",
|
||||
right:"Right",
|
||||
full:"Full"
|
||||
},
|
||||
insertdatetime:{
|
||||
date_fmt:"%Y-%m-%d",
|
||||
time_fmt:"%H:%M:%S",
|
||||
insertdate_desc:"Insert date",
|
||||
inserttime_desc:"Insert time",
|
||||
months_long:"January,February,March,April,May,June,July,August,September,October,November,December",
|
||||
months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",
|
||||
day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday",
|
||||
day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"
|
||||
},
|
||||
print:{
|
||||
print_desc:"Print"
|
||||
},
|
||||
preview:{
|
||||
preview_desc:"Preview"
|
||||
},
|
||||
directionality:{
|
||||
ltr_desc:"Direction left to right",
|
||||
rtl_desc:"Direction right to left"
|
||||
},
|
||||
layer:{
|
||||
insertlayer_desc:"Insert new layer",
|
||||
forward_desc:"Move forward",
|
||||
backward_desc:"Move backward",
|
||||
absolute_desc:"Toggle absolute positioning",
|
||||
content:"New layer..."
|
||||
},
|
||||
save:{
|
||||
save_desc:"Save",
|
||||
cancel_desc:"Cancel all changes"
|
||||
},
|
||||
nonbreaking:{
|
||||
nonbreaking_desc:"Insert non-breaking space character"
|
||||
},
|
||||
iespell:{
|
||||
iespell_desc:"Run spell checking",
|
||||
download:"ieSpell not detected. Do you want to install it now?"
|
||||
},
|
||||
advhr:{
|
||||
advhr_desc:"Horizontal rule"
|
||||
},
|
||||
emotions:{
|
||||
emotions_desc:"Emotions"
|
||||
},
|
||||
searchreplace:{
|
||||
search_desc:"Find",
|
||||
replace_desc:"Find/Replace"
|
||||
},
|
||||
advimage:{
|
||||
image_desc:"Insert/edit image"
|
||||
},
|
||||
advlink:{
|
||||
link_desc:"Insert/edit link"
|
||||
},
|
||||
xhtmlxtras:{
|
||||
cite_desc:"Citation",
|
||||
abbr_desc:"Abbreviation",
|
||||
acronym_desc:"Acronym",
|
||||
del_desc:"Deletion",
|
||||
ins_desc:"Insertion",
|
||||
attribs_desc:"Insert/Edit Attributes"
|
||||
},
|
||||
style:{
|
||||
desc:"Edit CSS Style"
|
||||
},
|
||||
paste:{
|
||||
paste_text_desc:"Paste as Plain Text",
|
||||
paste_word_desc:"Paste from Word",
|
||||
selectall_desc:"Select All"
|
||||
},
|
||||
paste_dlg:{
|
||||
text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
|
||||
text_linebreaks:"Keep linebreaks",
|
||||
word_title:"Use CTRL+V on your keyboard to paste the text into the window."
|
||||
},
|
||||
table:{
|
||||
desc:"Inserts a new table",
|
||||
row_before_desc:"Insert row before",
|
||||
row_after_desc:"Insert row after",
|
||||
delete_row_desc:"Delete row",
|
||||
col_before_desc:"Insert column before",
|
||||
col_after_desc:"Insert column after",
|
||||
delete_col_desc:"Remove column",
|
||||
split_cells_desc:"Split merged table cells",
|
||||
merge_cells_desc:"Merge table cells",
|
||||
row_desc:"Table row properties",
|
||||
cell_desc:"Table cell properties",
|
||||
props_desc:"Table properties",
|
||||
paste_row_before_desc:"Paste table row before",
|
||||
paste_row_after_desc:"Paste table row after",
|
||||
cut_row_desc:"Cut table row",
|
||||
copy_row_desc:"Copy table row",
|
||||
del:"Delete table",
|
||||
row:"Row",
|
||||
col:"Column",
|
||||
cell:"Cell"
|
||||
},
|
||||
autosave:{
|
||||
unload_msg:"The changes you made will be lost if you navigate away from this page."
|
||||
},
|
||||
fullscreen:{
|
||||
desc:"Toggle fullscreen mode"
|
||||
},
|
||||
media:{
|
||||
desc:"Insert / edit embedded media",
|
||||
edit:"Edit embedded media"
|
||||
},
|
||||
fullpage:{
|
||||
desc:"Document properties"
|
||||
},
|
||||
template:{
|
||||
desc:"Insert predefined template content"
|
||||
},
|
||||
visualchars:{
|
||||
desc:"Visual control characters on/off."
|
||||
},
|
||||
spellchecker:{
|
||||
desc:"Toggle spellchecker",
|
||||
menu:"Spellchecker settings",
|
||||
ignore_word:"Ignore word",
|
||||
ignore_words:"Ignore all",
|
||||
langs:"Languages",
|
||||
wait:"Please wait...",
|
||||
sug:"Suggestions",
|
||||
no_sug:"No suggestions",
|
||||
no_mpell:"No misspellings found."
|
||||
},
|
||||
pagebreak:{
|
||||
desc:"Insert page break."
|
||||
}}});
|
||||
+504
-504
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
input.radio {border:1px none #000; background:transparent; vertical-align:middle;}
|
||||
.panel_wrapper div.current {height:80px;}
|
||||
#width {width:50px; vertical-align:middle;}
|
||||
#width2 {width:50px; vertical-align:middle;}
|
||||
#size {width:100px;}
|
||||
input.radio {border:1px none #000; background:transparent; vertical-align:middle;}
|
||||
.panel_wrapper div.current {height:80px;}
|
||||
#width {width:50px; vertical-align:middle;}
|
||||
#width2 {width:50px; vertical-align:middle;}
|
||||
#size {width:100px;}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user