Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1194 → Rev 1195

/trunk/doc/xsd/tdwg_dw_core.xsd
File deleted
\ No newline at end of file
/trunk/doc/xsd/tdwg_dw_element.xsd
File deleted
\ No newline at end of file
/trunk/doc/xsd/coel.xsd
File deleted
\ No newline at end of file
/trunk/doc/xsd/tdwg_basetypes.xsd
New file
0,0 → 1,88
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- Introduction -->
<!-- ==================================================================== -->
<!-- Schema for a type library for darwin and extension data types. -->
<!-- History: -->
<!-- version 0.5 2007-02-14 John Wieczorek -->
<!-- Status: -->
<!-- Ready for testing. -->
<!-- Should be placed in a tdwg shared data types library. -->
<!-- See http://wiki.tdwg.org for current status of this standard -->
 
<!-- ==================================================================== -->
<!-- Schema -->
<!-- ==================================================================== -->
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified" version="0.5">
 
<!-- ============================================================== -->
<!-- Types -->
<!-- ============================================================== -->
<xs:simpleType name="positiveDouble">
<xs:restriction base="xs:double">
<xs:minExclusive value="0"/>
</xs:restriction>
</xs:simpleType>
 
<xs:simpleType name="dayOfYearDataType">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="366"/>
</xs:restriction>
</xs:simpleType>
 
<xs:simpleType name="decimalLatitudeDataType">
<xs:restriction base="xs:double">
 
<xs:minInclusive value="-90"/>
<xs:maxInclusive value="90"/>
</xs:restriction>
</xs:simpleType>
 
<xs:simpleType name="decimalLongitudeDataType">
<xs:restriction base="xs:double">
<xs:minInclusive value="-180"/>
<xs:maxInclusive value="180"/>
 
</xs:restriction>
</xs:simpleType>
 
<xs:simpleType name="spatialFitDataType">
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="0"/>
 
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
 
<xs:enumeration value="undefined"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
 
<xs:simpleType name="DateTimeISO">
<xs:annotation>
<xs:documentation xml:lang="en">
 
The date and time expressed in a way conforming to a subset of ISO 8601. Meant to be exactly the same as DateTimeISO defined in ABCD.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="\d\d\d\d(\-(0[1-9]|1[012])(\-((0[1-9])|1\d|2\d|3[01])(T(0\d|1\d|2[0-3])(:[0-5]\d){0,2})?)?)?|\-\-(0[1-9]|1[012])(\-(0[1-9]|1\d|2\d|3[01]))?|\-\-\-(0[1-9]|1\d|2\d|3[01])">
</xs:pattern>
</xs:restriction>
</xs:simpleType>
 
</xs:schema>
/trunk/doc/xsd/coel_element.xsd
New file
0,0 → 1,30
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- Introduction -->
<!-- ==================================================================== -->
<!-- Schema to declare an abstract data element for use in substitution -->
<!-- groups so that arbitrary lists of elements so derived can be used to -->
<!-- compose a record. For example, see DarwinRecord.xsd -->
<!-- History: -->
<!-- version 0.5 2007-02-14 Renato De Giovanni, John Wieczorek -->
<!-- Status: -->
<!-- Ready for testing. -->
<!-- See http://wiki.tdwg.org for current status of this standard -->
 
<!-- ==================================================================== -->
<!-- Schema -->
<!-- ==================================================================== -->
<xs:schema
targetNamespace="http://www.tela-botanica.org/schemas/coel/1.00/element"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" version="0.5">
 
<!-- ============================================================== -->
<!-- Elements -->
<!-- ============================================================== -->
<xs:element name="coelElement" abstract="true"/>
<xs:annotation>
<xs:documentation source="http://wiki.tdwg.org/twiki/bin/view/DarwinCore/DarwinElement" xml:lang="en"/>
</xs:annotation>
 
</xs:schema>
/trunk/doc/xsd/coel_tapir_record_1_00.xsd
New file
0,0 → 1,30
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.tela-botanica.org/schemas/coel/1.00/record"
xmlns:coelcore="http://www.tela-botanica.org/schemas/coel/1.00"
elementFormDefault="qualified"
version="0.5">
<xs:import namespace="http://www.tela-botanica.org/schemas/coel/1.00" schemaLocation="http://www.tela-botanica.net/doc/coel/xsd/coel_tapir_1_00.xsd"/>
<xs:element name="RecordSet">
<xs:complexType>
<xs:sequence>
<xs:element name="Record" maxOccurs="unbounded">
<xs:complexType>
 
<xs:sequence>
<xs:element ref="coelcore:Id" />
<xs:element ref="coelcore:CeTable" />
<xs:element ref="coelcore:CleLigne" />
<xs:element ref="coelcore:Enregistrement" />
<xs:element ref="coelcore:DateModification" />
<xs:element ref="coelcore:CeEtat" />
</xs:sequence>
 
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
/trunk/doc/xsd/coel_tapir_1_00.xsd
New file
0,0 → 1,62
<?xml version="1.0" encoding="UTF-8"?>
<!-- ===================================================================== -->
<!-- Introduction -->
<!-- ===================================================================== -->
<!-- COEL Core XML schema -->
<!-- Historique: -->
<!-- version 1.00 2010-02-11 J.-P. Milcent: création -->
<!-- Statut: -->
<!-- en test -->
 
<!-- ===================================================================== -->
<!-- Schema -->
<!-- ===================================================================== -->
 
<xs:schema targetNamespace="http://www.tela-botanica.org/schemas/coel/1.00"
xmlns:coele="http://www.tela-botanica.org/schemas/coel/1.00/element"
xmlns:coelc="http://www.tela-botanica.org/schemas/coel/1.00"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" version="1.00">
 
<!-- ============================================================== -->
<!-- Documentation -->
<!-- ============================================================== -->
<xs:annotation>
<xs:documentation> XML Schema pour COEL Core</xs:documentation>
</xs:annotation>
 
<!-- ============================================================== -->
<!-- Inclusion -->
<!-- ============================================================== -->
<!-- include - inclusions must be top-level elements (children of -->
<!-- the xs:schema element. Inclusion is restricted to the -->
<!-- definition of a single namespace. -->
<!-- ============================================================== -->
<xs:include schemaLocation="http://www.tela-botanica.net/doc/coel/xsd/tdwg_basetypes.xsd"/>
 
 
<!-- ============================================================== -->
<!-- Imports -->
<!-- ============================================================== -->
<!-- import - must be used to import definitions from other -->
<!-- namespaces. -->
<!-- ============================================================== -->
<xs:import namespace="http://www.tela-botanica.org/schemas/coel/1.00/element"
schemaLocation="http://www.tela-botanica.net/doc/coel/xsd/coel_element.xsd"/>
 
<!-- ============================================================== -->
<!-- Elements -->
<!-- ============================================================== -->
<xs:element name="Id" type="xs:string" substitutionGroup="coele:coelElement" nillable="false" />
 
<xs:element name="CeTable" type="xs:double" substitutionGroup="coele:coelElement" nillable="false" />
 
<xs:element name="CleLigne" type="xs:string" substitutionGroup="coele:coelElement" nillable="false" />
<xs:element name="Enregistrement" type="xs:string" substitutionGroup="coele:coelElement" nillable="false" />
<xs:element name="DateModification" type="xs:dateTime" substitutionGroup="coele:coelElement" nillable="false" />
<xs:element name="CeEtat" type="xs:double" substitutionGroup="coele:coelElement" nillable="false" />
 
</xs:schema>