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-12 08:27:09


#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):

 Replying to [comment:6 anonymous]:
> Replying to [comment:5 ramey]:
> > This would have guaranteed passing of all current tests out of the
 box.
>
> A feature of `xml_iarchive` is that top level elements don't have their
 name checked. If there are multiple top level elements and I wish to skip
 any of them I will need to inspect their names. So changing the tests in
 the way that I have seems inevitable.

 Actually, not being able to skip top level elements wouldn't be a
 significant limitation for me.

 I'll give it some more thought. Thanks for your comments.

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