lot of bug fixes, cleanup, starting to add proper namespace support too.
* xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h
include/libxml/schemasInternals.h: lot of bug fixes, cleanup,
starting to add proper namespace support too.
* test/schemas/* result/schemas/*: added a number of tests
fixed the result from some regression tests too.
Daniel
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index dd859b7..c3901c5 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -261,7 +261,7 @@
return(NULL);
}
memset(ret, 0, sizeof(xmlSchemaType));
- ret->name = xmlStrdup((const xmlChar *)name);
+ ret->name = (const xmlChar *)name;
ret->type = XML_SCHEMA_TYPE_BASIC;
ret->flags = type;
ret->contentType = XML_SCHEMA_CONTENT_BASIC;