Changeset 5157 in josm


Ignore:
Timestamp:
2012-04-01T20:00:15+02:00 (12 years ago)
Author:
simon04
Message:

see #5933 - update preset schema according to changes in r5155

File:
1 edited

Legend:

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

    r4431 r5157  
    8888                <attribute name="key" type="string" use="required" />
    8989                <attribute name="value" type="string" />
     90                <attribute name="match" type="string" />
    9091        </complexType>
    9192
     
    115116                <attribute name="text_context" type="string" />
    116117                <attribute name="default" type="string" />
    117                 <attribute name="delete_if_empty" type="boolean" />
    118118                <attribute name="use_last_as_default" type="tns:last_default" />
    119                 <attribute name="required" type="boolean" />
     119                <attribute name="match" type="tns:match" />
    120120
    121121                <attribute name="type" use="prohibited" />
     
    140140                <attribute name="use_last_as_default" type="tns:last_default" />
    141141                <attribute name="editable" type="boolean" />
    142                 <attribute name="delete_if_empty" type="boolean" />
    143                 <attribute name="required" type="boolean" />
     142                <attribute name="match" type="tns:match" />
    144143
    145144                <attribute name="type" use="prohibited" />
     
    161160                <attribute name="use_last_as_default" type="tns:last_default" />
    162161                <attribute name="delimiter" type="string" />
    163                 <attribute name="delete_if_empty" type="boolean" />
    164                 <attribute name="required" type="boolean" />
     162                <attribute name="match" type="tns:match" />
    165163
    166164                <attribute name="type" use="prohibited" />
     
    177175                <attribute name="text_context" type="string" />
    178176                <attribute name="default" type="tns:check_default" />
    179                 <attribute name="required" type="boolean" />
    180177                <attribute name="value_on" type="string" />
    181178                <attribute name="value_off" type="string" />
     179                <attribute name="match" type="tns:match" />
    182180
    183181                <attribute name="name" use="prohibited" />
     
    199197                        <enumeration value="false" />
    200198                        <enumeration value="force" />
     199                </restriction>
     200        </simpleType>
     201
     202        <simpleType name="match">
     203                <restriction base="string">
     204                        <enumeration value="none" />
     205                        <enumeration value="key" />
     206                        <enumeration value="key!" />
     207                        <enumeration value="keyvalue" />
    201208                </restriction>
    202209        </simpleType>
Note: See TracChangeset for help on using the changeset viewer.