You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Jeffrey Rodriguez <je...@hotmail.com> on 2000/09/14 17:07:23 UTC

Re: Little bug-fix in org.apache.xerces.readers.AbstractCharReader.ja va

Hi Alfred,
Yes this is a bug, this block would be enter when
fCalledCharPropInit is true and then we change fCalledCharPropInit
to true.
The check was meant to be if fCalledCharPropInit is not true.
Good catch!

Thanks,

           Jeffrey Rodriguez
           IBM Silicon Valley
           XML Development



>From: Alfred.Fuchs@medicdat.de
>Reply-To: xerces-j-dev@xml.apache.org
>To: xerces-j-dev@xml.apache.org
>Subject: Little bug-fix in org.apache.xerces.readers.AbstractCharReader.ja 
>va
>Date: Thu, 14 Sep 2000 10:54:39 +0200
>
>Hi developers of J-Xerces,
>
>(hope this is the right address)
>
>there is a little bug in the file:
>org.apache.xerces.readers.AbstractCharReader.java
>	 @version $Id: AbstractCharReader.java,v 1.4 2000/05/17 18:32:37
>jeffreyr Exp $
>
>I don't know, if the bug is already fixed (where to look?), but in the
>class:
>org.apache.xerces.readers.AbstractCharReader.java
>the satement in line 855:	if (fCalledCharPropInit) {
>must be changed to:		if (!fCalledCharPropInit) {
>(I checked all the other similar statements and they seem OK)
>
>
>Version number of Xerces-J:	1.2.0 (extracted from
>Xerces-J-src.1.2.0.zip)
>Version number of JDK:		1.2.2
>Sample XML file that causes the bug:
>	<eä></eä>
>	(I'm using german-umlauts (ASCII: 228 dec) and got a
>NullPointerException)
>
>Sample Schema file:		not required to recreate the bug
>Sample DTD file:			not required to recreate the bug
>
>
>best regards,
>alfred
>
>_______________________________________
>
>Alfred Fuchs
>Klinikum der Universität Regensburg
>Projektgruppe MedicDAT
>D-93042 Regensburg
>Fax +49 941 944-8902
>Tel +49 941 944-8908
>alfred.fuchs@medicdat.de
>_______________________________________
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.