Legend:
- Unmodified
- Added
- Removed
-
trunk/data/maps.xsd
r13733 r13757 117 117 <xs:attribute name="name" type="xs:string" use="optional" /> 118 118 <xs:attribute name="style" type="xs:string" use="optional" /> 119 <xs:attribute name="tile MatrixSet" type="xs:string" use="optional" />119 <xs:attribute name="tile-matrix-set" type="xs:string" use="optional" /> 120 120 </xs:complexType> 121 121 </xs:element> … … 725 725 <!-- old unused feature, ignored --> 726 726 <xs:element name="epsg4326to3857Supported" minOccurs="0" maxOccurs="1" type="xs:boolean" /> 727 <xs:element name="default Layers" type="tns:defaultLayers" minOccurs="0" maxOccurs="1" />727 <xs:element name="default-layers" type="tns:defaultLayers" minOccurs="0" maxOccurs="1" /> 728 728 <xs:element name="custom-http-header" minOccurs="0" maxOccurs="unbounded"> 729 729 <xs:complexType> -
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r13743 r13757 258 258 metadataHeaders.put(atts.getValue("header-name"), atts.getValue("metadata-key")); 259 259 newState = State.METADATA; 260 } else if ("default Layers".equals(qName)) {260 } else if ("default-layers".equals(qName)) { 261 261 newState = State.DEFAULT_LAYERS; 262 262 } else if ("custom-http-header".equals(qName)) { … … 294 294 atts.getValue("name"), 295 295 atts.getValue("style"), 296 atts.getValue("tile MatrixSet")296 atts.getValue("tile-matrix-set") 297 297 )); 298 298 } -
trunk/test/unit/org/openstreetmap/josm/data/imagery/WMSEndpointTileSourceTest.java
r13742 r13757 64 64 "<max-zoom>18</max-zoom>\n" + 65 65 "<valid-georeference>true</valid-georeference>\n" + 66 "<default Layers>" +66 "<default-layers>" + 67 67 "<layer name=\"single_node_in_way\" style=\"default\" />" + 68 "</default Layers>" +68 "</default-layers>" + 69 69 "</entry>\n" + 70 70 "</imagery>" -
trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java
r13742 r13757 370 370 "<type>wmts</type>\n" + 371 371 "<url><![CDATA[" + tileServer.url("/getcapabilities.xml") + "]]></url>\n" + 372 "<default Layers>" +372 "<default-layers>" + 373 373 "<layer name=\"GEOGRAPHICALGRIDSYSTEMS.MAPS\" />" + 374 "</default Layers>" +374 "</default-layers>" + 375 375 "</entry>\n" + 376 376 "</imagery>"
Note:
See TracChangeset
for help on using the changeset viewer.