Opened 11 years ago

Closed 10 years ago

#6613 closed Feature Requests (wontfix)

XML schema or DTD generation from boost serialization

Reported by: nilesh.chauhan@… 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)

010106.xml (4.8 KB ) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by viboes, 10 years ago

Component: Noneserialization
Owner: set to Robert Ramey

Please set the component in the future if you want it to be analyzed.

comment:2 by Robert Ramey, 10 years ago

Resolution: wontfix
Status: newclosed
Type: BugsFeature 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 anonymous, 9 years ago

Attachment: 010106.xml added
Note: See TracTickets for help on using tickets.