sbmlteam / jsbml

JSBML is a community-driven project to create a free, open-source, pure Java™ library for reading, writing, and manipulating SBML files (the Systems Biology Markup Language) and data streams. It is an alternative to the mixed Java/native code-based interface provided in libSBML.

Home Page:https://sbml.org/software/jsbml/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internal XMLOutputFactory

mephenor opened this issue · comments

the

org.sbml.jsbml.xml.stax.SBMLWriter.write(SBMLDocument, OutputStream,
String, String)

method assumes that "com.sun.xml.internal.stream.XMLOutputFactoryImpl"
is "com.ctc.wstx.stax.WstxOutputFactory" by trying to set the
XMLOutputFactory2.P_AUTOMATIC_EMPTY_ELEMENTS property which is
Woodstox-specific. This will cause an error when System uses the
default "com.sun.xml.internal.stream.XMLOutputFactoryImpl"
implementation.

Reported by: draeger

With the correct XMLOutputFactory this is not a problem anymore.

Original comment by: draeger

  • status: open --> open-fixed

Original comment by: draeger

  • status: open-fixed --> closed-rejected

Original comment by: niko-rodrigue