Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2004-10-10 06:06:12

Bugs item #1043942, was opened at 2004-10-10 04:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: boost::serialization - strings with '&' character included

Initial Comment:
The issue is related to xml serialization only. I am trying
to serialize strings with & character included. When I am
trying to deserialize such a string, everything after '&'
just disappeared.

Also I noticed that serializer doesn't convert '&' to xml
entity '&'. I guess it should. However it converts
from amp entity when deserializing.

Even if I convert '&' to xml entity manually, the problem
still occur.

As I found debugging the source code, the problem
happens because of wrong spirit rule in
basic_xml_grammar.ipp file:

   CharData =
        (*(anychar_p - chset_p(L"&<"))) [

when I deleted '&' I was able to deserialize strings
with '&' at least. I do not know how it can affect other
aspects of deserialization.


You can respond by visiting:

This email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at