1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-13 09:01:53 +03:00

small cleanup switched DTD validation to use only regexp when configured

* HTMLparser.c: small cleanup
* valid.c xmlregexp.c: switched DTD validation to use only regexp
  when configured with them. A bit of debugging around the determinism
  checks is still needed
Daniel
This commit is contained in:
Daniel Veillard
2002-09-17 21:50:03 +00:00
parent 63b01c2da1
commit a646cfdb14
4 changed files with 126 additions and 13 deletions

View File

@ -4881,7 +4881,8 @@ htmlCreateFileParserCtxt(const char *filename, const char *encoding)
}
memset(inputStream, 0, sizeof(htmlParserInput));
inputStream->filename = xmlNormalizeWindowsPath(filename);
inputStream->filename = (char *)
xmlNormalizeWindowsPath((xmlChar *)filename);
inputStream->line = 1;
inputStream->col = 1;
inputStream->buf = buf;