]> granicus.if.org Git - libexpat/commitdiff
Use normalize rather than containsRef
authorJames Clark <jjc@jclark.com>
Mon, 2 Feb 1998 13:48:35 +0000 (13:48 +0000)
committerJames Clark <jjc@jclark.com>
Mon, 2 Feb 1998 13:48:35 +0000 (13:48 +0000)
expat/xmlwf/wfcheck.c

index 9ea58b6026499a7ffa67cf08db1e986f0d456dfd..c18abd290bd0040f1b4b649a42e7e3d44e0b6107 100755 (executable)
@@ -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,