7171918: XmlReaderContentHandler.endElement does not handle a Delete Tag properly
authorlancea
Tue, 12 Jun 2012 17:32:01 -0400
changeset 13013 87829cbb7fbe
parent 13012 c4ef809d7fca
child 13015 b87f392315f2
7171918: XmlReaderContentHandler.endElement does not handle a Delete Tag properly Reviewed-by: joehw
jdk/src/share/classes/com/sun/rowset/internal/XmlReaderContentHandler.java
--- a/jdk/src/share/classes/com/sun/rowset/internal/XmlReaderContentHandler.java	Mon Jun 11 07:10:48 2012 -0400
+++ b/jdk/src/share/classes/com/sun/rowset/internal/XmlReaderContentHandler.java	Tue Jun 12 17:32:01 2012 -0400
@@ -764,6 +764,7 @@
                     rs.next();
                     rs.setOriginalRow();
                     applyUpdates();
+                    rs.deleteRow();
                 } catch (SQLException ex) {
                     throw new SAXException(MessageFormat.format(resBundle.handleGetObject("xmlrch.errdel").toString() , ex.getMessage()));
                 }