Opened 9 years ago
Last modified 9 years ago
#9521 new Bugs
Exception when passing buffer to read_xml()
Reported by: | Hitesh Saxena | Owned by: | Sebastian Redl |
---|---|---|---|
Milestone: | To Be Determined | Component: | property_tree |
Version: | Boost 1.51.0 | Severity: | Problem |
Keywords: | Cc: | m.hitesh@… |
Description
Hi, I have taken reference from https://svn.boost.org/trac/boost/ticket/3831
I have made changes for read_xml(), now I am getting below exception "ex.what():: <unspecified file>(1): expected <"
code:
string fileDataStr ((const char*)xmlFileBuffer); boost::property_tree::ptree pt; std::stringstream ss; ss<<fileDataStr; boost::property_tree::read_xml( ss, tree );
Note:
See TracTickets
for help on using tickets.
Solved. Issue in passing the buffer.