[Boost-bugs] [Boost C++ Libraries] #10527: boost serialization library not able to deserialized shorter xml tag

Subject: [Boost-bugs] [Boost C++ Libraries] #10527: boost serialization library not able to deserialized shorter xml tag
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-23 08:49:44


#10527: boost serialization library not able to deserialized shorter xml tag
------------------------------+---------------------------
 Reporter: mail.dsp@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------
 {{{
 #!xml
 <Info class_id="0" tracking_level="0" version="0">
     <value>0</value>
     <symbol/>
 </Info>
 }}}
 Boost::serialization is not able to deserialize above XML. It throws
 exception with message "input stream error".

 Actual XML generated by boost::serialization is
 {{{
 #!xml
 <Info class_id="0" tracking_level="0" version="0">
     <value>0</value>
     <symbol></symbol>
 </Info>
 }}}
 I passed this XML to queue and received this XML by other application. In
 between queue tool shorten the empty XML tag.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10527>
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:17 UTC