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
files.

(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
gearbeitet.

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:

http://trac.assembla.com/railML/changeset/420

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

Kind regards...
Susanne

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


Current Time: Tue Mar 19 03:47:09 CET 2024