protected String name(boolean ns) throws Exception {
  mBuffIdx=-1;
  bname(ns);
  return new String(mBuff,1,mBuffIdx);
}

protected String name ( boolean ns ) throws Exception { mBuffIdx = - 1 ; bname ( ns ) ; return new String ( mBuff , 1 , mBuffIdx ) ; }
reads a xml name . the xml name must conform " namespaces in xml " specification . therefore the ' : ' character is not allowed in the name . this method should be used for pi and entity names which may not have a namespace according to the specification mentioned above .
