mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-07 06:43:02 +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:
@@ -1,3 +1,11 @@
|
|||||||
|
Thu Dec 25 21:16:22 HKT 2003 William Brack <wbrack@mmm.com.hk>
|
||||||
|
|
||||||
|
* 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 <daniel@veillard.com>
|
Wed Dec 24 12:54:25 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* configure.in NEWS doc/*: updated the docs and prepared a new
|
* configure.in NEWS doc/*: updated the docs and prepared a new
|
||||||
|
@@ -1699,8 +1699,11 @@ class docBuilder:
|
|||||||
output.write(" <type name='%s'>\n" % (type))
|
output.write(" <type name='%s'>\n" % (type))
|
||||||
ids = funcs[type]
|
ids = funcs[type]
|
||||||
ids.sort()
|
ids.sort()
|
||||||
|
pid = '' # not sure why we have dups, but get rid of them!
|
||||||
for id in ids:
|
for id in ids:
|
||||||
output.write(" <ref name='%s'/>\n" % (id))
|
if id != pid:
|
||||||
|
output.write(" <ref name='%s'/>\n" % (id))
|
||||||
|
pid = id
|
||||||
output.write(" </type>\n")
|
output.write(" </type>\n")
|
||||||
|
|
||||||
def serialize_xrefs_constructors(self, output):
|
def serialize_xrefs_constructors(self, output):
|
||||||
|
@@ -3805,6 +3805,7 @@ xmlSchemaNewMemParserCtxt(const char *buffer, int size)
|
|||||||
memset(ret, 0, sizeof(xmlSchemaParserCtxt));
|
memset(ret, 0, sizeof(xmlSchemaParserCtxt));
|
||||||
ret->buffer = buffer;
|
ret->buffer = buffer;
|
||||||
ret->size = size;
|
ret->size = size;
|
||||||
|
ret->dict = xmlDictCreate();
|
||||||
return (ret);
|
return (ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3833,6 +3834,7 @@ xmlSchemaNewDocParserCtxt(xmlDocPtr doc)
|
|||||||
}
|
}
|
||||||
memset(ret, 0, sizeof(xmlSchemaParserCtxt));
|
memset(ret, 0, sizeof(xmlSchemaParserCtxt));
|
||||||
ret->doc = doc;
|
ret->doc = doc;
|
||||||
|
ret->dict = xmlDictCreate();
|
||||||
|
|
||||||
return (ret);
|
return (ret);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user