--- php-5.2.6/ext/xml/compat.c.xmlwformed +++ php-5.2.6/ext/xml/compat.c @@ -412,7 +412,6 @@ XML_ParserCreate_MM(const XML_Char *enco #endif parser->parser->replaceEntities = 1; - parser->parser->wellFormed = 0; if (sep != NULL) { parser->use_namespace = 1; parser->parser->sax2 = 1;