You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@locus.apache.org on 2000/02/08 02:55:13 UTC
cvs commit: xml-xerces/java/src/org/xml/sax/helpers NamespaceSupport.java
andyc 00/02/07 17:55:13
Modified: java/src/org/xml/sax/helpers NamespaceSupport.java
Log:
Bug in SAX2beta helper class, NamespaceSupport, that made
it depend on Java 2.
Revision Changes Path
1.2 +2 -2 xml-xerces/java/src/org/xml/sax/helpers/NamespaceSupport.java
Index: NamespaceSupport.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/xml/sax/helpers/NamespaceSupport.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- NamespaceSupport.java 2000/02/07 21:32:23 1.1
+++ NamespaceSupport.java 2000/02/08 01:55:12 1.2
@@ -2,7 +2,7 @@
// Written by David Megginson, sax@megginson.com
// This class is in the Public Domain. NO WARRANTY!
-// $Id: NamespaceSupport.java,v 1.1 2000/02/07 21:32:23 andyc Exp $
+// $Id: NamespaceSupport.java,v 1.2 2000/02/08 01:55:12 andyc Exp $
package org.xml.sax.helpers;
@@ -522,7 +522,7 @@
private void copyTables ()
{
if (prefixTable != null) {
- prefixTable = new Hashtable(prefixTable);
+ prefixTable = (Hashtable)prefixTable.clone();
} else {
prefixTable = new Hashtable();
}