// 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));
// hide the fact that our parser uses an empty string for null
if (namespaceURI.length() == 0) {
namespaceURI = null;
}
// DOM Level 2 wants all namespace declaration attributes