Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-06-23 17:14:46


Jabe wrote:

> Before investigating more work into this, I think it cannot be done in
> the next couple of hours. All the "tracking_id", "object_id" and so on
> attributes cannot be read from the XML file (they aren't there). So I
> really don't know if the XML input ever will work even when the xml
> output is working.

note that there is a fundemental mismatch here - which I've discussed
before. Boost serialization generated from the class hierarchy. The
XML which is generated reflects that. There is no way that an arbitrary
xml schema can be loaded via boost serialization. Either the schema
is provided by a C++ program (boost serialization) or by an XML
schema.

There exist other tools for with do the latter. That is, given an XML
schema - they generate a group of C++ classes that match (in some
sense) that schema. It sounds like one of these tools might be better
address the needs of the application you're crafting.

Robert Ramey


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net