Changeset 7504 in josm for trunk/data


Ignore:
Timestamp:
2014-09-05T15:41:11+02:00 (10 years ago)
Author:
Don-vip
Message:

fix identation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/tagging-preset.xsd

    r7503 r7504  
    8686        </complexType>
    8787
    88     <complexType name="chunk">
    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>
    104         <attribute name="id" type="ID" use="required" />
    105     </complexType>
    106 
    107     <complexType name="reference">
    108         <attribute name="ref" type="IDREF" use="required" />
    109     </complexType>
    110 
    111     <group name="optional_elements">
     88        <complexType name="chunk">
     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>
     104                <attribute name="id" type="ID" use="required" />
     105        </complexType>
     106
     107        <complexType name="reference">
     108                <attribute name="ref" type="IDREF" use="required" />
     109        </complexType>
     110
     111        <group name="optional_elements">
    112112                <choice>
    113113                        <element name="label" type="tns:label" />
     
    125125        </group>
    126126
    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>
     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>
    133133
    134134        <complexType name="key">
     
    193193                <!-- use either list_entry's or a combination of values/display_values -->
    194194                <sequence>
    195             <group ref="tns:list_elements" minOccurs="0" maxOccurs="unbounded" />
     195                        <group ref="tns:list_elements" minOccurs="0" maxOccurs="unbounded" />
    196196                </sequence>
    197197                <attribute name="key" type="string" use="required" />
     
    221221                <!-- use either list_entry's or a combination of values/display_values -->
    222222                <sequence>
    223             <group ref="tns:list_elements" minOccurs="0" maxOccurs="unbounded" />
     223                        <group ref="tns:list_elements" minOccurs="0" maxOccurs="unbounded" />
    224224                </sequence>
    225225                <attribute name="key" type="string" use="required" />
     
    230230                <attribute name="values_context" type="string" />
    231231                <attribute name="display_values" type="string" />
    232         <attribute name="values_searchable" type="boolean" />
     232                <attribute name="values_searchable" type="boolean" />
    233233                <attribute name="default" type="string" />
    234234                <attribute name="use_last_as_default" type="tns:last_default" />
     
    261261                <attribute name="value_on" type="string" />
    262262                <attribute name="value_off" type="string" />
    263         <attribute name="disable_off" type="boolean" />
     263                <attribute name="disable_off" type="boolean" />
    264264                <attribute name="match" type="tns:match" />
    265265
Note: See TracChangeset for help on using the changeset viewer.