--- libxml2-svn-20090302.orig/xmlschemas.c 2009-03-04 18:01:27.000000000 -0500 +++ libxml2-svn-20090302/xmlschemas.c 2009-03-04 18:01:07.000000000 -0500 @@ -11038,16 +11038,6 @@ * differ from the resulting namespace. */ isChameleon = 1; - if (bucket->parsed && - (bucket->targetNamespace != pctxt->targetNamespace)) { - /* - * This is a sanity check, I dunno yet if this can happen. - */ - PERROR_INT("xmlSchemaParseIncludeOrRedefine", - "trying to use an already parsed schema for a " - "different targetNamespace"); - return(-1); - } bucket->targetNamespace = pctxt->targetNamespace; } }