summaryrefslogtreecommitdiffstats
path: root/recipes-core/xml-commons/xom-1.1/04_remove_sun_import.patch
blob: 71f659d9dad4ef9d3def0586e072b5852d3c9b2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -Nur xom-1.1/src15/nu/xom/JDK15XML1_0Parser.java xom-1.1.new/src15/nu/xom/JDK15XML1_0Parser.java
--- xom-1.1/src15/nu/xom/JDK15XML1_0Parser.java	2004-08-17 19:18:30.000000000 +0530
+++ xom-1.1.new/src15/nu/xom/JDK15XML1_0Parser.java	2007-11-13 15:25:08.000000000 +0530
@@ -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);
         
     }