code: public boolean isXmlReservedAttr(boolean nsAware, String localName)
      {
          if (nsAware) {
              if ("xml" == mPrefix) {
                  return mLocalName == localName;
              }
          } else {
              if (mLocalName.length() == (4 + localName.length())) {
                  return (mLocalName.startsWith("xml:")
                          && mLocalName.endsWith(localName));
              }
          }
          return false;
      }
docs: Method used to check for xml reserved attribute names, like
  "xml:space" and "xml:id".
  <p>
  Note: it is assumed that the passed-in localName is also
  interned.