Hi!
Please include my little patch into 1.0 branch (if possible). It fixes
coredump during try of reporting parse error in DomParser::parse_context.
To reproduce coredump one should try to parse XML document with incorrect
encoding; it happens on 1.0.5 only:
std::string xml_doc =
"<?xml version=\"1.0\" encoding=\"unknown-122\"?>"
"<root/>";
xmlpp::DomParser parser;
parser.set_substitute_entities();
--
Anton Dedov
|