[kaffe] CVS kaffe (kaz): libraries/javalib/gnu/xml/aelfred2/XmlParser.java:

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Sat Sep 13 15:34:02 2003


PatchSet 4032 
Date: 2003/09/13 22:32:00
Author: kaz
Branch: HEAD
Tag: (none) 
Log:
2003-09-13  Ito Kazumitsu <kaz@maczuka.gcd.org>

	* libraries/javalib/gnu/xml/aelfred2/XmlParser.java:
	copied the new version from GNU JAXP,  where our bug fix
	(2003-09-02  Ito Kazumitsu) has been adopted.

Members: 
	ChangeLog:1.1628->1.1629 
	libraries/javalib/gnu/xml/aelfred2/XmlParser.java:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1628 kaffe/ChangeLog:1.1629
--- kaffe/ChangeLog:1.1628	Sat Sep 13 21:30:13 2003
+++ kaffe/ChangeLog	Sat Sep 13 22:32:00 2003
@@ -1,3 +1,9 @@
+2003-09-13  Ito Kazumitsu <kaz@maczuka.gcd.org>
+
+	* libraries/javalib/gnu/xml/aelfred2/XmlParser.java:
+	copied the new version from GNU JAXP,  where our bug fix
+	(2003-09-02  Ito Kazumitsu) has been adopted.
+
 2003-09-13  Dalibor Topic <robilad@kaffe.org>,
             Helmer Kraemer  <hkraemer@freenet.de>
 
@@ -36,11 +42,13 @@
 	(getUserInfo) New method.
 	
 2003-09-12  Ito Kazumitsu <kaz@maczuka.gcd.org>
+
 	* libraries/javalib/java/io/File.java:
 	added missing 1.4 features (toURI() and File(URI)) once implemented
 	in kaffe but lost when GNU Classpath's File.java was imported.
 
 2003-09-11  Ito Kazumitsu <kaz@maczuka.gcd.org>
+
 	* libraries/javalib/java/util/GregorianCalendar.java:
 	(getLinearTime) corrected a bug of counting leap days twice.
 
Index: kaffe/libraries/javalib/gnu/xml/aelfred2/XmlParser.java
diff -u kaffe/libraries/javalib/gnu/xml/aelfred2/XmlParser.java:1.2 kaffe/libraries/javalib/gnu/xml/aelfred2/XmlParser.java:1.3
--- kaffe/libraries/javalib/gnu/xml/aelfred2/XmlParser.java:1.2	Tue Sep  2 16:30:46 2003
+++ kaffe/libraries/javalib/gnu/xml/aelfred2/XmlParser.java	Sat Sep 13 22:32:02 2003
@@ -1,5 +1,5 @@
 /*
- * $Id: XmlParser.java,v 1.2 2003/09/02 16:30:46 kaz Exp $
+ * $Id: XmlParser.java,v 1.3 2003/09/13 22:32:02 kaz Exp $
  * Copyright (C) 1999-2001 David Brownell
  * 
  * This file is part of GNU JAXP, a library.
@@ -69,7 +69,7 @@
 import org.xml.sax.SAXException;
 
 
-// $Id: XmlParser.java,v 1.2 2003/09/02 16:30:46 kaz Exp $
+// $Id: XmlParser.java,v 1.3 2003/09/13 22:32:02 kaz Exp $
 
 /**
  * Parse XML documents and return parse events through call-backs.
@@ -79,7 +79,7 @@
  * @author Written by David Megginson &lt;dmeggins@microstar.com&gt;
  *	(version 1.2a with bugfixes)
  * @author Updated by David Brownell &lt;dbrownell@users.sourceforge.net&gt;
- * @version $Date: 2003/09/02 16:30:46 $
+ * @version $Date: 2003/09/13 22:32:02 $
  * @see SAXDriver
  */
 final class XmlParser
@@ -1721,11 +1721,11 @@
 	}
     }
 
-    private void parseCharRef ()
+  private void parseCharRef ()
     throws SAXException, IOException
-    {
-	parseCharRef (true /* do flushDataBuffer by default */);
-    }
+  {
+    parseCharRef (true /* do flushDataBuffer by default */);
+  }
 
     /**
      * Read and interpret a character reference.
@@ -1808,7 +1808,7 @@
 	    error ("character reference " + value + " is too large for UTF-16",
 		   new Integer (value).toString (), null);
 	}
-	if (doFlush) dataBufferFlush ();
+  if (doFlush) dataBufferFlush ();
     }
 
 
@@ -2386,7 +2386,7 @@
 			    dataBufferAppend ('&');
 			    break;
 			}
-			parseCharRef (false /* Do not do flushDataBuffer */);
+      parseCharRef (false /* Do not do flushDataBuffer */);
 
 			// exotic WFness risk: this is an entity literal,
 			// dataBuffer [dataBufferPos - 1] == '&', and