Home » railML newsgroups » railml.common » [railVIVID 2.02] case sensitivity for xml encoding
[railVIVID 2.02] case sensitivity for xml encoding [message #3633] Fri, 23 May 2025 22:11 Go to next message
Mathias Vanden Auweele is currently offline  Mathias Vanden Auweele
Messages: 88
Registered: February 2025
Location: Brussels
Member
(Small comment)
When a railml file starts with:
<?xml version="1.0" encoding="utf-8"?>

railVIVID 2.02 will throw a warning saying that the file is not in UTF-8 encoding.

When the encoding value is changed to uppercase:
<?xml version="1.0" encoding="UTF-8"?>

railVIVID 2.02 has no problem.

The XML technical specification of W3: https://www.w3.org/TR/xml/#charencoding
Specifies that "XML processors SHOULD match character encoding names in a case-insensitive way"

But in any case it would be nice to have railVIVID also accept lowercase :)

Thanks!


Mathias Vanden Auweele
Railway data freelancer
https://matdata.eu
Brussels, Belgium
Re: [railVIVID 2.02] case sensitivity for xml encoding [message #3638 is a reply to message #3633] Wed, 04 June 2025 11:22 Go to previous messageGo to next message
Marharyta Vyskarka is currently offline  Marharyta Vyskarka
Messages: 21
Registered: April 2025
Junior Member
Dear Mathias,

Thank you for bringing my attention to this. You are right, both upper-case and lower-case letters should be allowed, I will fix it for the future railVIVID versions.

Thank you for the feedback!


Marharyta Vyskarka – Software Developer
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
Re: [railVIVID 2.02] case sensitivity for xml encoding [message #3644 is a reply to message #3638] Thu, 12 June 2025 09:09 Go to previous message
Mathias Vanden Auweele is currently offline  Mathias Vanden Auweele
Messages: 88
Registered: February 2025
Location: Brussels
Member
Thank you Marharyta

Mathias Vanden Auweele
Railway data freelancer
https://matdata.eu
Brussels, Belgium
Previous Topic: [RailVivid 2.0] Check internet connection
Next Topic: [railML3] Additional Attributes for Revision Management
Goto Forum:
  


Current Time: Sun Feb 15 03:00:01 CET 2026