summaryrefslogtreecommitdiff
path: root/schemas/incidence.xsd
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-10-23 11:09:09 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-10-23 11:09:09 (GMT)
commitc326eec23c0eb6bac81f03b2944382ea02ddff4a (patch)
tree691d1a79e7ba3d3d32817f788559bf949809c35d /schemas/incidence.xsd
parentbcabb0822aa6b8ebf9f388b3cd53f84d30c0c769 (diff)
downloadlibkolabxml-c326eec23c0eb6bac81f03b2944382ea02ddff4a.tar.gz
Resolve mixed spaces and tabs for indentation. 4 spaces to a tab
Diffstat (limited to 'schemas/incidence.xsd')
-rw-r--r--schemas/incidence.xsd268
1 files changed, 134 insertions, 134 deletions
diff --git a/schemas/incidence.xsd b/schemas/incidence.xsd
index caca888..904f4ad 100644
--- a/schemas/incidence.xsd
+++ b/schemas/incidence.xsd
@@ -1,148 +1,148 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://kolab.org"
- xmlns="http://kolab.org"
- elementFormDefault="qualified">
+ targetNamespace="http://kolab.org"
+ xmlns="http://kolab.org"
+ elementFormDefault="qualified">
- <xs:include schemaLocation="base.xsd" />
+ <xs:include schemaLocation="base.xsd" />
- <xs:complexType name="Incidence">
- <xs:complexContent>
- <xs:extension base="XMLBase">
- <xs:sequence>
- <xs:element name="summary" type="xs:string" />
- <xs:element name="location" type="xs:string" />
- <xs:element name="creator" type="SMTPContact">
+ <xs:complexType name="Incidence">
+ <xs:complexContent>
+ <xs:extension base="XMLBase">
+ <xs:sequence>
+ <xs:element name="summary" type="xs:string" />
+ <xs:element name="location" type="xs:string" />
+ <xs:element name="creator" type="SMTPContact">
- </xs:element>
- <xs:element name="organizer" type="SMTPContact"></xs:element>
- <xs:element name="alarm" type="xs:string"></xs:element>
- <xs:element name="recurrence">
- <xs:complexType>
- <xs:sequence>
- <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"></xs:any>
- </xs:sequence>
- <xs:attribute name="cycle" type="xs:string">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="attendee">
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="SMTPContact">
- <xs:sequence>
- <xs:element name="status" type="xs:string">
- </xs:element>
- <xs:element name="request-response" type="xs:string">
- </xs:element>
- <xs:element name="role" type="xs:string">
- </xs:element>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
+ </xs:element>
+ <xs:element name="organizer" type="SMTPContact"></xs:element>
+ <xs:element name="alarm" type="xs:string"></xs:element>
+ <xs:element name="recurrence">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"></xs:any>
+ </xs:sequence>
+ <xs:attribute name="cycle" type="xs:string">
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="attendee">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="SMTPContact">
+ <xs:sequence>
+ <xs:element name="status" type="xs:string">
+ </xs:element>
+ <xs:element name="request-response" type="xs:string">
+ </xs:element>
+ <xs:element name="role" type="xs:string">
+ </xs:element>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
- <xs:simpleType name="NewSimpleType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="daily"></xs:enumeration>
- <xs:enumeration value="weekly"></xs:enumeration>
- <xs:enumeration value="monthly"></xs:enumeration>
- <xs:enumeration value="yearly"></xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
+ <xs:simpleType name="NewSimpleType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="daily"></xs:enumeration>
+ <xs:enumeration value="weekly"></xs:enumeration>
+ <xs:enumeration value="monthly"></xs:enumeration>
+ <xs:enumeration value="yearly"></xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
- <xs:complexType name="Recurrence" abstract="true">
- <xs:sequence>
- <xs:element name="interval" type="xs:string">
- </xs:element>
- <xs:element name="rangetype">
- <xs:complexType>
- <xs:attribute name="type" type="xs:string">
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="exclusion" type="xs:string" maxOccurs="unbounded"
- minOccurs="0">
- </xs:element>
- </xs:sequence>
- </xs:complexType>
+ <xs:complexType name="Recurrence" abstract="true">
+ <xs:sequence>
+ <xs:element name="interval" type="xs:string">
+ </xs:element>
+ <xs:element name="rangetype">
+ <xs:complexType>
+ <xs:attribute name="type" type="xs:string">
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="exclusion" type="xs:string" maxOccurs="unbounded"
+ minOccurs="0">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
- <xs:complexType name="DailyRecurrence">
- <xs:complexContent>
- <xs:extension base="Recurrence">
- <xs:attribute name="cycle" type="xs:string" fixed="daily"
- use="required">
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
+ <xs:complexType name="DailyRecurrence">
+ <xs:complexContent>
+ <xs:extension base="Recurrence">
+ <xs:attribute name="cycle" type="xs:string" fixed="daily"
+ use="required">
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
- <xs:complexType name="WeeklyRecurrence">
- <xs:complexContent>
- <xs:extension base="Recurrence">
- <xs:attribute name="cycle" type="xs:string" fixed="weekly"
- use="required">
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
+ <xs:complexType name="WeeklyRecurrence">
+ <xs:complexContent>
+ <xs:extension base="Recurrence">
+ <xs:attribute name="cycle" type="xs:string" fixed="weekly"
+ use="required">
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
- <xs:complexType name="MonthlyRecurrence">
- <xs:complexContent>
- <xs:extension base="Recurrence">
- <xs:sequence>
- <xs:element name="interval" type="xs:string">
- </xs:element>
- <xs:element name="day" type="xs:string">
- </xs:element>
- <xs:element name="daynumber" type="xs:string">
- </xs:element>
- </xs:sequence>
- <xs:attribute name="cycle" type="xs:string" fixed="monthly"
- use="required">
- </xs:attribute>
- <xs:attribute name="type" type="xs:string" use="required">
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
+ <xs:complexType name="MonthlyRecurrence">
+ <xs:complexContent>
+ <xs:extension base="Recurrence">
+ <xs:sequence>
+ <xs:element name="interval" type="xs:string">
+ </xs:element>
+ <xs:element name="day" type="xs:string">
+ </xs:element>
+ <xs:element name="daynumber" type="xs:string">
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="cycle" type="xs:string" fixed="monthly"
+ use="required">
+ </xs:attribute>
+ <xs:attribute name="type" type="xs:string" use="required">
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
- <xs:complexType name="YearlyRecurrence">
- <xs:complexContent>
- <xs:extension base="Recurrence">
- <xs:sequence>
- <xs:element name="interval" type="xs:string">
- </xs:element>
- <xs:element name="day" type="xs:string">
- </xs:element>
- <xs:element name="daynumber" type="xs:string">
- </xs:element>
- <xs:element name="month" type="xs:string">
- </xs:element>
- </xs:sequence>
- <xs:attribute name="cycle" type="xs:string" fixed="yearly"
- use="required">
- </xs:attribute>
- <xs:attribute name="type" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="monthday">
- </xs:enumeration>
- <xs:enumeration value="yearday">
- </xs:enumeration>
- <xs:enumeration value="weekday">
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
+ <xs:complexType name="YearlyRecurrence">
+ <xs:complexContent>
+ <xs:extension base="Recurrence">
+ <xs:sequence>
+ <xs:element name="interval" type="xs:string">
+ </xs:element>
+ <xs:element name="day" type="xs:string">
+ </xs:element>
+ <xs:element name="daynumber" type="xs:string">
+ </xs:element>
+ <xs:element name="month" type="xs:string">
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="cycle" type="xs:string" fixed="yearly"
+ use="required">
+ </xs:attribute>
+ <xs:attribute name="type" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="monthday">
+ </xs:enumeration>
+ <xs:enumeration value="yearday">
+ </xs:enumeration>
+ <xs:enumeration value="weekday">
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
</xs:schema> \ No newline at end of file