Remove XML_PARSE_NOBLANKS from xmlReadFile
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 3 Feb 2014 13:42:57 +0000 (14:42 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 3 Feb 2014 13:42:57 +0000 (14:42 +0100)
With XML_PARSE_NOBLANKS test_url_19 fails.

src/pazpar2_config.c

index 3b9d47a..902c0e6 100644 (file)
@@ -1263,8 +1263,8 @@ struct conf_config *config_create(const char *fname, int verbose)
 {
     xmlDoc *doc = xmlReadFile(fname,
                               NULL,
-                              XML_PARSE_XINCLUDE + XML_PARSE_NOBLANKS
-                              + XML_PARSE_NSCLEAN + XML_PARSE_NONET );
+                              XML_PARSE_XINCLUDE
+                              + XML_PARSE_NSCLEAN + XML_PARSE_NONET);
     xmlNode *n;
     const char *p;
     int r;