Home » railML newsgroups » railML.infrastructure » [railML3.1|Simple Example] namespace clashes (namespaces in the example xml do not match the xsd namespaces)
[railML3.1|Simple Example] namespace clashes [message #1870] Fri, 06 July 2018 14:18 Go to next message
Felix Prüter is currently offline  Felix Prüter
Messages: 28
Registered: June 2016
Location: Berlin
Junior Member
Dear all,
when I tried to validate the railML Simple Example for railML v3.1 with XMLSpy I got an error stating that the default namespace of the xml itselt does not match the target namespace of the referenced schema.
The mismatch is in particular: 3.1 vs v3-1 in the relevant namespace urls.
I fixed it manually for now but it should be fixed in the file for future releases.

Kind regards


--
Felix Prüter
SIGNON Deutschland GmbH
Re: [railML3.1|Simple Example] namespace clashes [message #1889 is a reply to message #1870] Mon, 06 August 2018 12:14 Go to previous messageGo to next message
christian.rahmig is currently offline  christian.rahmig
Messages: 436
Registered: January 2016
Senior Member
Dear Felix,

which files (example and schema) did you use?
I just checked the latest version of the schema available in the railML3
SVN trunk [1], which validated without errors. All target namespaces
should be "3.1" and not "v3-1".

[1] https://svn.railml.org/railML3/trunk

Best regards
Christian

Am 06.07.2018 um 14:18 schrieb Felix Prüter:
> Dear all,
> when I tried to validate the railML Simple Example for
> railML v3.1 with XMLSpy I got an error stating that the
> default namespace of the xml itselt does not match the
> target namespace of the referenced schema.
> The mismatch is in particular: 3.1 vs v3-1 in the relevant
> namespace urls.
> I fixed it manually for now but it should be fixed in the
> file for future releases.
>
> Kind regards


--
Christian Rahmig - Infrastructure scheme coordinator
railML.org (Registry of Associations: VR 5750)
Phone Coordinator: +49 173 2714509; railML.org: +49 351 47582911
Altplauen 19h; 01187 Dresden; Germany www.railml.org


Christian Rahmig – Infrastructure scheme coordinator
railML.org (Registry of Associations: VR 5750)
Altplauen 19h; 01187 Dresden; Germany www.railML.org
Re: [railML3.1|Simple Example] namespace clashes [message #1913 is a reply to message #1889] Fri, 17 August 2018 12:46 Go to previous message
Felix Prüter is currently offline  Felix Prüter
Messages: 28
Registered: June 2016
Location: Berlin
Junior Member
Dear Christian,
seems that I mistakenly took the xsd from [1]

[1] https://svn.railml.org/railML3/tags/railML-3.1-beta/


--
Felix Prüter
SIGNON Deutschland GmbH
Previous Topic: Switch between parallel tracks
Next Topic: Need for clarification: <SpeedChange>@status
Goto Forum:
  


Current Time: Sat Apr 20 11:03:53 CEST 2024