public boolean isReserved(){
  String prefix=getPrefix();
  String name=getName();
  if (prefix != null) {
    return prefix.startsWith(RESERVED);
  }
  return name.startsWith(RESERVED);
}

public boolean isReserved ( ) { String prefix = getPrefix ( ) ; String name = getName ( ) ; if ( prefix != null ) { return prefix . startsWith ( RESERVED ) ; } return name . startsWith ( RESERVED ) ; }
this returns true if the attribute is reserved . an attribute is considered reserved if it begins with " xml " according to the namespaces in xml 1 . 0 specification . such attributes are used for namespaces and other such details .
