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

XmlReaderContentHandler.endElement does not handle a Delete Tag properly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 8
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b45
    • CPU:
      generic
    • OS:
      generic

      Description

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: