Project

General

Profile

« Previous | Next » 

Revision 667

Added by berkley over 23 years ago

closed all preparedStatement variables

View differences:

DocumentImpl.java
413 413
    if(tablehasrows)
414 414
    {
415 415
      int r = rs.getInt(1);
416
      pstmt.close();
416 417
      if(new Integer(rev).intValue() == r)
417 418
      { //the current revision in in xml_documents
418 419
        //System.out.println("returning false");
......
1025 1026
      parser = XMLReaderFactory.createXMLReader(parserName);
1026 1027

  
1027 1028
      // Turn on validation
1028
      parser.setFeature("http://xml.org/sax/features/validation", true);
1029
      parser.setFeature("http://xml.org/sax/features/validation", false);
1029 1030
      // Turn off Including all external parameter entities
1030 1031
      // (the external DTD subset also)
1031 1032
      // Doesn't work well, probably the feature name is not correct

Also available in: Unified diff