Opened 11 years ago
Closed 10 years ago
#6613 closed Feature Requests (wontfix)
XML schema or DTD generation from boost serialization
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | To Be Determined | Component: | serialization |
Version: | Boost 1.48.0 | Severity: | Problem |
Keywords: | boost xml schema serialization | Cc: | nilesh.chauhan@… |
Description
Hi,
Is there a way to generate XML schema or DTD file along with the xml file we generate using boost serialization. Like one shown below.
std::ofstream ofs(filename.c_str()); boost::archive::xml_oarchive oa(ofs);
Tried looking for "xsd_oarchive" but not able to trace it in beta release also.
Attachments (1)
Change History (3)
comment:1 by , 10 years ago
Component: | None → serialization |
---|---|
Owner: | set to |
comment:2 by , 10 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Type: | Bugs → Feature Requests |
This has crossed my mind but I've never been motivated to implement it. You're basic idea is correct in that one would define an xsd_oarchive. Immediately upon providing this, someone would use it to edit the archive then there would be another request to support an edited archive. Basically this would turn into an non-trivial project which I can't justify spending the time on.
Robert Ramey
by , 9 years ago
Attachment: | 010106.xml added |
---|
Please set the component in the future if you want it to be analyzed.