rapidxml: validate closing tags like libxml2 parser (no overhead measurable seen)
This commit is contained in:
parent
5bfd260859
commit
5b7a9b9b2d
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ public:
|
|||
// Parse using appropriate flags
|
||||
// https://github.com/mapnik/mapnik/issues/1856
|
||||
// const int f_tws = rapidxml::parse_normalize_whitespace;
|
||||
const int f_tws = rapidxml::parse_trim_whitespace;
|
||||
const int f_tws = rapidxml::parse_trim_whitespace | rapidxml::parse_validate_closing_tags;
|
||||
rapidxml::xml_document<> doc;
|
||||
doc.parse<f_tws>(&v.front());
|
||||
|
||||
|
|
Loading…
Reference in a new issue