obsoleted xmlNormalizeWindowsPath
diff --git a/HTMLparser.c b/HTMLparser.c
index 7f7bfdf..75e9229 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -42,6 +42,7 @@
 #include <libxml/valid.h>
 #include <libxml/xmlIO.h>
 #include <libxml/globals.h>
+#include <libxml/uri.h>
 
 #define HTML_MAX_NAMELEN 1000
 #define HTML_PARSER_BIG_BUFFER_SIZE 1000
@@ -5346,7 +5347,7 @@
     memset(inputStream, 0, sizeof(htmlParserInput));
 
     inputStream->filename = (char *)
-	xmlNormalizeWindowsPath((xmlChar *)filename);
+	xmlCanonicPath((xmlChar *)filename);
     inputStream->line = 1;
     inputStream->col = 1;
     inputStream->buf = buf;