Changeset 7991 in josm


Ignore:
Timestamp:
2015-01-29T17:04:02+01:00 (10 years ago)
Author:
stoecker
Message:

add language parameter to description

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/maps.xsd

    r7990 r7991  
    5454                        <xs:extension base="xs:string">
    5555                                <xs:attribute name="mandatory" type="xs:boolean" use="optional" />
     56                        </xs:extension>
     57                </xs:simpleContent>
     58        </xs:complexType>
     59
     60        <xs:complexType name="description">
     61                <xs:simpleContent>
     62                        <xs:extension base="xs:string">
     63                                <xs:attribute name="lang" type="xs:string" use="required" />
    5664                        </xs:extension>
    5765                </xs:simpleContent>
     
    600608                                                <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string" />
    601609                                                <!-- A description of the imagery source -->
    602                                                 <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string" />
     610                                                <xs:element name="description" minOccurs="0" type="tns:description" />
    603611                                                <!-- A unique id for the imagery source -->
    604612                                                <xs:element name="id" minOccurs="0" maxOccurs="1" type="tns:id" />
Note: See TracChangeset for help on using the changeset viewer.