Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1187

HTMLCollectionImpl checks against lower-case "tbody". Should be "TBODY" - patch provided

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.1
    • DOM (HTML)
    • None

    Description

      The following code is incorrect given the HTML DOM's upper-case element names....

      case TBODY:
      // Any <TBODY> element (one of three table section types).
      match = ( elem instanceof HTMLTableSectionElement &&
      elem.getTagName().equals( "tbody" ) );
      break;

      Should be...

      case TBODY:
      // Any <TBODY> element (one of three table section types).
      match = ( elem instanceof HTMLTableSectionElement &&
      elem.getTagName().equals( "TBODY" ) );
      break;

      Patch coming up...

      Jake

      Attachments

        1. HTMLCollectionImpl.java.patch
          0.6 kB
          Jacob Kjome

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            hoju Jacob Kjome
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: