~ubuntu-branches/ubuntu/saucy/keystone/saucy-proposed

« back to all changes in this revision

Viewing changes to keystone/content/service/xsd/atom/atom.xsd

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-08-23 10:18:22 UTC
  • Revision ID: james.westby@ubuntu.com-20110823101822-enve6zceb3lqhuvj
Tags: upstream-1.0~d4~20110823.1078
ImportĀ upstreamĀ versionĀ 1.0~d4~20110823.1078

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
 
 
3
<xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified"
 
4
           targetNamespace="http://www.w3.org/2005/Atom"
 
5
           xmlns:html="http://www.w3.org/1999/xhtml"
 
6
           xmlns:atom="http://www.w3.org/2005/Atom"
 
7
           xmlns:xml="http://www.w3.org/XML/1998/namespace"
 
8
           xmlns:xs="http://www.w3.org/2001/XMLSchema">
 
9
 
 
10
    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
 
11
 
 
12
    <xs:simpleType name="relation">
 
13
        <xs:restriction base="xs:string">
 
14
            <xs:enumeration value="alternate" />
 
15
            <xs:enumeration value="appendix" />
 
16
            <xs:enumeration value="archives" />
 
17
            <xs:enumeration value="author" />
 
18
            <xs:enumeration value="bookmark" />
 
19
            <xs:enumeration value="chapter" />
 
20
            <xs:enumeration value="contents" />
 
21
            <xs:enumeration value="copyright" />
 
22
            <xs:enumeration value="current" />
 
23
            <xs:enumeration value="describedby" />
 
24
            <xs:enumeration value="edit" />
 
25
            <xs:enumeration value="edit-media" />
 
26
            <xs:enumeration value="first" />
 
27
            <xs:enumeration value="glossary" />
 
28
            <xs:enumeration value="help" />
 
29
            <xs:enumeration value="hub" />
 
30
            <xs:enumeration value="icon" />
 
31
            <xs:enumeration value="index" />
 
32
            <xs:enumeration value="last" />
 
33
            <xs:enumeration value="latest-version" />
 
34
            <xs:enumeration value="license" />
 
35
            <xs:enumeration value="monitor" />
 
36
            <xs:enumeration value="monitor-group" />
 
37
            <xs:enumeration value="next" />
 
38
            <xs:enumeration value="next-arvhice" />
 
39
            <xs:enumeration value="nofollow" />
 
40
            <xs:enumeration value="payment" />
 
41
            <xs:enumeration value="predecessor-version" />
 
42
            <xs:enumeration value="prefetch" />
 
43
            <xs:enumeration value="prev" />
 
44
            <xs:enumeration value="previous" />
 
45
            <xs:enumeration value="prev-archive" />
 
46
            <xs:enumeration value="replies" />
 
47
            <xs:enumeration value="search" />
 
48
            <xs:enumeration value="section" />
 
49
            <xs:enumeration value="self" />
 
50
            <xs:enumeration value="service" />
 
51
            <xs:enumeration value="start" />
 
52
            <xs:enumeration value="stylesheet" />
 
53
            <xs:enumeration value="subsection" />
 
54
            <xs:enumeration value="successor-version" />
 
55
            <xs:enumeration value="up" />
 
56
            <xs:enumeration value="version-history" />
 
57
            <xs:enumeration value="via" />
 
58
            <xs:enumeration value="working-copy" />
 
59
            <xs:enumeration value="working-copy-of" />
 
60
        </xs:restriction>
 
61
    </xs:simpleType>
 
62
 
 
63
    <xs:element name="link" type="atom:link" />
 
64
 
 
65
    <xs:complexType name="link">
 
66
        <xs:annotation>
 
67
            <xs:documentation>
 
68
                <html:p>See section 3.4 of the ATOM RFC <html:a href="http://tools.ietf.org/html/rfc4287">RFC4287</html:a></html:p>
 
69
            </xs:documentation>
 
70
        </xs:annotation>
 
71
 
 
72
        <xs:attribute name="rel" use="required" type="atom:relation">
 
73
            <xs:annotation>
 
74
                <xs:documentation>
 
75
                    <html:p>TODO(Jorge)</html:p>
 
76
                </xs:documentation>
 
77
            </xs:annotation>
 
78
        </xs:attribute>
 
79
 
 
80
        <xs:attribute name="type" use="optional" type="xs:string">
 
81
            <xs:annotation>
 
82
                <xs:documentation>
 
83
                    <html:p>TODO(Jorge)</html:p>
 
84
                </xs:documentation>
 
85
            </xs:annotation>
 
86
        </xs:attribute>
 
87
        
 
88
        <xs:attribute name="href" use="required" type="xs:anyURI">
 
89
            <xs:annotation>
 
90
                <xs:documentation>
 
91
                    <html:p>TODO(Jorge)</html:p>
 
92
                </xs:documentation>
 
93
            </xs:annotation>
 
94
        </xs:attribute>
 
95
 
 
96
        <xs:attribute name="hreflang" use="optional" type="xs:NMTOKEN">
 
97
            <xs:annotation>
 
98
                <xs:documentation>
 
99
                    <html:p>TODO(Jorge)</html:p>
 
100
                </xs:documentation>
 
101
            </xs:annotation>
 
102
        </xs:attribute>
 
103
 
 
104
        <xs:attribute name="title" use="optional" type="xs:string">
 
105
            <xs:annotation>
 
106
                <xs:documentation>
 
107
                    <html:p>TODO(Jorge)</html:p>
 
108
                </xs:documentation>
 
109
            </xs:annotation>
 
110
        </xs:attribute>
 
111
 
 
112
        <xs:attribute ref="xml:base" />
 
113
        <xs:attribute ref="xml:lang" />
 
114
    </xs:complexType>
 
115
</xs:schema>