Commit f762755f authored by Daniel Veillard's avatar Daniel Veillard
Browse files

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
parent bf62949f
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
......
......@@ -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
......
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment