question: static char readChar ( IXMLReader reader , char entityChar ) throws IOException , XMLParseException { String str = XMLUtil . read ( reader , entityChar ) ; char ch = str . charAt ( 0 ) ; if ( ch == entityChar ) { XMLUtil . errorUnexpectedEntity ( reader . getSystemID ( ) , reader . getLineNr ( ) , str ) ; } return ch ; }
target:  Reads a character from the reader disallowing entities.