aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLparser.c
diff options
context:
space:
mode:
authorIgor Zlatkovic <igor@src.gnome.org>2003-02-19 14:51:00 +0000
committerIgor Zlatkovic <igor@src.gnome.org>2003-02-19 14:51:00 +0000
commit5f9fada355da8d4120a526ecea513f85e69755ee (patch)
treed669fb68c1af64f6b059c5011ce5e77a88032756 /HTMLparser.c
parentf2238e6e553f0fa039ed084c436b38dbb33a0c86 (diff)
downloadandroid_external_libxml2-5f9fada355da8d4120a526ecea513f85e69755ee.tar.gz
android_external_libxml2-5f9fada355da8d4120a526ecea513f85e69755ee.tar.bz2
android_external_libxml2-5f9fada355da8d4120a526ecea513f85e69755ee.zip
obsoleted xmlNormalizeWindowsPath
Diffstat (limited to 'HTMLparser.c')
-rw-r--r--HTMLparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/HTMLparser.c b/HTMLparser.c
index 7f7bfdf7..75e9229f 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 @@ htmlCreateFileParserCtxt(const char *filename, const char *encoding)
memset(inputStream, 0, sizeof(htmlParserInput));
inputStream->filename = (char *)
- xmlNormalizeWindowsPath((xmlChar *)filename);
+ xmlCanonicPath((xmlChar *)filename);
inputStream->line = 1;
inputStream->col = 1;
inputStream->buf = buf;