- fix for PIs name starting with xml
- fixed a potential problem with || and && ops
- generate win32config.h for those on the Other Side !
Daniel
diff --git a/tree.c b/tree.c
index 83bed92..3242aec 100644
--- a/tree.c
+++ b/tree.c
@@ -7,8 +7,7 @@
*/
#ifdef WIN32
-#define HAVE_FCNTL_H
-#include <io.h>
+#include "win32config.h"
#else
#include "config.h"
#endif
@@ -3000,7 +2999,7 @@
if ((!xmlStrcmp(prop->name, name)) &&
(((prop->ns == NULL) && (node->ns != NULL) &&
(!xmlStrcmp(node->ns->href, namespace))) ||
- (prop->ns != NULL) && (!xmlStrcmp(prop->ns->href, namespace)))) {
+ ((prop->ns != NULL) && (!xmlStrcmp(prop->ns->href, namespace))))) {
xmlChar *ret;
ret = xmlNodeListGetString(node->doc, prop->val, 1);