tiny path fixes the "xmlConvertCRNGFile" function name from Kasimier

* rngparser.c: tiny path fixes the "xmlConvertCRNGFile" function name
  from Kasimier Buchcik
* xmlschemas.c: recursive xs:extension fix from taihei goi
Daniel
This commit is contained in:
Daniel Veillard 2004-04-22 07:15:40 +00:00
parent bf62949f2c
commit f762755fd7
3 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Thu Apr 22 09:12:47 CEST 2004 Daniel Veillard <daniel@veillard.com>
* rngparser.c: tiny path fixes the "xmlConvertCRNGFile" function name
from Kasimier Buchcik
* xmlschemas.c: recursive xs:extension fix from taihei goi
Wed Apr 21 00:19:29 CEST 2004 Daniel Veillard <daniel@veillard.com>
* tree.c: small buffer resizing improvement from Morten Welinder

View File

@ -1510,7 +1510,7 @@ xmlConvertCRNG(const char *schemas, int len, const char *encoding) {
* NULL in case of error
*/
xmlDocPtr
xmlConvertCRNG(const char *URL, const char *encoding) {
xmlConvertCRNGFile(const char *URL, const char *encoding) {
}
#ifdef STANDALONE

View File

@ -4238,7 +4238,16 @@ xmlSchemaBuildAContentModel(xmlSchemaTypePtr type,
if (type->baseType != NULL) {
xmlSchemaTypePtr subtypes;
if (type->recurse) {
xmlSchemaPErr(ctxt, type->node,
XML_SCHEMAP_UNKNOWN_BASE_TYPE,
"Schemas: extension type %s is recursive\n",
type->name, NULL);
return;
}
type->recurse = 1;
xmlSchemaBuildAContentModel(type->baseType, ctxt, name);
type->recurse = 0;
subtypes = type->subtypes;
while (subtypes != NULL) {
xmlSchemaBuildAContentModel(subtypes, ctxt, name);