ownerDocument.removeIdEntry(this, oldv);
attrRemoved(node, oldv);
}
AbstractDocument doc = getCurrentDocument();
if (doc.getEventsEnabled() && !oldv.equals(newv)) {
DOMMutationEvent ev
= (DOMMutationEvent) doc.createEvent("MutationEvents");
ev.initMutationEventNS(XMLConstants.XML_EVENTS_NAMESPACE_URI,
"DOMAttrModified",
true, // canBubbleArg
false, // cancelableArg
node, // relatedNodeArg
oldv, // prevValueArg