Boost C++ Libraries: Ticket #6613: XML schema or DTD generation from boost serialization https://svn.boost.org/trac10/ticket/6613 <p> Hi, </p> <p> 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. </p> <p> std::ofstream ofs(filename.c_str()); boost::archive::xml_oarchive oa(ofs); </p> <p> Tried looking for "xsd_oarchive" but not able to trace it in beta release also. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6613 Trac 1.4.3 viboes Mon, 28 May 2012 17:29:21 GMT component changed; owner set https://svn.boost.org/trac10/ticket/6613#comment:1 https://svn.boost.org/trac10/ticket/6613#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Robert Ramey</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">serialization</span> </li> </ul> <p> Please set the component in the future if you want it to be analyzed. </p> Ticket Robert Ramey Mon, 28 May 2012 18:22:54 GMT status, type changed; resolution set https://svn.boost.org/trac10/ticket/6613#comment:2 https://svn.boost.org/trac10/ticket/6613#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Feature Requests</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> 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. </p> <p> Robert Ramey </p> Ticket anonymous Fri, 14 Jun 2013 05:23:30 GMT attachment set https://svn.boost.org/trac10/ticket/6613 https://svn.boost.org/trac10/ticket/6613 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">010106.xml</span> </li> </ul> Ticket