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

Kaffe CVS cvs-commits at kaffe.org
Fri Oct 17 17:18:02 PDT 2003


PatchSet 4113 
Date: 2003/10/18 00:15:47
Author: kaz
Branch: HEAD
Tag: (none) 
Log:
2003-10-18  Ito Kazumitsu <kaz at maczuka.gcd.org>

        * libraries/javalib/gnu/xml/aelfred2/SAXDriver.java:
        Do setSystemId() if an EntityResolver didn't do it.

Members: 
	ChangeLog:1.1707->1.1708 
	libraries/javalib/gnu/xml/aelfred2/SAXDriver.java:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1707 kaffe/ChangeLog:1.1708
--- kaffe/ChangeLog:1.1707	Thu Oct 16 17:13:57 2003
+++ kaffe/ChangeLog	Sat Oct 18 00:15:47 2003
@@ -1,3 +1,8 @@
+2003-10-18  Ito Kazumitsu <kaz at maczuka.gcd.org>
+
+	* libraries/javalib/gnu/xml/aelfred2/SAXDriver.java:
+	Do setSystemId() if an EntityResolver didn't do it.
+	
 2003-10-16  Dalibor Topic <robilad at kaffe.org>
 
 	* AUTHORS:
Index: kaffe/libraries/javalib/gnu/xml/aelfred2/SAXDriver.java
diff -u kaffe/libraries/javalib/gnu/xml/aelfred2/SAXDriver.java:1.2 kaffe/libraries/javalib/gnu/xml/aelfred2/SAXDriver.java:1.3
--- kaffe/libraries/javalib/gnu/xml/aelfred2/SAXDriver.java:1.2	Thu Feb  6 21:35:08 2003
+++ kaffe/libraries/javalib/gnu/xml/aelfred2/SAXDriver.java	Sat Oct 18 00:15:48 2003
@@ -1,5 +1,5 @@
 /*
- * $Id: SAXDriver.java,v 1.2 2003/02/06 21:35:08 dalibor Exp $
+ * $Id: SAXDriver.java,v 1.3 2003/10/18 00:15:48 kaz Exp $
  * Copyright (C) 1999-2001 David Brownell
  * 
  * This file is part of GNU JAXP, a library.
@@ -66,7 +66,7 @@
 import org.xml.sax.helpers.NamespaceSupport;
 
 
-// $Id: SAXDriver.java,v 1.2 2003/02/06 21:35:08 dalibor Exp $
+// $Id: SAXDriver.java,v 1.3 2003/10/18 00:15:48 kaz Exp $
 
 /**
  * An enhanced SAX2 version of Microstar's &AElig;lfred XML parser.
@@ -123,7 +123,7 @@
  *
  * @author Written by David Megginson (version 1.2a from Microstar)
  * @author Updated by David Brownell &lt;dbrownell at users.sourceforge.net&gt;
- * @version $Date: 2003/02/06 21:35:08 $
+ * @version $Date: 2003/10/18 00:15:48 $
  * @see org.xml.sax.Parser
  */
 final public class SAXDriver
@@ -596,6 +596,8 @@
 			in.getSystemId ());
 	    if (source == null)
 		source = in;
+	    else if (source.getSystemId () == null)
+		source.setSystemId (in.getSystemId ());
 	}
 	startExternalEntity (name, source.getSystemId (), true);
 	return source;




More information about the kaffe mailing list