Use normalize rather than containsRef
This commit is contained in:
parent
347e19a658
commit
67bf333e47
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user