    private int currentIndex = 0;
    private int numChars = 0;

	/**
	 * Constructs the new input stream reader out of the Xml
	 * input strem.
	 *
	 * @param inputstream the XML input stream.
	 */
    public XmlInputReader( XmlInputStream inputstream) throws UnsupportedEncodingException {
		super( new InputStreamReader( inputstream));
		
