if (attr.isOwned()) { // If the attribute is owned then: if (attr.getOwnerElement() != this.ownerNode) throw new DOMException(DOMException.INUSE_ATTRIBUTE_ERR, DOMMessageFormatter.formatMessage(
if (attr.getOwnerElement() != this.ownerNode) // the owner must be