Re: [Boost-bugs] [Boost C++ Libraries] #7303: XML Serialization - Skip/Ignore unexpected data.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7303: XML Serialization - Skip/Ignore unexpected data.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-18 12:15:40


#7303: XML Serialization - Skip/Ignore unexpected data.
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: ramey
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.51.0 | Severity: Not Applicable
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by anonymous):

 I've done as you suggested. But in thinking about the documentation, I've
 started to wonder if this really is a good idea. I certainly don't think
 it should be documented as a ''feature'' because of the restrictions on
 it's use. At best it could be described in terms of some
 forgiveness/tolerance in the load.

 Anyway, I'll leave it for your consideration.


 Reference -> Special Considerations -> XML Archives

 In addition, the XML format permits skipping unexpected content. XML
 archives will skip unexpected data but if that data is require by other
 parts of the archive the load will fail. In particular:

 * Objects at the top of the archive may not be skipped.
 * It is not possible to skip the first occurrence of a tracked object.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7303#comment:8>
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:10 UTC