Use normalize rather than containsRef

This commit is contained in:
James Clark 1998-02-02 13:48:35 +00:00
parent 347e19a658
commit 67bf333e47

View File

@ -261,7 +261,7 @@ checkContent(size_t level, CONTEXT *context, const ENCODING *enc,
XmlGetAttributes(enc, s, n, context->atts); XmlGetAttributes(enc, s, n, context->atts);
} }
for (i = 0; i < n; i++) { for (i = 0; i < n; i++) {
if (context->atts[i].containsRef) { if (!context->atts[i].normalized) {
enum WfCheckResult result enum WfCheckResult result
= checkAttributeValue(&context->dtd, enc, = checkAttributeValue(&context->dtd, enc,
context->atts[i].valuePtr, context->atts[i].valuePtr,