// fluff data
DeferredDocumentImpl ownerDocument =
(DeferredDocumentImpl) ownerDocument();
int attrQName = ownerDocument.getNodeName(fNodeIndex);
StringPool pool = ownerDocument.getStringPool();
name = pool.toString(attrQName);
// extract prefix and local part from QName
int index = name.indexOf(':');
String prefix;
if (index < 0) {
prefix = null;
localName = name;
}
else {
prefix = name.substring(0, index);
localName = name.substring(index + 1);
}
isSpecified(ownerDocument.getNodeValue(fNodeIndex) == 1);
//namespaceURI = pool.toString(ownerDocument.getNodeURI(attrQName));
namespaceURI = pool.toString(ownerDocument.getNodeURI(fNodeIndex));
// DOM Level 2 wants all namespace declaration attributes
// to be bound to "http://www.w3.org/2000/xmlns/"
// So as long as the XML parser doesn't do it, it needs to
// done here.
if (namespaceURI == null) {