changeset 13013:87829cbb7fbe

7171918: XmlReaderContentHandler.endElement does not handle a Delete Tag properly Reviewed-by: joehw
author lancea
date Tue, 12 Jun 2012 17:32:01 -0400
parents c4ef809d7fca
children b87f392315f2
files jdk/src/share/classes/com/sun/rowset/internal/XmlReaderContentHandler.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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()));
                 }