Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7171918

XmlReaderContentHandler.endElement does not handle a Delete Tag properly

XMLWordPrintable

    • 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()));
                      }

            lancea Lance Andersen
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: