1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +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

@@ -12732,7 +12732,7 @@ xmlCtxtReadFile(xmlParserCtxtPtr ctxt, const char *filename,
xmlCtxtReset(ctxt);
stream = xmlNewInputFromFile(ctxt, filename);
stream = xmlLoadExternalEntity(filename, NULL, ctxt);
if (stream == NULL) {
return (NULL);
}