Home » railML newsgroups » railml.common » Problems with changed schemaLocation (http -> https) for Dublin-Core schema
Problems with changed schemaLocation (http -> https) for Dublin-Core schema [message #2428] Tue, 05 May 2020 13:30 Go to next message
Christian Rößiger is currently offline  Christian Rößiger
Messages: 59
Registered: March 2015
Member
Hello,

The railml-schema integrates the definitions of the Dublin Core (DC)
metadata using xs:import at various points. In a recent attempt to
validate a railML file, I had problems with exactly this imported
schema. After some research I found out that the cause of the problem
seems to be the change of the URL for the DC files from http:// to
https://. Calling the (old) http-URL with a web browser still works,
because the DC server apparently answers with a http redirect response
code (308?) and the new address, which the browser processes
automatically. However, various XML parsers / developing tools
apparently have problems processing this response code and can no longer
validate railML files.
So I think that this problem should be solved by the developers of the
XML parser / development software first, but I would still be interested
to know if other parsers have similar problems and if therefore a
subsequent adaptation of the DC-URL in the already published railML-XSD
files is an option to reduce problems with the railML validation.

Best regards
Christian Rößiger
--
iRFP e. K. · Institut für Regional- und Fernverkehrsplanung
Hochschulstr. 45, 01069 Dresden
Tel. +49 351 4706819 · Fax. +49 351 4768190 · www.irfp.de
Registergericht: Amtsgericht Dresden, HRA 9347
Re: Problems with changed schemaLocation (http -> https) for Dublin-Core schema [message #2429 is a reply to message #2428] Thu, 07 May 2020 09:17 Go to previous messageGo to next message
Thomas Nygreen is currently offline  Thomas Nygreen
Messages: 66
Registered: March 2008
Member
Hello Christian,

We will update the URL in the railML XSDs of currently supported versions. I have made a trac ticket for this: https://trac.railml.org/ticket/379

Best regards
Thomas


Thomas Nygreen – Common Schema Coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
Re: Problems with changed schemaLocation (http -> https) for Dublin-Core schema [message #2430 is a reply to message #2429] Thu, 07 May 2020 10:24 Go to previous messageGo to next message
Martin Griesemer is currently offline  Martin Griesemer
Messages: 3
Registered: October 2018
Junior Member
Hello,

I agree with the URL update.

Best regards,

Martin


Martin Griesemer
INITgmbh
Re: Problems with changed schemaLocation (http -> https) for Dublin-Core schema [message #2432 is a reply to message #2429] Tue, 12 May 2020 11:02 Go to previous messageGo to next message
Christian Rößiger is currently offline  Christian Rößiger
Messages: 59
Registered: March 2015
Member
Hello, Thomas,

thanks for responding so quickly to my request. It was was primarily
intended as a "survey" to see if other users have the same problem. As I
wrote in my first outgoing mail, I think that the problem should be
solved primarily by the developers of the XML validators, especially
when it comes to individual cases. We would therefore only recommend to
adapt the already published XSD files if the problem still occurs with
other users.

Best regards
Christian Rößiger
--
iRFP e. K. · Institut für Regional- und Fernverkehrsplanung
Hochschulstr. 45, 01069 Dresden
Tel. +49 351 4706819 · Fax. +49 351 4768190 · www.irfp.de
Registergericht: Amtsgericht Dresden, HRA 9347
Re: Problems with changed schemaLocation (http -> https) for Dublin-Core schema [message #2435 is a reply to message #2432] Wed, 13 May 2020 17:53 Go to previous messageGo to next message
Milan Wölke is currently offline  Milan Wölke
Messages: 139
Registered: April 2007
Senior Member
Hello,
I dont see a problem with changing the URL in the already published versions. So far I havent heard from anybody that this would have any kind of impact to existing implementations.

Best regards, Milan


Milan Wölke – Timetable scheme coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
Re: Problems with changed schemaLocation (http -> https) for Dublin-Core schema [message #2456 is a reply to message #2428] Mon, 08 June 2020 13:29 Go to previous messageGo to next message
Christian Rößiger is currently offline  Christian Rößiger
Messages: 59
Registered: March 2015
Member
Hello everyone,

in the meantime we could solve the problem by updating our XML
development tool. Therefore, we do not see any urgency in modifying the
already published XSD schemas, especially since we would otherwise have
to adjust the release number(s) also in our documentation. Nevertheless,
the new URL (https) should be used in future releases.

Best regards
Christian Rößiger
--
iRFP e. K. · Institut für Regional- und Fernverkehrsplanung
Hochschulstr. 45, 01069 Dresden
Tel. +49 351 4706819 · Fax. +49 351 4768190 · www.irfp.de
Registergericht: Amtsgericht Dresden, HRA 9347
Problems with HTTPS for Dublin Core schema solved [message #2465 is a reply to message #2428] Mon, 22 June 2020 11:18 Go to previous messageGo to next message
Vasco Paul Kolmorgen
Messages: 55
Registered: November 2004
Member
Dear all,

I contacted the governance and IT team of the DCMI (Dublin Core Metadata
Initiative; see https://www.dublincore.org/) regarding this issue.

Am 05.05.2020 um 13:30 schrieb Christian Rößiger:
> After some research I found out that the cause of the problem
> seems to be the change of the URL for the DC files from http:// to
> https://. Calling the (old) http-URL with a web browser still works,
> because the DC server apparently answers with a http redirect response
> code (308?) and the new address, which the browser processes
> automatically. However, various XML parsers / developing tools

Please find the answer of DCMI:

Am 21.06.2020 um 16:15 schrieb Paul Walk:
> I have managed to disable the global automatic redirect from HTTP to HTTPS that was configured by default in the dublincore.org kubernetes ingress controller. This means that for most URLs in the 'dublincore.org' domain, both the HTTP and the HTTPS equivalents should work.
>
> There are still many redirects configured throughout the website - this reflects the fact that site has been in continuous development and deployment for ~25 years and has been migrated between hosts several times during that period.
>
> I am still a little unclear if it was the *redirects* which were causing the problems for the tools you mentioned, or if it was that they were unable to handle SSL?
>
> In any case, I believe that this change should address the immediate problem that you raised.

I hope this will solve the problem for the old versions, for all new
versions railML.org shall use HTTPS for sure.

Best regards,
--
Vasco Paul Kolmorgen - Governance Coordinator
railML.org (Registry of Associations: VR 5750)
Phone railML.org: +49 351 47582911
Altplauen 19h; 01187 Dresden; Germany www.railML.org
Re: Problems with HTTPS for Dublin Core schema solved [message #2466 is a reply to message #2465] Tue, 23 June 2020 16:08 Go to previous message
Thomas Nygreen is currently offline  Thomas Nygreen
Messages: 66
Registered: March 2008
Member
Thank you, Vasco.

I have updated the trac ticket to reflect that there is no longer a need to fix the URI in the already published versions. https://trac.railml.org/ticket/379

Best regards,
Thomas


Thomas Nygreen – Common Schema Coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
Previous Topic: Namespace not recognised for v3.1 (v2.4 works!)
Next Topic: [railML3] Additional Attributes for Revision Management
Goto Forum:
  


Current Time: Thu Mar 28 11:31:07 CET 2024