else {
qualifiedName = attribute.getLocalName();
}
final String value = attribute.getNodeValue();
final boolean specified = attribute.getSpecified();
final DomAttr xmlAttribute = new DomAttr(page, namespaceURI, qualifiedName, value, specified);
attributes.put(attribute.getNodeName(), xmlAttribute);
}
if (page instanceof HtmlPage) {
localName = localName.toUpperCase();
}