Rev

Rev 549 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | Bug Tracker

Rev 549 Rev 618
Line 1... Line -...
1
-
 
-
 
1
<?xml version="1.0" encoding="UTF-8"?>
2
   <xs:schema targetNamespace="urn:ietf:params:xml:ns:pidf"
2
<xs:schema targetNamespace="urn:ietf:params:xml:ns:pidf"
3
        xmlns:tns="urn:ietf:params:xml:ns:pidf"
-
 
4
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
    xmlns:tns="urn:ietf:params:xml:ns:pidf" xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
        elementFormDefault="qualified"
-
 
6
        attributeFormDefault="unqualified">
4
    elementFormDefault="qualified" attributeFormDefault="unqualified">
7
<!--
-
 
8
         RFC 3863
5
    <!-- RFC 3863 -->
9
-->
-
 
10
6
11
7
12
     <!-- This import brings in the XML language attribute xml:lang-->
8
    <!-- This import brings in the XML language attribute xml:lang -->
13
     <xs:import namespace="http://www.w3.org/XML/1998/namespace"
9
    <xs:import namespace="http://www.w3.org/XML/1998/namespace"
14
       schemaLocation="xml.xsd"/>
10
        schemaLocation="xml.xsd" />
15
11
16
     <xs:element name="presence" type="tns:presence"/>
12
    <xs:element name="presence" type="tns:presence" />
17
13
18
     <xs:complexType name="presence">
14
    <xs:complexType name="presence">
19
       <xs:sequence>
15
        <xs:sequence>
20
         <xs:element name="tuple" type="tns:tuple" minOccurs="0"
16
            <xs:element name="tuple" type="tns:tuple"
21
            maxOccurs="unbounded"/>
17
                minOccurs="0" maxOccurs="unbounded" />
22
         <xs:element name="note" type="tns:note" minOccurs="0"
18
            <xs:element name="note" type="tns:note"
23
            maxOccurs="unbounded"/>
19
                minOccurs="0" maxOccurs="unbounded" />
24
         <xs:any namespace="##other" processContents="lax" minOccurs="0"
20
            <xs:any namespace="##other" processContents="lax"
25
            maxOccurs="unbounded"/>
21
                minOccurs="0" maxOccurs="unbounded" />
26
       </xs:sequence>
22
        </xs:sequence>
27
       <xs:attribute name="entity" type="xs:anyURI" use="required"/>
23
        <xs:attribute name="entity" type="xs:anyURI" use="required" />
28
     </xs:complexType>
24
    </xs:complexType>
29
25
30
     <xs:complexType name="tuple">
26
    <xs:complexType name="tuple">
31
       <xs:sequence>
27
        <xs:sequence>
32
         <xs:element name="status" type="tns:status"/>
28
            <xs:element name="status" type="tns:status" />
33
         <xs:any namespace="##other" processContents="lax" minOccurs="0"
29
            <xs:any namespace="##other" processContents="lax"
34
            maxOccurs="unbounded"/>
30
                minOccurs="0" maxOccurs="unbounded" />
35
         <xs:element name="contact" type="tns:contact" minOccurs="0"/>
31
            <xs:element name="contact" type="tns:contact"
-
 
32
                minOccurs="0" />
36
         <xs:element name="note" type="tns:note" minOccurs="0"
33
            <xs:element name="note" type="tns:note"
37
            maxOccurs="unbounded"/>
34
                minOccurs="0" maxOccurs="unbounded" />
38
         <xs:element name="timestamp" type="xs:dateTime" minOccurs="0"/>
35
            <xs:element name="timestamp" type="xs:dateTime"
-
 
36
                minOccurs="0" />
39
       </xs:sequence>
37
        </xs:sequence>
40
       <xs:attribute name="id" type="xs:ID" use="required"/>
38
        <xs:attribute name="id" type="xs:ID" use="required" />
41
     </xs:complexType>
39
    </xs:complexType>
42
40
43
     <xs:complexType name="status">
41
    <xs:complexType name="status">
44
       <xs:sequence>
42
        <xs:sequence>
45
         <xs:element name="basic" type="tns:basic" minOccurs="0"/>
43
            <xs:element name="basic" type="tns:basic"
-
 
44
                minOccurs="0" />
46
         <xs:any namespace="##other" processContents="lax" minOccurs="0"
45
            <xs:any namespace="##other" processContents="lax"
47
            maxOccurs="unbounded"/>
46
                minOccurs="0" maxOccurs="unbounded" />
48
       </xs:sequence>
47
        </xs:sequence>
49
     </xs:complexType>
48
    </xs:complexType>
50
     <xs:simpleType name="basic">
49
    <xs:simpleType name="basic">
51
       <xs:restriction base="xs:string">
50
        <xs:restriction base="xs:string">
52
         <xs:enumeration value="open"/>
51
            <xs:enumeration value="open" />
Line 76... Line 75...
76
         <xs:pattern value="1(.0{0,3})?"/>
75
            <xs:pattern value="1(.0{0,3})?" />
77
       </xs:restriction>
76
        </xs:restriction>
78
     </xs:simpleType>
77
    </xs:simpleType>
79
78
80
     <!-- Global Attributes -->
79
    <!-- Global Attributes -->
81
     <xs:attribute name="mustUnderstand" type="xs:boolean" default="0">
80
    <xs:attribute name="mustUnderstand" type="xs:boolean"
-
 
81
        default="0">
82
       <xs:annotation>
82
        <xs:annotation>
83
         <xs:documentation>
83
            <xs:documentation>
84
         This attribute may be used on any element within an optional
84
                This attribute may be used on any element within an optional
85
         PIDF extension to indicate that the corresponding element must
85
                PIDF extension to indicate that the corresponding element must
86
         be understood by the PIDF processor if the enclosing optional
86
                be understood by the PIDF processor if the enclosing optional