Boost C++ Libraries: Ticket #4429: XML serialization <item_version> appears as character rather than e.g. 0 https://svn.boost.org/trac10/ticket/4429 <p> In previous versions (tested with 1.42) serializing e.g. a container using XML gave: </p> <p> &lt;osnr class_id="6" tracking_level="0" version="0"&gt; </p> <blockquote> <p> &lt;count&gt;3&lt;/count&gt; &lt;item_version&gt;0&lt;/item_version&gt; &lt;item class_id="7" tracking_level="0" version="0"&gt; </p> </blockquote> <p> .. </p> <p> Using boost trunk, &lt;osnr class_id="5" tracking_level="0" version="0"&gt; </p> <blockquote> <p> &lt;count&gt;0&lt;/count&gt; &lt;item_version&gt;<sup>@&lt;/item_version&gt; </sup></p> </blockquote> <p> &lt;/osnr&gt; </p> <p> In both cases: &lt;?xml version="1.0" encoding="UTF-8" standalone="yes" ?&gt; &lt;!DOCTYPE boost_serialization&gt; &lt;boost_serialization signature="serialization::archive" version="7"&gt; &lt;g class_id="0" tracking_level="0" version="0"&gt; </p> <p> Maybe needs a cast? </p> <p> System: Debian GNU/Linux GCC 4.4.3 or 4.5 2.6.32 </p> <p> Thank you in advance R. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4429 Trac 1.4.3 Robert Ramey Tue, 13 Jul 2010 16:52:33 GMT <link>https://svn.boost.org/trac10/ticket/4429#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4429#comment:1</guid> <description> <p> This would be a huge problem. </p> <p> And I've confirmed it. </p> <p> I'm looking into it. </p> <p> Thanks for catching this in advance of 1.44 release. </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Tue, 13 Jul 2010 16:58:28 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4429#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4429#comment:2</guid> <description> <p> BTW - On my cygwin gcc setup I have one test that fails - test_utf8_codecvt. I'm guessing that something is out of whack with the way codecvt is used/implemented that only shows up with certain compilers/libraries. </p> <p> Keep up the good work. </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 13 Jul 2010 17:40:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4429#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4429#comment:3</guid> <description> <p> Let me know if I can be of any help in testing, etc. My environment is just debian/ubuntu with gcc 4.3 or 4.5. </p> <p> Thank you for your prompt reaction and for Serialization in general :) R. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Wed, 14 Jul 2010 05:23:36 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4429#comment:4 https://svn.boost.org/trac10/ticket/4429#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket