I'm searching for a tool (preferably open source) that takes a xml
schema as input and generates C code for marshaling, unmarshaling
related xml messages.
Ideally the tool would allow specifying the format of *text* messages
received / transmitted on the wire. It would then processes this
specification to create appropriate C data structures, encode / decode
routines to generate / parse such data.
I've tried xbinder, xmlbooster (both commerical) products; pls do not
include these in the response. |
Request for Question Clarification by
efn-ga
on
20 Aug 2005 09:56 PDT
I could only find one more such product, the Fusion XML-to-C Compiler.
http://www.unicoi.com/fusion_web/fusion_xml_schema_compiler.htm
Will this work for you?
--efn
|
Clarification of Question by
lsearch-ga
on
21 Aug 2005 05:13 PDT
efn,
Based on your response I'd like to remove the requirement to process
xml schema. I'll accept any tool which allows specifying the format of
text messagees transmitted on the wire; processes the specification to
generate code to handle related messages.
I'd really prefer an open source tool or a not too expensive closed
source tool (<100$).
thanks
|
Request for Question Clarification by
efn-ga
on
21 Aug 2005 18:21 PDT
Thanks for your clarification.
Are you still talking about processing XML? (I'm not sure if the
reference to "format of text messages transmitted on the wire" was
intended to be more general.) If so, what language do you want to be
the input to the code generator, if not an XML schema? An XML
Document Type Definition (DTD)? Some language the code generator
itself may require?
Incidentally, it looks like the search would be easier if you could
use Java instead of C, but that is, of course, your decision.
|
Clarification of Question by
lsearch-ga
on
21 Aug 2005 19:52 PDT
I was hoping to make the search more general - possibly increasing the
chances of find an appropriate tool. The tool need not specialize in
processing xml messages. The input to the tool may be any language the
code generator may require. The generated code needs to be C.
|