1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

make sure xmlCtxtReadFile and htmlCtxtReadFile go through the catalog

* HTMLparser.c parser.c: make sure xmlCtxtReadFile and htmlCtxtReadFile
  go through the catalog resolution.
* gentest.py testapi.c: fix a side effect wrning of the change
Daniel
This commit is contained in:
Daniel Veillard
2004-11-26 10:47:26 +00:00
parent 6bb3e86d2c
commit 29614c7040
5 changed files with 9 additions and 15 deletions

View File

@@ -6038,7 +6038,7 @@ htmlCtxtReadFile(htmlParserCtxtPtr ctxt, const char *filename,
htmlCtxtReset(ctxt);
stream = xmlNewInputFromFile(ctxt, filename);
stream = xmlLoadExternalEntity(filename, NULL, ctxt);
if (stream == NULL) {
return (NULL);
}