mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-24 01:11:01 +00:00
ignore blanks between nodes when parsing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34523 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
25ffa3ff82
commit
d0a8f14c4a
1 changed files with 2 additions and 0 deletions
|
@ -163,6 +163,8 @@ extern void clearPrivatePointers(xmlNodePtr aNode);
|
|||
char *url = NULL;
|
||||
char *encoding = NULL; // "UTF8";
|
||||
int options = 0;
|
||||
if (!(mask & NSXMLNodePreserveWhitespace))
|
||||
options |= XML_PARSE_NOBLANKS;
|
||||
|
||||
GS_CREATE_INTERNAL(NSXMLDocument); // create internal ivars...
|
||||
internal->node = xmlReadDoc((xmlChar *)str, url, encoding, options);
|
||||
|
|
Loading…
Reference in a new issue