Fix parsing XML with blanks from memory
This is needed when the butler thread loads a plugin with
MIDNAM. xmlKeepBlanksDefault() setting is per thread.
see also df3a4ed9c6
This commit is contained in:
parent
1e380b1e2e
commit
afad873a22
@ -133,6 +133,8 @@ XMLTree::read_buffer (char const* buffer, bool to_tree_doc)
|
||||
delete _root;
|
||||
_root = 0;
|
||||
|
||||
xmlKeepBlanksDefault(0);
|
||||
|
||||
doc = xmlParseMemory (buffer, strlen(buffer));
|
||||
if (!doc) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user