Synchronizes the default attribute values.
// we don't want to generate any event for this so turn them off
boolean orig = ownerDocument.getMutationEvents();
ownerDocument.setMutationEvents(false);
// attributes are now synced
needsSyncChildren(false);
// create attributes node map
DeferredDocumentImpl ownerDocument =
(DeferredDocumentImpl)this.ownerDocument;
attributes = new NamedNodeMapImpl(ownerDocument);
// Default attributes dangle as children of the element
// definition "node" in the internal fast table.
for (int nodeIndex = ownerDocument.getLastChild(fNodeIndex);
nodeIndex != -1;
nodeIndex = ownerDocument.getPrevSibling(nodeIndex)) {
Node attr = ownerDocument.getNodeObject(nodeIndex);
attributes.setNamedItem(attr);
}
// set mutation events flag back to its original value
ownerDocument.setMutationEvents(orig);