|
Boost Users : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2006-03-13 11:11:00
Vladimir Prus wrote:
> Robert Ramey wrote:
>
>> When I made the xml_?archive classes, I did consider including code
>> that would automatically
>> generate the xml schema that corresponded to the xml data. But I
>> concluded it wasn't
>> necessary to fullfill the xml requirement. You might consider
>> enhancing the xml_oarchive
>> to produce such a schema along with the data.
>
> Was the original question about schema for specific serialized data
> types, or rather for general syntax of XML archives, regardless of
> the serialized types? It sounded like the latter for me.
>
> - Volodya
Hmmm - if its the latter - I wouldn't know how to answer it. I forget
the details now, but when I looked into it, I concluded that the
schema would vary depending upon the archive. After all the
xml generated reflects the structure of the corresponding C++
objects which will vary from archive to archive. So the only
thing that occurred to me was that a schema be generated along
with the archive (in parallel). This might be very useful in some
contexts - but is off the track for me.
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