Skip to main content

SBML and JAXB - error with MathML?

2 replies [Last post]
bdtjulie
Offline
Joined: 2005-05-16
Points: 0

Hi. I am trying to use JAXB version 1.0.4 to generate Java classes for the SBML schema (http://cvs.sourceforge.net/viewcvs.py/sbml/specifications/sbml-level-2/v...).

After hitting many problems and having to create some external bindings, I am hitting 1 final problem that I can not resolve and *appears* to be related to MathML. The JAXB parser (xjc) throws the following message when I try to process the SBML schema listed above:

[ERROR] A property with the same name "MiOrMoOrMn" is generated from more than one schema component. use a property customization to resolve this name collision.
line 132 of scripts.xsd

[ERROR] (Relevant to above error) another one is generated from this schema component.
line 138 of scripts.xsd

I assumed the scripts.xsd was referring to the the MathML scripts.xsd file, but I can't find any elements with the name "MiOrMoOrMn" in any of the MathML classes, but it's obviously related to MathML. PLEASE tell me what this is referring to or what I need to do. Help!

Thanks,
Julie

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kohsuke
Offline
Joined: 2003-06-09
Points: 0

working on this. stay tuned.

kohsuke
Offline
Joined: 2003-06-09
Points: 0