Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 236 lines (205 sloc) 9.614 kb
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
e578bad6 »
2009-08-13 [2.0] Fixed several referential integrity issues. Fixed critical issu…
4 targetNamespace="http://doctrine-project.org/schemas/orm/doctrine-mapping"
5 xmlns:orm="http://doctrine-project.org/schemas/orm/doctrine-mapping"
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
6 elementFormDefault="qualified">
7
7c5c62f7 »
2009-08-27 [2.0] testing post-commit hook
8 <xs:annotation>
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
9 <xs:documentation><![CDATA[
10 This is the XML Schema for the object/relational
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
11 mapping file used by the Doctrine ORM.
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
12 ]]></xs:documentation>
13 </xs:annotation>
14
15 <xs:element name="doctrine-mapping">
16 <xs:complexType>
17 <xs:sequence>
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
18 <xs:element name="mapped-superclass" type="orm:mapped-superclass" minOccurs="0" maxOccurs="unbounded" />
19 <xs:element name="entity" type="orm:entity" minOccurs="0" maxOccurs="unbounded" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
20 </xs:sequence>
21 </xs:complexType>
22 </xs:element>
23
24 <xs:complexType name="emptyType"/>
25
26 <xs:complexType name="cascade-type">
27 <xs:sequence>
28 <xs:element name="cascade-all" type="orm:emptyType" minOccurs="0"/>
28ca2acb »
2009-07-25 [2.0] Refined implementation and semantics of the merge and detach op…
29 <xs:element name="cascade-persist" type="orm:emptyType" minOccurs="0"/>
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
30 <xs:element name="cascade-merge" type="orm:emptyType" minOccurs="0"/>
28ca2acb »
2009-07-25 [2.0] Refined implementation and semantics of the merge and detach op…
31 <xs:element name="cascade-remove" type="orm:emptyType" minOccurs="0"/>
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
32 <xs:element name="cascade-refresh" type="orm:emptyType" minOccurs="0"/>
33 </xs:sequence>
34 </xs:complexType>
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
35
8523648a »
2009-08-25 [2.0] Fixed lifecycle callback mapping.
36 <xs:simpleType name="lifecycle-callback-type">
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
37 <xs:restriction base="xs:token">
38 <xs:enumeration value="prePersist"/>
39 <xs:enumeration value="postPersist"/>
40 <xs:enumeration value="preUpdate"/>
41 <xs:enumeration value="postUpdate"/>
42 <xs:enumeration value="preRemove"/>
43 <xs:enumeration value="postRemove"/>
44 <xs:enumeration value="postLoad"/>
45 </xs:restriction>
46 </xs:simpleType>
47
8523648a »
2009-08-25 [2.0] Fixed lifecycle callback mapping.
48 <xs:complexType name="lifecycle-callback">
49 <xs:attribute name="type" type="orm:lifecycle-callback-type" use="required" />
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
50 <xs:attribute name="method" type="xs:NMTOKEN" use="required" />
51 </xs:complexType>
52
8523648a »
2009-08-25 [2.0] Fixed lifecycle callback mapping.
53 <xs:complexType name="lifecycle-callbacks">
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
54 <xs:sequence>
8523648a »
2009-08-25 [2.0] Fixed lifecycle callback mapping.
55 <xs:element name="lifecycle-callback" type="orm:lifecycle-callback" minOccurs="1" maxOccurs="unbounded" />
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
56 </xs:sequence>
57 </xs:complexType>
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
58
59 <xs:complexType name="entity">
60 <xs:sequence>
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
61 <xs:element name="indexes" type="orm:indexes" minOccurs="0"/>
62 <xs:element name="unique-constraints" type="orm:unique-constraints" minOccurs="0"/>
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
63 <xs:element name="discriminator-column" type="orm:discriminator-column" minOccurs="0"/>
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
64 <xs:element name="discriminator-map" type="orm:discriminator-map" minOccurs="0"/>
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
65 <xs:element name="lifecycle-callbacks" type="orm:lifecycle-callbacks" minOccurs="0" maxOccurs="1" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
66 <xs:element name="id" type="orm:id" />
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
67 <xs:element name="field" type="orm:field" minOccurs="0" maxOccurs="unbounded"/>
68 <xs:element name="one-to-one" type="orm:one-to-one" minOccurs="0" maxOccurs="unbounded"/>
69 <xs:element name="one-to-many" type="orm:one-to-many" minOccurs="0" maxOccurs="unbounded" />
70 <xs:element name="many-to-many" type="orm:many-to-many" minOccurs="0" maxOccurs="unbounded" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
71 </xs:sequence>
72 <xs:attribute name="name" type="xs:string" use="required" />
73 <xs:attribute name="table" type="xs:NMTOKEN" />
74 <xs:attribute name="schema" type="xs:NMTOKEN" />
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
75 <xs:attribute name="repository-class" type="xs:NMTOKEN"/>
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
76 <xs:attribute name="inheritance-type" type="orm:inheritance-type"/>
77 </xs:complexType>
78
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
79 <xs:complexType name="mapped-superclass" >
80 <xs:complexContent>
81 <xs:extension base="orm:entity"/>
82 </xs:complexContent>
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
83 </xs:complexType>
84
85 <xs:simpleType name="inheritance-type">
6e5a5068 »
2009-06-07 [2.0] Converted constant values from strings to integers.
86 <xs:restriction base="xs:token">
87 <xs:enumeration value="SINGLE_TABLE"/>
88 <xs:enumeration value="JOINED"/>
89 <xs:enumeration value="TABLE_PER_CLASS"/>
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
90 </xs:restriction>
91 </xs:simpleType>
6e5a5068 »
2009-06-07 [2.0] Converted constant values from strings to integers.
92
93 <xs:simpleType name="generator-strategy">
94 <xs:restriction base="xs:token">
95 <xs:enumeration value="TABLE"/>
96 <xs:enumeration value="SEQUENCE"/>
97 <xs:enumeration value="IDENTITY"/>
98 <xs:enumeration value="AUTO"/>
99 </xs:restriction>
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
100 </xs:simpleType>
101
102 <xs:simpleType name="fk-action">
103 <xs:restriction base="xs:token">
104 <xs:enumeration value="CASCADE"/>
105 <xs:enumeration value="RESTRICT"/>
106 <xs:enumeration value="SET_NULL"/>
107 </xs:restriction>
6e5a5068 »
2009-06-07 [2.0] Converted constant values from strings to integers.
108 </xs:simpleType>
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
109
110 <xs:complexType name="field">
111 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
112 <xs:attribute name="type" type="xs:NMTOKEN" use="required" />
113 <xs:attribute name="column" type="xs:NMTOKEN" />
114 <xs:attribute name="length" type="xs:NMTOKEN" />
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
115 <xs:attribute name="unique" type="xs:boolean" default="false" />
116 <xs:attribute name="nullable" type="xs:boolean" default="false" />
117 <xs:attribute name="version" type="xs:boolean" />
118 </xs:complexType>
119
120 <xs:complexType name="discriminator-column">
121 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
122 <xs:attribute name="type" type="xs:NMTOKEN" use="required" />
123 <xs:attribute name="field-name" type="xs:NMTOKEN" />
124 <xs:attribute name="length" type="xs:NMTOKEN" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
125 </xs:complexType>
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
126
127 <xs:complexType name="unique-constraint">
128 <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
129 <xs:attribute name="columns" type="xs:NMTOKENS" use="required"/>
130 </xs:complexType>
131
132 <xs:complexType name="unique-constraints">
133 <xs:sequence>
134 <xs:element name="unique-constraint" type="orm:unique-constraint" minOccurs="1" maxOccurs="unbounded"/>
135 </xs:sequence>
136 </xs:complexType>
137
138 <xs:complexType name="index">
139 <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
140 <xs:attribute name="columns" type="xs:NMTOKENS" use="required"/>
141 </xs:complexType>
142
143 <xs:complexType name="indexes">
144 <xs:sequence>
145 <xs:element name="index" type="orm:index" minOccurs="1" maxOccurs="unbounded"/>
146 </xs:sequence>
147 </xs:complexType>
148
149 <xs:complexType name="discriminator-mapping">
150 <xs:attribute name="value" type="xs:NMTOKEN" use="required"/>
151 <xs:attribute name="class" type="xs:NMTOKEN" use="required"/>
152 </xs:complexType>
153
154 <xs:complexType name="discriminator-map">
155 <xs:sequence>
156 <xs:element name="discriminator-mapping" type="orm:discriminator-mapping" minOccurs="1" maxOccurs="unbounded"/>
157 </xs:sequence>
158 </xs:complexType>
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
159
160 <xs:complexType name="generator">
6e5a5068 »
2009-06-07 [2.0] Converted constant values from strings to integers.
161 <xs:attribute name="strategy" type="orm:generator-strategy" use="required" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
162 </xs:complexType>
163
164 <xs:complexType name="id">
165 <xs:sequence>
166 <xs:element name="generator" type="orm:generator" minOccurs="0" />
167 </xs:sequence>
168 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
169 <xs:attribute name="type" type="xs:NMTOKEN" use="required" />
170 <xs:attribute name="column" type="xs:NMTOKEN" />
171 </xs:complexType>
172
173 <xs:complexType name="inverse-join-columns">
174 <xs:sequence>
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
175 <xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
176 </xs:sequence>
177 </xs:complexType>
178
179 <xs:complexType name="join-column">
180 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
181 <xs:attribute name="referenced-column-name" type="xs:NMTOKEN" use="required" />
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
182 <xs:attribute name="unique" type="xs:boolean" default="false" />
183 <xs:attribute name="nullable" type="xs:boolean" default="true" />
184 <xs:attribute name="on-delete" type="orm:fk-action" />
185 <xs:attribute name="on-update" type="orm:fk-action" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
186 </xs:complexType>
187
188 <xs:complexType name="join-columns">
189 <xs:sequence>
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
190 <xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
191 </xs:sequence>
192 </xs:complexType>
193
194 <xs:complexType name="join-table">
195 <xs:sequence>
196 <xs:element name="join-columns" type="orm:join-columns" />
197 <xs:element name="inverse-join-columns" type="orm:join-columns" />
198 </xs:sequence>
199 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
200 <xs:attribute name="schema" type="xs:NMTOKEN" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
201 </xs:complexType>
202
203 <xs:complexType name="many-to-many">
204 <xs:sequence>
205 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
206 <xs:element name="join-table" type="orm:join-table" />
207 </xs:sequence>
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
208 <xs:attribute name="target-entity" type="xs:NMTOKEN" use="required" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
209 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
210 </xs:complexType>
211
212 <xs:complexType name="one-to-many">
213 <xs:sequence>
214 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
215 </xs:sequence>
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
216 <xs:attribute name="target-entity" type="xs:NMTOKEN" use="required" />
217 <xs:attribute name="mapped-by" type="xs:NMTOKEN" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
218 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
219 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
220 </xs:complexType>
221
222 <xs:complexType name="one-to-one">
223 <xs:sequence>
224 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
225 <xs:choice minOccurs="0" maxOccurs="1">
226 <xs:element name="join-column" type="orm:join-column"/>
227 <xs:element name="join-columns" type="orm:join-columns"/>
228 </xs:choice>
229 </xs:sequence>
b1d34fca »
2009-08-21 [2.0] Work on SchemaTool and DBAL.
230 <xs:attribute name="target-entity" type="xs:NMTOKEN" use="required" />
231 <xs:attribute name="mapped-by" type="xs:NMTOKEN" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
232 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
e161103e »
2009-08-14 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
233 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
d90e71d0 »
2009-06-01 [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
234 </xs:complexType>
235
236 </xs:schema>
Something went wrong with that request. Please try again.