OpenBEL / openbel-framework

An open platform for capturing, integrating, storing, and sharing biological knowledge in and across organizations.
http://openbel.org
Apache License 2.0
22 stars 7 forks source link

Bug in DocumentConverter tool #24

Closed jhourani closed 12 years ago

jhourani commented 12 years ago

The .xbel file produced by running the DocumentConverter is not compilable. The process is stopped in Phase 1, with the following validation error output:

Compiling 1 BEL Document(s) [ERROR]: VALIDATION ERROR:39:33: Invalid content was found starting with element 'bel:listAnnotation'. One of '{"http://belframework.org/schema/1.0/xbel":description}' is expected.

jhourani commented 12 years ago

This is only an issue with the small corpus document, the other test docs work fine.

abargnesi commented 12 years ago

Is the DocumentConverter still neglecting to add a "description" xml sub-element under listAnnotation?

jhourani commented 12 years ago

Yes. I will look at this issue as well.

jhourani commented 12 years ago

Bug fixed, however we may want to look at the JAXB converter at some point to see if the issue lies with the way it is handling null values.

jhourani commented 12 years ago

Look at closing this issue.