starting to cleanup some of the problems exposed by the W3C/NIST
* SAX2.c parser.c valid.c: starting to cleanup some of the
problems exposed by the W3C/NIST regression suite.
* result/ent7.sax result/xml2.sax: small fixes.
Daniel
diff --git a/valid.c b/valid.c
index 36d1a35..470f912 100644
--- a/valid.c
+++ b/valid.c
@@ -3319,17 +3319,10 @@
xmlEntityPtr ent;
ent = xmlGetDocEntity(doc, value);
+ /* yeah it's a bit messy... */
if ((ent == NULL) && (doc->standalone == 1)) {
doc->standalone = 0;
ent = xmlGetDocEntity(doc, value);
- if (ent != NULL) {
- VERROR(ctxt->userData,
-"standalone problem: attribute %s reference entity \"%s\" in external subset\n",
- name, value);
- /* WAIT to get answer from the Core WG on this
- ret = 0;
- */
- }
}
if (ent == NULL) {
VERROR(ctxt->userData,