continue;
}
HTML.Element elDetails = IHTML.SCHEMA.lookupElement(elKey);
for (HTML.Attribute attrDetails : elDetails.getAttributes()) {
if (attrDetails.isOptional()) { continue; }
AttribKey attrKey = attrDetails.getKey();
if (!ihtmlEl.hasAttributeNS(attrKey.ns.uri, attrKey.localName)) {
mq.addMessage(
IhtmlMessageType.MISSING_ATTRIB,
Nodes.getFilePositionFor(ihtmlEl), elKey, attrKey);
markBroken(ihtmlEl);
}
}
for (Attr a : Nodes.attributesOf(ihtmlEl)) {
AttribKey attrKey = AttribKey.forAttribute(elKey, a);
if (IHTML.is(ihtmlEl, "call") && IHTML.is(attrKey.ns)
&& IHTML.isSafeIdentifier(a.getName())) {
continue;
}
HTML.Attribute attrDetails = IHTML.SCHEMA.lookupAttribute(attrKey);