applied patch from Stefan Kost fixing #336160 Daniel
* xmlschemas.c: applied patch from Stefan Kost fixing #336160
Daniel
diff --git a/xmlschemas.c b/xmlschemas.c
index 2059196..47af067 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -11502,7 +11502,7 @@
"value '%s' of the 'base' attribute does not match the "
"type's designation '%s'",
xmlSchemaFormatQName(&str1, type->baseNs, type->base),
- xmlSchemaFormatQName(&str1, type->targetNamespace,
+ xmlSchemaFormatQName(&str2, type->targetNamespace,
type->name), NULL);
FREE_AND_NULL(str1);
FREE_AND_NULL(str2);