1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-01 10:06:59 +03:00

fixed missing dictionaries for Memory and Doc parser contexts (problem

* xmlschemas.c: fixed missing dictionaries for Memory and Doc
  parser contexts (problem reported on mailing list)
* doc/apibuild.py: small change to prevent duplicate lines
  on API functions list.  It will take effect the next time
  the docs are rebuilt.
This commit is contained in:
William M. Brack
2003-12-25 13:24:05 +00:00
parent e6e59cdf33
commit cf9eadf7f9
3 changed files with 14 additions and 1 deletions

View File

@ -3805,6 +3805,7 @@ xmlSchemaNewMemParserCtxt(const char *buffer, int size)
memset(ret, 0, sizeof(xmlSchemaParserCtxt));
ret->buffer = buffer;
ret->size = size;
ret->dict = xmlDictCreate();
return (ret);
}
@ -3833,6 +3834,7 @@ xmlSchemaNewDocParserCtxt(xmlDocPtr doc)
}
memset(ret, 0, sizeof(xmlSchemaParserCtxt));
ret->doc = doc;
ret->dict = xmlDictCreate();
return (ret);
}