Opened 16 years ago
Closed 15 years ago
#757 closed Bugs (wontfix)
xml serialization fails when using namespace
Reported by: | gvegidy | Owned by: | Robert Ramey |
---|---|---|---|
Milestone: | Component: | serialization | |
Version: | None | Severity: | Showstopper |
Keywords: | Cc: |
Description
When serializing an object whose class is in a namespace the xml serialization throws an "unrecognized XML syntax" exception. Serializing using text or binary archive works without problem. The attached example shows the problem: define BUG and it throws, undef it and it works. It seems like the same bug was reported to the user mailinglist in this thread: http://thread.gmane.org/gmane.comp.lib.boost.user/15479 but at that time noone guessed that the namespace is the problem.
Change History (5)
comment:2 by , 16 years ago
Logged In: YES user_id=396141 Thank you for submitting a bug report to BOOST
comment:3 by , 16 years ago
Status: | assigned → closed |
---|
comment:4 by , 15 years ago
Resolution: | Postponed |
---|---|
Status: | closed → reopened |
It's more than a year later now, and I just ran into this problem with boost 1.33.1. Why was this bug closed? What is the resolution?
comment:5 by , 15 years ago
Resolution: | → wontfix |
---|---|
Severity: | → Showstopper |
Status: | reopened → closed |
The reason I don't do this is that it would mix the C++ namespace with the XML one. That is, the elementname std::list would appear in the xml with <std::list>. This could create, at the very least, confusion. It might also be a problem if the serialization stream is embedded in other xml.
Note:
See TracTickets
for help on using tickets.