Changeset 7503 in josm for trunk/data
- Timestamp:
- 2014-09-05T15:39:03+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/tagging-preset.xsd
r7171 r7503 87 87 88 88 <complexType name="chunk"> 89 <sequence> 90 <choice minOccurs="1" maxOccurs="unbounded"> 91 <group ref="tns:optional_elements" /> 92 <element name="key" type="tns:key" /> 93 <element name="optional" type="tns:optional" minOccurs="0" /> 94 </choice> 95 </sequence> 89 <choice minOccurs="1" maxOccurs="1"> 90 <sequence> 91 <choice minOccurs="1" maxOccurs="unbounded"> 92 <group ref="tns:optional_elements" /> 93 <element name="key" type="tns:key" /> 94 <element name="optional" type="tns:optional" minOccurs="0" /> 95 </choice> 96 </sequence> 97 <sequence> 98 <!-- Cannot use tns:list_elements here because reference is present both in optional_elements and list_elements 99 so it violates cos-nonambig: Unique Particle Attribution : 100 <group ref="tns:list_elements" minOccurs="1" maxOccurs="unbounded" />--> 101 <element name="list_entry" type="tns:list_entry" minOccurs="1" maxOccurs="unbounded" /> 102 </sequence> 103 </choice> 96 104 <attribute name="id" type="ID" use="required" /> 97 105 </complexType> … … 117 125 </group> 118 126 127 <group name="list_elements"> 128 <choice> 129 <element name="list_entry" type="tns:list_entry" /> 130 <element name="reference" type="tns:reference" /> 131 </choice> 132 </group> 133 119 134 <complexType name="key"> 120 135 <attribute name="key" type="string" use="required" /> … … 122 137 <attribute name="match" type="string" /> 123 138 </complexType> 124 125 139 126 140 <complexType name="link"> … … 179 193 <!-- use either list_entry's or a combination of values/display_values --> 180 194 <sequence> 181 <element name="list_entry" type="tns:list_entry" minOccurs="0" maxOccurs="unbounded" />195 <group ref="tns:list_elements" minOccurs="0" maxOccurs="unbounded" /> 182 196 </sequence> 183 197 <attribute name="key" type="string" use="required" /> … … 207 221 <!-- use either list_entry's or a combination of values/display_values --> 208 222 <sequence> 209 <element name="list_entry" type="tns:list_entry" minOccurs="0" maxOccurs="unbounded" />223 <group ref="tns:list_elements" minOccurs="0" maxOccurs="unbounded" /> 210 224 </sequence> 211 225 <attribute name="key" type="string" use="required" />
Note:
See TracChangeset
for help on using the changeset viewer.