Correction of @dir values in Wiki
Description
In many cases the possible values of attribute @dir are wrongly listed in the wiki. In particular, there are many elements, where @dir can have only two values according to the schema("up" and "down") while the wiki lists additional enumeration values "none", "both" and "unknown". Therefore, the wiki pages have to be corrected.
Background
The attribute @dir can be of different type in different elements. These different types allow different enumeration values:
- tStrictDirection allows for values "up" and "down"
- tDelimitedDirection allows for values "up", "down" and "unknownn"
- tExtendedDirection allows for values "up", "down", "unknown" and "none"
- tLaxDirection allows for values "up", "down", "unknown", "none" and "both"
Links
- Forum discussion:
- Jörgen Strandberg, 2018-12-07: [https://www.railml.org/forum/index.php?t=msg&th=617&start=0&]
- Trac ticket:
- Wiki documentation:
- IS:gradientChange: [https://wiki.railml.org/index.php?title=IS:gradientChange]
- IS:ownerChange: [https://wiki.railml.org/index.php?title=IS:ownerChange]
- IS:operationModeChange: [https://wiki.railml.org/index.php?title=IS:operationModeChange]
- IS:trainProtectionChange: [https://wiki.railml.org/index.php?title=IS:trainProtectionChange]
- IS:electrificationChange: [https://wiki.railml.org/index.php?title=IS:electrificationChange]
- IS:gaugeChange: [https://wiki.railml.org/index.php?title=IS:gaugeChange]
- IS:clearanceGaugeChange: [https://wiki.railml.org/index.php?title=IS:clearanceGaugeChange]
- IS:powerTransmissionChange: [https://wiki.railml.org/index.php?title=IS:powerTransmissionChange]
- IS:axleWeightChange: [https://wiki.railml.org/index.php?title=IS:axleWeightChange]
- IS:speedChange: [https://wiki.railml.org/index.php?title=IS:speedChange]
- IS:radiusChange: [https://wiki.railml.org/index.php?title=IS:radiusChange]
Proposed solution for railML 2.x
The above linked Wiki pages need to be corrected. All of them include the information about the @dir attribute via template. It is suggested to create a new wiki template for the tStrictDirection uncoupled from the existing @dir template.