Home » railML newsgroups » railml.common » Problems with automatic library generation
Problems with automatic library generation [message #1113] Thu, 31 May 2012 11:16
Susanne Wunsch railML is currently offline  Susanne Wunsch railML
Messages: 0
Registered: January 2020
Hi all,

In some cases the current railML schemas cause problems in using
automatic generation support. A user sent me an error message created by
JAXB for dynamic generation of Java classes based on the railML schema

(sorry it comes from an German environment)

[ERROR] Komplexer Basistyp "tElementWithIDAndNameWithoutAny" wird von
Einschränkung abgeleitet, während dieser komplexe Typ "eInfraAttr" von
Erweiterung abgeleitet wird. Dies wird aktuell von XJC nicht
unterstützt, es wird jedoch an einer Lösung dieses Problems

Some investigations concluded in small changes of the definition of the
type "tElementWithIDAndNameWithoutAny" that does not result in any
changes in the XML structure (as instance of the XML schema files).

SVN Commit 420:


Please do not hesitate to report any problems with the railML schemas.
Sometimes we can find simple solutions. :)

Kind regards...

Susanne Wunsch
Schema Coordinator: railML.common
Previous Topic: Dublin Core Metadata
Next Topic: A train with ETCS?
Goto Forum:

Current Time: Mon Jul 15 00:13:01 CEST 2024