Changeset 7177 in josm for trunk/data


Ignore:
Timestamp:
2014-05-24T18:09:50+02:00 (10 years ago)
Author:
bastiK
Message:

see #9914 - add id to schema file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/maps.xsd

    r5618 r7177  
    1414                        <xs:minInclusive value="-180" />
    1515                        <xs:maxInclusive value="+180" />
     16                </xs:restriction>
     17        </xs:simpleType>
     18       
     19        <xs:simpleType name="id">
     20        <!-- exclude white space characters and characters that are not valid for file names in Windows -->
     21                <xs:restriction base="xs:string">
     22                        <xs:pattern value='[^\s/\\:*?"&lt;>|]+' />
    1623                </xs:restriction>
    1724        </xs:simpleType>
     
    592599                                                <!-- The name of the imagery source -->
    593600                                                <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string" />
     601                                                <!-- A unique id for the imagery source -->
     602                                                <xs:element name="id" minOccurs="0" maxOccurs="1" type="tns:id" />
    594603                                                <!-- The type. Can be tms, wms and html. In addition, there are the special types bing and scanex
    595604                                                        with hardcoded behaviour. -->
Note: See TracChangeset for help on using the changeset viewer.