TapioOfTapiola / oam_theme_tapiola

Locus theme for OAM v4+, based on Settler theme
3 stars 0 forks source link

Tapiola.xml is not a valid XML file #6

Closed tumic0 closed 10 months ago

tumic0 commented 10 months ago

The Tapiola.xml file is not a valid XML file and fails to load in applications like GPXSee that require the styles to be valid XML files.

XML validity check output:

[tumic@tumic oam_theme_tapiola]$ xmllint Tapiola.xml 
Tapiola.xml:1568: parser error : Attribute cat redefined
="way" cat="c_highway" k="highway" v="motorway_link" zoom-min="11" cat="c_roads"
                                                                               ^
Tapiola.xml:2601: parser error : Attribute cat redefined
        <rule e="node" cat="c_railway" k="railway" v="*" zoom-min="12" cat="pub_transp"
                                                                                      ^
Tapiola.xml:3280: parser error : Attribute priority redefined
priority="415" text-transform="capitalize" text-wrap-width="120" priority="500" 
                                                                               ^
Tapiola.xml:3284: parser error : Attribute priority redefined
priority="415" text-transform="capitalize" text-wrap-width="120" priority="500" 
                                                                               ^
Tapiola.xml:3569: parser error : Attribute cat redefined
any" cat="pub_transp" k="amenity" v="bus_station" zoom-min="12" cat="pub_transp"
                                                                               ^
Tapiola.xml:3837: parser error : Attribute cat redefined
="node" cat="pub_transp" k="highway" v="bus_stop" zoom-min="14" cat="pub_transp"
TapioOfTapiola commented 10 months ago

Hi, missed the notification for your report, oh yes, there's doubled attributes, thank you, will fix.

TapioOfTapiola commented 10 months ago

Fixed in latest release, please check.

tumic0 commented 10 months ago

Tapiola 1.3.9 works fine.