diff --git a/expat/xmlwf/wfcheck.c b/expat/xmlwf/wfcheck.c index 9ea58b60..c18abd29 100755 --- a/expat/xmlwf/wfcheck.c +++ b/expat/xmlwf/wfcheck.c @@ -261,7 +261,7 @@ checkContent(size_t level, CONTEXT *context, const ENCODING *enc, XmlGetAttributes(enc, s, n, context->atts); } for (i = 0; i < n; i++) { - if (context->atts[i].containsRef) { + if (!context->atts[i].normalized) { enum WfCheckResult result = checkAttributeValue(&context->dtd, enc, context->atts[i].valuePtr,