-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b45
-
generic
-
generic
XmlReaderContentHandler.endElement does not handle a Delete Tag properly
The DelTag case statement needs to mark the row as deleted by being changed to:
case DelTag:
try {
rs.insertRow();
rs.moveToCurrentRow();
rs.next();
rs.setOriginalRow();
applyUpdates();
rs.deleteRow();
} catch (SQLException ex) {
throw new SAXException(MessageFormat.format(resBundle.handleGetObject("xmlrch.errdel").toString() , ex.getMessage()));
}
The DelTag case statement needs to mark the row as deleted by being changed to:
case DelTag:
try {
rs.insertRow();
rs.moveToCurrentRow();
rs.next();
rs.setOriginalRow();
applyUpdates();
rs.deleteRow();
} catch (SQLException ex) {
throw new SAXException(MessageFormat.format(resBundle.handleGetObject("xmlrch.errdel").toString() , ex.getMessage()));
}