ClassCastExceptions in the Java L2 HTML test suite

"Kartikaya Gupta" <[email protected]> Thu, 22 Nov 2007 10:11:26 -0500
Newsgroups gmane.comp.web.dom.test-suites.general
Message-ID <[email protected]>
Hi,

I've been getting the L2 HTML test suite running on a Java
implementation of the DOM, and I'm getting ClassCastExceptions on 11
test cases. I did a search through the mailing list archives but didn't
see any previous messages on the topic, and the source in CVS also looks
like it hasn't been updated. Anyway, here's the list of tests that are
failing, grouped by what it's incorrectly trying to cast:

- Trying to cast HTMLCollection to HTMLOptionsCollection
  HTMLOptionsCollection03
  HTMLOptionsCollection04
  HTMLOptionsCollection05
- Trying to cast HTMLTableSectionElement to HTMLTableElement
  HTMLTableElement21
  HTMLTableElement24
- Trying to cast HTMLTableCaptionElement to HTMLTableSectionElement
  HTMLTableElement26
  HTMLTableElement27
- Trying to cast HTMLTableElement to HTMLTableSectionElement
  HTMLTableElement30
  HTMLTableElement32
  HTMLTableElement33
  HTMLTableElement40

Has anybody else run into these problems? Or are they listed in an
errata somewhere that I missed?

Thanks,
Kartikaya Gupta

---------------------------------------------------------------------=0A=
This transmission (including any attachments) may contain confidential infor=
mation, privileged material (including material protected by the solicitor-c=
lient or other applicable privileges), or constitute non-public information.=
 Any use of this information by anyone other than the intended recipient is=
 prohibited. If you have received this transmission in error, please immedia=
tely reply to the sender and delete this information from your system. Use,=
 dissemination, distribution, or reproduction of this transmission by uninte=
nded recipients is not authorized and may be unlawful.