Opened 10 years ago
Last modified 7 years ago
#9229 closed defect
Mistakes in the defaultpresets.xml — at Initial Version
Reported by: | DeeHants | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 13.11 |
Component: | Internal preset | Version: | latest |
Keywords: | preset | Cc: | stoecker |
Description
While creating my own preset file, I created an XSD schema for it, and noticed several mistakes in the defaultpresets.xml.
I've attached a patch based on 6326
Transport/Railway/Rail/voltage has the length attribute spelt incorrectly.
Facilities/Education/Driving School/license_classes should be a combo not a text as it has values.
Facilities/Facilities/Fire Hydrant/fire_hydrant:count shouldn't have a blank values tag as it's a text.
6326 also seems to have introduced a couple of oddities with regards to zh-hans.href and zh-hant.href on:
Highways/Barriers/Toll Booth
Highways/Barriers/Wall
Transport/Car/Fuel
Transport/Public Transport (legacy)/Bus Stop
Facilities/Accommodation/Alpine Hut
Facilities/Food+Drinks/Café
Facilities/Food+Drinks/Bar
Facilities/Culture/Place of Worship
Facilities/Facilities/Toilets
Facilities/Facilities/Bench
Geography/Geography/Peak
Geography/Land use/Cemetery
While these are all linked to localised pages on the wiki, they are also incorrect.
I'll also attach my current schema to another ticket
Patch to fix the mistakes/schema errors in defaultpresets.xml