Re: [Boost-bugs] [Boost C++ Libraries] #8095: Invalid XML is produced by write_xml when there is a special character in the key

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8095: Invalid XML is produced by write_xml when there is a special character in the key
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-22 15:55:49


#8095: Invalid XML is produced by write_xml when there is a special character in
the key
-------------------------------+---------------------------
  Reporter: martongabesz@… | Owner: cornedbee
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: property_tree
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords: xml
-------------------------------+---------------------------

Comment (by cornedbee):

 There is no solution that will turn your data into valid XML. Element
 names must follow the Name production, which cannot contain entity
 references.

 The best I can do is fail validation when writing the XML, so that you
 don't end up with invalid documents.

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