java-xom/java-xom-1.2.1-remove_sun_import.patch

27 lines
1.0 KiB
Diff
Raw Normal View History

--- src15/nu/xom/JDK15XML1_0Parser.java 2004-08-17 15:48:30.000000000 +0200
+++ src15/nu/xom/JDK15XML1_0Parser.java-gil 2010-01-18 14:35:13.000000000 +0100
@@ -24,9 +24,9 @@
import org.xml.sax.SAXException;
-import com.sun.org.apache.xerces.internal.parsers.SAXParser;
-import com.sun.org.apache.xerces.internal.parsers.DTDConfiguration;
-import com.sun.org.apache.xerces.internal.impl.Constants
+import org.apache.xerces.parsers.SAXParser;
+import org.apache.xerces.parsers.DTDConfiguration;
+import org.apache.xerces.impl.Constants
;
/**
* <p>
@@ -47,8 +47,8 @@
super(new DTDConfiguration());
// workaround for Java 1.5 beta 2 bugs
- com.sun.org.apache.xerces.internal.util.SecurityManager manager
- = new com.sun.org.apache.xerces.internal.util.SecurityManager();
+ org.apache.xerces.util.SecurityManager manager
+ = new org.apache.xerces.util.SecurityManager();
setProperty(Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY, manager);
}