Update codelists Infrastructure
Description
The files for the external codelists (XSD/XML) are currently located in the schema folder (XML) and the codelist-schmea folder (XSD). Both the XML and XSD files shall be kept in one discrete folder.
Background
Codelists are going to be placed in folder /codelists/. They will get the name describing their content. The codelist XML shall have the same name as the corresponding XSD file. The following files will be moved to this folder:
- schema/InfrastructureManagerCodes.xml
- schema/Registers.xml
- schema/TrainProtectionSystems.xml
- codelist-schema/InfrastructureManager.xsd
- codelist-schema/ListBaseTypes.xsd
- codelist-schema/Register.xsd
- codelist-schema/TrainProtectionSystem.xsd
Links
- Related ticket #274 - Case for the documentation of the codelists
Changes in railML 2.3
The location of the codelist XSD/XML files has changed and the files themselves have been renamed. All internal references to the files have been updated.
New folder structure
The following XSD files have been moved/renamed:
- codelists/InfrastructureManagers.xml
- codelists/InfrastructureManagers.xsd
- codelists/ListBaseTypes.xsd
- codelists/Registers.xml
- codelists/Registers.xsd
- codelists/TrainProtectionSystems.xml
- codelists/TrainProtectionSystems.xsd Please note that the new folder contains the new codelist for structure gauges as well.
Updates
In addition to the new file location there have also been some data updates to the content of the following files:
- InfrastructureManagers.xsd - added
companyCode
- InfrastructureManagers.xml
- updated names, isoCountryCodes
- added new infrastructure managers
- added new data for companyCodes
- Registers.xml - added name/organisation for additional languages
New elements
-
railcode:tCompanyCode
new element for an infrastructure manager for the 'TAF TAP TSI or UIC company codes'
Changesets
- [changeset:"631/railML"] - update codelist InfrastructureManagers; re-locate codelists
- [changeset:"632/railML"] - renaming some codelists
- [changeset:"637/railML"] - updating Registers.xml
- [changeset:"653/railML"] - renamed attribute uicRicsCode to tafTapTsiCompanyCode
- [changeset:"656/railML"] - renamed attribute tafTapTsiCompanyCode to companyCode
Wiki Documentation
Currently there are no Wiki Pages describing the individual codelists (see #274 (closed)). The changes have been documented in the general wiki page for railML 2.3: CO:changes/2.3.