else if (DTM.NAMESPACE_NODE != type)
else
  public int getAttributeNode(int nodeHandle, String namespaceURI,                              String name)  {    // %OPT% This is probably slower than it needs to be.    if (null == namespaceURI)      namespaceURI = "";    int type = getNodeType(nodeHandle);    if (DTM.ELEMENT_NODE == type)    {      // Assume that attributes immediately follow the element.      int identity = makeNodeIdentity(nodeHandle);      while (DTM.NULL != (identity = getNextNodeIdentity(identity)))      {        // Assume this can not be null.        type = getNodeType(identity);        if (type == DTM.ATTRIBUTE_NODE)        {          Node node = lookupNode(identity);          String nodeuri = node.getNamespaceURI();          if (null == nodeuri)            nodeuri = "";          String nodelocalname = node.getLocalName();          if (nodeuri.equals(namespaceURI) && name.equals(nodelocalname))            return makeNodeHandle(identity);        }        else if (DTM.NAMESPACE_NODE != type)        {          break;        }      }    }    return DTM.NULL;  }