sbgn/libsbgn

Serializations not created in C++ bindings

Closed this issue · 5 comments

Please add the flag "--generate-serialization" to the XSDFLAGS in the C++ makefile so XSD creates the methods for writing the objects to file as well.

Source: http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/guide/\#2.5

Reported by: *anonymous

This seems to be important because otherwise "generic namespace prefixes (p1, p2, etc.) will be automatically assigned to XML namespaces".
Currently SBGN-ML files saved with the milestone 2 version of LibSBGN(C++) have a namespace prefix: xmlns:p1="http://sbgn.org/libsbgn/0.2".

Original comment by: tobicz

  • assigned_to: nobody --> alice_villeger

Original comment by: tobicz

Tobias: this is not related to the namespace issue, but another one that I mentioned to Stuart some time ago that got lost then. The SBGN C++ bindings don't provide any XML output routines by default.

Original comment by: *anonymous

Fixed.

Original comment by: stumoodie

  • status: open --> closed

Original comment by: stumoodie