mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
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
This commit is contained in:
@ -261,7 +261,7 @@ xmlSchemaInitBasicType(const char *name, xmlSchemaValType type) {
|
||||
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;
|
||||
|
Reference in New Issue
Block a user