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:
Doug Simons 2012-01-14 07:00:28 +00:00
parent 25ffa3ff82
commit d0a8f14c4a

View file

@ -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);