Type-Safe Validation of XML Railway Data in B

Research output: Contribution to book/Conference proceedings/Anthology/ReportConference contributionContributedpeer-review

Contributors

Abstract

We present a typed translation of XML data to the B method, to enable processing data in a principled and safe fashion. Indeed, data validation for railways is a success story of formal methods in general and B and ProB in particular. Data formats range from custom Excel to the railML standard, with many data sources being in XML.
The new typed translation has been integrated into the ProB toolset, and enables automated import of XML data in B machines. We implemented various features and performance improvements in ProB, notably to process large XML files. We evaluated our approach on an industrial railway design case study
from Deutsche Bahn. We compare the performance with existing tooling based on the XML-specific Schematron framework. The ProB based solution offers similar performance, and adds new features like visualisation of rule violations.

Details

Original languageEnglish
Title of host publicationJourneys Between Formal Methods and the Railway Industry
EditorsMaurice H. ter Beek, Stefania Gnesi, Anne E. Haxthausen, Laura Semini
Place of PublicationCham
PublisherSpringer Nature Switzerland
Pages292-313
ISBN (electronic)978-3-032-12484-5
ISBN (print)978-3-032-12483-8
Publication statusPublished - 2026
Peer-reviewedYes

Publication series

SeriesLecture Notes in Computer Science
Volume16470
ISSN0302-9743

Colloquium

TitleFestschrift Colloquium Dedicated to Alessandro Fantechi on the Occasion of His 70th Birthday
Descriptionsucceeding the 6th International Conference on Reliability, Safety, and Security of Railway Systems (RSSRail 2025)
Duration28 November 2025
Degree of recognitionInternational event
LocationScuola Normale Superiore
CityPisa
CountryItaly

External IDs

unpaywall 10.1007/978-3-032-12484-5_16

Keywords