~ubuntu-branches/debian/sid/xom/sid

« back to all changes in this revision

Viewing changes to src15/nu/xom/JDK15XML1_0Parser.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2010-02-25 20:16:46 UTC
  • Revision ID: james.westby@ubuntu.com-20100225201646-w3ylayyeqx9ratu1
Tags: 1.2.1-2
* Convert patches to dep3 format.
* Add a patch for ant 1.8. (Closes: #571391)
* Fine tune build dependencies to default-jdk.
* Convert to source format 3.0.
* Update Standards-Version: 3.8.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
import org.xml.sax.SAXException;
26
26
 
27
 
import com.sun.org.apache.xerces.internal.parsers.SAXParser;
28
 
import com.sun.org.apache.xerces.internal.parsers.DTDConfiguration;
29
 
import com.sun.org.apache.xerces.internal.impl.Constants
 
27
import org.apache.xerces.parsers.SAXParser;
 
28
import org.apache.xerces.parsers.DTDConfiguration;
 
29
import org.apache.xerces.impl.Constants
30
30
;
31
31
/**
32
32
 * <p>
47
47
      
48
48
        super(new DTDConfiguration());
49
49
        // workaround for Java 1.5 beta 2 bugs
50
 
        com.sun.org.apache.xerces.internal.util.SecurityManager manager 
51
 
          = new com.sun.org.apache.xerces.internal.util.SecurityManager();
 
50
        org.apache.xerces.util.SecurityManager manager 
 
51
          = new org.apache.xerces.util.SecurityManager();
52
52
        setProperty(Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY, manager);
53
53
        
54
54
    }