diff options
author | bossiel <bossiel@yahoo.fr> | 2011-08-10 22:59:15 +0000 |
---|---|---|
committer | bossiel <bossiel@yahoo.fr> | 2011-08-10 22:59:15 +0000 |
commit | 1ebf5a5fcda0c9154e22ed02404fd46525a7fd9f (patch) | |
tree | 4b6214a7142ab1035cb0e47444e88af38e712421 /schemas/common-schema.xsd | |
download | doubango-1.0.zip doubango-1.0.tar.gz |
Move deprecated v1.0 from trunk to branches1.0
Diffstat (limited to 'schemas/common-schema.xsd')
-rw-r--r-- | schemas/common-schema.xsd | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/schemas/common-schema.xsd b/schemas/common-schema.xsd new file mode 100644 index 0000000..f12b4b2 --- /dev/null +++ b/schemas/common-schema.xsd @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?>
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace"
+ schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+ <xs:simpleType name="Timestamp_t">
+ <xs:annotation>
+ <xs:documentation>Timestamp type</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:dateTime"/>
+ </xs:simpleType>
+ <xs:simpleType name="deviceID_t">
+ <xs:annotation>
+ <xs:documentation>Device ID, a URN</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:anyURI"/>
+ </xs:simpleType>
+ <xs:complexType name="Note_t">
+ <xs:annotation>
+ <xs:documentation>Note type</xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute ref="xml:lang"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:attributeGroup name="fromUntil">
+ <xs:attribute name="from" type="xs:dateTime"/>
+ <xs:attribute name="until" type="xs:dateTime"/>
+ </xs:attributeGroup>
+ <xs:complexType name="empty"/>
+ </xs:schema>
|