General fixes, XPointer improvements:
- HTMLparser.c: some fixes on auto-open of html/head/body
- encoding.c: fixed a compilation error on some gcc env
- xpath.c xpointer.[ch] xpathInternals.h: improved the
XPointer implementation
- test/XPath/xptr/strpoint test/XPath/xptr/strrange3: added
related XPointer tests and associated results
Daniel
diff --git a/encoding.c b/encoding.c
index d60b845..643d7f8 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1686,9 +1686,9 @@
#ifdef EINVAL
if (errno == EINVAL) {
return -3;
- }
+ } else
#endif
- else {
+ {
return -3;
}
}