Home » railML newsgroups » railml.misc » Problems with automatic library generation
Problems with automatic library generation [message #1113] Thu, 31 May 2012 11:16
Susanne Wunsch is currently offline  Susanne Wunsch
Messages: 180
Registered: March 2008
Senior Member
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: Customer FAQ (Attention: hard stuff!)
Next Topic: A train with ETCS?
Goto Forum:
  


Current Time: Fri Mar 24 22:50:06 CET 2017