don't unescape & characters - SCFG /Vito MANDORINO

This commit is contained in:
Hieu Hoang 2016-09-28 15:15:07 +01:00
parent 0005e98b26
commit cab564f607

View File

@ -48,7 +48,7 @@ Sentence *Sentence::CreateFromStringXML(MemPool &pool, FactorCollection &vocab,
string str2 = "<xml>" + str + "</xml>";
pugi::xml_parse_result result = doc.load(str2.c_str(),
pugi::parse_default | pugi::parse_comments);
pugi::parse_cdata | pugi::parse_wconv_attribute | pugi::parse_eol | pugi::parse_comments);
pugi::xml_node topNode = doc.child("xml");
std::vector<std::string> toks;