diff --git a/ChangeLog b/ChangeLog index b117430d..03ca8fa1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Thu Dec 25 21:16:22 HKT 2003 William Brack + + * 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. + Wed Dec 24 12:54:25 CET 2003 Daniel Veillard * configure.in NEWS doc/*: updated the docs and prepared a new diff --git a/doc/apibuild.py b/doc/apibuild.py index 94720f3d..30d69439 100755 --- a/doc/apibuild.py +++ b/doc/apibuild.py @@ -1699,8 +1699,11 @@ class docBuilder: output.write(" \n" % (type)) ids = funcs[type] ids.sort() + pid = '' # not sure why we have dups, but get rid of them! for id in ids: - output.write(" \n" % (id)) + if id != pid: + output.write(" \n" % (id)) + pid = id output.write(" \n") def serialize_xrefs_constructors(self, output): diff --git a/xmlschemas.c b/xmlschemas.c index d084f1e1..303566ee 100644 --- a/xmlschemas.c +++ b/xmlschemas.c @@ -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); }