Subject: [Boost-bugs] [Boost C++ Libraries] #4429: XML serialization <item_version> appears as character rather than e.g. 0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-13 07:30:02
#4429: XML serialization <item_version> appears as character rather than e.g. 0
----------------------------------------------------+-----------------------
Reporter: ramon.casellas@⦠| Owner: ramey
Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: serialization
Version: Boost 1.44.0 | Severity: Regression
Keywords: xml serialization item_version 0 value |
----------------------------------------------------+-----------------------
In previous versions (tested with 1.42) serializing e.g. a container using
XML gave:
<osnr class_id="6" tracking_level="0" version="0">
<count>3</count>
<item_version>0</item_version>
<item class_id="7" tracking_level="0" version="0">
..
Using boost trunk,
<osnr class_id="5" tracking_level="0" version="0">
<count>0</count>
<item_version>^@</item_version>
</osnr>
In both cases:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="7">
<g class_id="0" tracking_level="0" version="0">
Maybe needs a cast?
System: Debian GNU/Linux GCC 4.4.3 or 4.5 2.6.32
Thank you in advance
R.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4429> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC