Testing dom1-html.jar

"Curt Arnold" <[email protected]>
Newsgroups gmane.comp.web.dom.test-suites.general
Message-ID <001b01c20c35$704b0580$a800a8c0@CurtMicron>
I've just run dom1-html.jar with a modified versions of Xerces-J (patches attached).  Quite a few tests failed since supporting test files were missing, specifically collection.xml, frame.xml, frameset.xml, and iframe.xml (the HTML versions are also missing).  

I haven't investigated the other failures.  They may or may not be problems with the tests.

D:\domts\2001\DOM-Test-Suite\build>java -cp dom1-html.jar junit.textui.TestRunne
r org.w3c.domts.level1.html.TestXercesHTML
.................F..F........F..............
.........E.E.E.E.E.E.E.E.E.E.E.E.....F.F.F..F.F.F.F.F.F.F......
.......................F..................
...........F.............................F.
............................F.............
.....................E........E.E.E.E.E.E.E.E.E.E..F.
F.F.F.F.F.....F.E.E.E.E.E.E.E.E.E.E.............F.F........
...............................E..........
.........................F.....F...........
....F...F....E..............................
......................E..E..E...............
F.F..F.F.E.F.F.E.E.E.E.E.E.F..........E.E.E.E..............
...........F..........F.F...
Time: 451.869
There were 49 errors:
1) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection01(org.w3c.do
mts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection01.runTest(HTMLCollection01.j
ava:64)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
2) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection02(org.w3c.do
mts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection02.runTest(HTMLCollection02.j
ava:64)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
3) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection03(org.w3c.do
mts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection03.runTest(HTMLCollection03.j
ava:64)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
4) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection04(org.w3c.do
mts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection04.runTest(HTMLCollection04.j
ava:72)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
5) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection05(org.w3c.do
mts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection05.runTest(HTMLCollection05.j
ava:62)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
6) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection06(org.w3c.do
mts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection06.runTest(HTMLCollection06.j
ava:64)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
7) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection07(org.w3c.do
mts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection07.runTest(HTMLCollection07.j
ava:64)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
8) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection08(org.w3c.do
mts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection08.runTest(HTMLCollection08.j
ava:64)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
9) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection09(org.w3c.do
mts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection09.runTest(HTMLCollection09.j
ava:63)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
10) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection10(org.w3c.d
omts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection10.runTest(HTMLCollection10.j
ava:66)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
11) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection11(org.w3c.d
omts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection11.runTest(HTMLCollection11.j
ava:66)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
12) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLCollection12(org.w3c.d
omts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\collection.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLCollection12.runTest(HTMLCollection12.j
ava:66)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
13) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFormElement01(org.w3c.
domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLCollectionImpl
        at org.w3c.domts.level1.html.HTMLFormElement01.runTest(HTMLFormElement01
.java:83)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
14) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFrameElement01(org.w3c
.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\frame.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLFrameElement01.runTest(HTMLFrameElement
01.java:62)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
15) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFrameElement02(org.w3c
.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\frame.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLFrameElement02.runTest(HTMLFrameElement
02.java:61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
16) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFrameElement03(org.w3c
.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\frame.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLFrameElement03.runTest(HTMLFrameElement
03.java:60)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
17) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFrameElement04(org.w3c
.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\frame.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLFrameElement04.runTest(HTMLFrameElement
04.java:60)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
18) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFrameElement05(org.w3c
.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\frame.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLFrameElement05.runTest(HTMLFrameElement
05.java:61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
19) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFrameElement06(org.w3c
.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\frame.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLFrameElement06.runTest(HTMLFrameElement
06.java:61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
20) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFrameElement07(org.w3c
.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\frame.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLFrameElement07.runTest(HTMLFrameElement
07.java:61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
21) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFrameElement08(org.w3c
.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\frame.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLFrameElement08.runTest(HTMLFrameElement
08.java:60)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
22) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFrameSetElement01(org.
w3c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\frameset.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLFrameSetElement01.runTest(HTMLFrameSetE
lement01.java:61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
23) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLFrameSetElement02(org.
w3c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\frameset.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLFrameSetElement02.runTest(HTMLFrameSetE
lement02.java:61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
24) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLIFrameElement01(org.w3
c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\iframe.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLIFrameElement01.runTest(HTMLIFrameEleme
nt01.java:61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
25) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLIFrameElement02(org.w3
c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\iframe.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLIFrameElement02.runTest(HTMLIFrameEleme
nt02.java:62)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
26) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLIFrameElement03(org.w3
c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\iframe.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLIFrameElement03.runTest(HTMLIFrameEleme
nt03.java:60)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
27) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLIFrameElement04(org.w3
c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\iframe.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLIFrameElement04.runTest(HTMLIFrameEleme
nt04.java:61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
28) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLIFrameElement05(org.w3
c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\iframe.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLIFrameElement05.runTest(HTMLIFrameEleme
nt05.java:60)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
29) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLIFrameElement06(org.w3
c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\iframe.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLIFrameElement06.runTest(HTMLIFrameEleme
nt06.java:60)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
30) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLIFrameElement07(org.w3
c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\iframe.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLIFrameElement07.runTest(HTMLIFrameEleme
nt07.java:61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
31) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLIFrameElement08(org.w3
c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\iframe.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLIFrameElement08.runTest(HTMLIFrameEleme
nt08.java:61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
32) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLIFrameElement09(org.w3
c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\iframe.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLIFrameElement09.runTest(HTMLIFrameEleme
nt09.java:60)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
33) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLIFrameElement10(org.w3
c.domts.JUnitTestCaseAdapter)
java.io.FileNotFoundException: D:\domts\2001\DOM-Test-Suite\build\tests\level1\h
tml\files\iframe.xml (The system cannot find the path specified)
        at org.w3c.domts.XercesHTMLDocumentBuilderFactory.load(XercesHTMLDocumen
tBuilderFactory.java:205)
        at org.w3c.domts.DOMTest.load(DOMTest.java:113)
        at org.w3c.domts.level1.html.HTMLIFrameElement10.runTest(HTMLIFrameEleme
nt10.java:60)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
34) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLMapElement01(org.w3c.d
omts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLCollectionImpl
        at org.w3c.domts.level1.html.HTMLMapElement01.runTest(HTMLMapElement01.j
ava:81)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
35) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLSelectElement08(org.w3
c.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLCollectionImpl
        at org.w3c.domts.level1.html.HTMLSelectElement08.runTest(HTMLSelectEleme
nt08.java:96)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
36) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement01(org.w3c
.domts.JUnitTestCaseAdapter)
java.lang.NullPointerException
        at org.w3c.domts.level1.html.HTMLTableElement01.runTest(HTMLTableElement
01.java:84)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
37) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement03(org.w3c
.domts.JUnitTestCaseAdapter)
java.lang.NullPointerException
        at org.w3c.domts.level1.html.HTMLTableElement03.runTest(HTMLTableElement
03.java:84)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
38) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement05(org.w3c
.domts.JUnitTestCaseAdapter)
java.lang.NullPointerException
        at org.w3c.domts.level1.html.HTMLTableElement05.runTest(HTMLTableElement
05.java:84)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
39) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement25(org.w3c
.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLTableCaptionElementImpl
        at org.w3c.domts.level1.html.HTMLTableElement25.runTest(HTMLTableElement
25.java:70)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
40) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement28(org.w3c
.domts.JUnitTestCaseAdapter)
java.lang.NullPointerException
        at org.w3c.domts.level1.html.HTMLTableElement28.runTest(HTMLTableElement
28.java:72)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
41) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement29(org.w3c
.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLCollectionImpl
        at org.w3c.domts.level1.html.HTMLTableElement29.runTest(HTMLTableElement
29.java:74)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
42) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement30(org.w3c
.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLTableElementImpl
        at org.w3c.domts.level1.html.HTMLTableElement30.runTest(HTMLTableElement
30.java:72)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
43) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement31(org.w3c
.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLCollectionImpl
        at org.w3c.domts.level1.html.HTMLTableElement31.runTest(HTMLTableElement
31.java:75)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
44) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement32(org.w3c
.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLTableElementImpl
        at org.w3c.domts.level1.html.HTMLTableElement32.runTest(HTMLTableElement
32.java:67)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
45) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement33(org.w3c
.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLTableElementImpl
        at org.w3c.domts.level1.html.HTMLTableElement33.runTest(HTMLTableElement
33.java:66)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
46) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableRowElement11(org.
w3c.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLCollectionImpl
        at org.w3c.domts.level1.html.HTMLTableRowElement11.runTest(HTMLTableRowE
lement11.java:78)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
47) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableRowElement12(org.
w3c.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLCollectionImpl
        at org.w3c.domts.level1.html.HTMLTableRowElement12.runTest(HTMLTableRowE
lement12.java:77)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
48) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableRowElement13(org.
w3c.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLCollectionImpl
        at org.w3c.domts.level1.html.HTMLTableRowElement13.runTest(HTMLTableRowE
lement13.java:76)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
49) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableRowElement14(org.
w3c.domts.JUnitTestCaseAdapter)
java.lang.ClassCastException: org.apache.html.dom.HTMLCollectionImpl
        at org.w3c.domts.level1.html.HTMLTableRowElement14.runTest(HTMLTableRowE
lement14.java:76)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
There were 40 failures:
1) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLAppletElement05(org.w3c
.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: codeBaseLink e
xpected:<xw2k.sdct.itl.nist.gov/brady/dom/files/> but was:<//xw2k.sdct.itl.nist.
gov/brady/dom/files/>
        at org.w3c.domts.JUnitTestCaseAdapter.assertURIEquals(JUnitTestCaseAdapt
er.java:285)
        at org.w3c.domts.DOMTestCase.assertURIEquals(DOMTestCase.java:254)
        at org.w3c.domts.level1.html.HTMLAppletElement05.runTest(HTMLAppletEleme
nt05.java:81)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
2) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLAppletElement07(org.w3c
.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: hspaceLink exp
ected:<0> but was:<6>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLAppletElement07.runTest(HTMLAppletEleme
nt07.java:83)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
3) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLAreaElement05(org.w3c.d
omts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: noHrefLink expec
ted:<false> but was:<true>
        at org.w3c.domts.JUnitTestCaseAdapter.assertFalse(JUnitTestCaseAdapter.j
ava:71)
        at org.w3c.domts.DOMTestCase.assertFalse(DOMTestCase.java:162)
        at org.w3c.domts.level1.html.HTMLAreaElement05.runTest(HTMLAreaElement05
.java:81)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
4) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLDocument02(org.w3c.domt
s.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: referrerLink expect
ed:<> but was:<null>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLDocument02.runTest(HTMLDocument02.java:
62)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
5) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLDocument03(org.w3c.domt
s.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: domainLink expected
:<> but was:<null>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLDocument03.runTest(HTMLDocument03.java:
62)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
6) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLDocument04(org.w3c.domt
s.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: URLLink
        at org.w3c.domts.JUnitTestCaseAdapter.assertURIEquals(JUnitTestCaseAdapt
er.java:245)
        at org.w3c.domts.DOMTestCase.assertURIEquals(DOMTestCase.java:254)
        at org.w3c.domts.level1.html.HTMLDocument04.runTest(HTMLDocument04.java:
61)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
7) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLDocument07(org.w3c.domt
s.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: lengthLink expected
:<1> but was:<0>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:176)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:211)
        at org.w3c.domts.level1.html.HTMLDocument07.runTest(HTMLDocument07.java:
63)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
8) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLDocument08(org.w3c.domt
s.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: lengthLink expected
:<2> but was:<0>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:176)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:211)
        at org.w3c.domts.level1.html.HTMLDocument08.runTest(HTMLDocument08.java:
64)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
9) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLDocument09(org.w3c.domt
s.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: lengthLink expected
:<3> but was:<0>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:176)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:211)
        at org.w3c.domts.level1.html.HTMLDocument09.runTest(HTMLDocument09.java:
64)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
10) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLDocument10(org.w3c.dom
ts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: lengthLink expecte
d:<1> but was:<0>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:176)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:211)
        at org.w3c.domts.level1.html.HTMLDocument10.runTest(HTMLDocument10.java:
63)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
11) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLDocument11(org.w3c.dom
ts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: lengthLink expecte
d:<1> but was:<0>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:176)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:211)
        at org.w3c.domts.level1.html.HTMLDocument11.runTest(HTMLDocument11.java:
64)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
12) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLDocument12(org.w3c.dom
ts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: cookieLink expecte
d:<> but was:<null>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLDocument12.runTest(HTMLDocument12.java:
60)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
13) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLElement01(org.w3c.domt
s.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: idLink expected:<Te
st-HEAD> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLElement01.runTest(HTMLElement01.java:81
)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
14) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLElement30(org.w3c.domt
s.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: titleLink expected:
<HEAD Element> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLElement30.runTest(HTMLElement30.java:81
)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
15) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLElement59(org.w3c.domt
s.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: langLink expected:<
en> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLElement59.runTest(HTMLElement59.java:81
)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
16) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLElement88(org.w3c.domt
s.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: dirLink expected:<l
tr> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLElement88.runTest(HTMLElement88.java:81
)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
17) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLElement117(org.w3c.dom
ts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: classNameLink expe
cted:<HEAD-class> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLElement117.runTest(HTMLElement117.java:
81)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
18) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLHeadingElement01(org.w
3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: alignLink ex
pected:<center> but was:<align>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLHeadingElement01.runTest(HTMLHeadingEle
ment01.java:81)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
19) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLHeadingElement02(org.w
3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: alignLink ex
pected:<left> but was:<align>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLHeadingElement02.runTest(HTMLHeadingEle
ment02.java:81)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
20) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLHeadingElement03(org.w
3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: alignLink ex
pected:<right> but was:<align>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLHeadingElement03.runTest(HTMLHeadingEle
ment03.java:81)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
21) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLHeadingElement04(org.w
3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: alignLink ex
pected:<justify> but was:<align>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLHeadingElement04.runTest(HTMLHeadingEle
ment04.java:81)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
22) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLHeadingElement05(org.w
3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: alignLink ex
pected:<center> but was:<align>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLHeadingElement05.runTest(HTMLHeadingEle
ment05.java:81)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
23) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLHeadingElement06(org.w
3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: alignLink ex
pected:<left> but was:<align>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLHeadingElement06.runTest(HTMLHeadingEle
ment06.java:81)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
24) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLHtmlElement01(org.w3c.
domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: versionLink exp
ected:<transitional 4.0> but was:<transitional xhtml 1.0>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLHtmlElement01.runTest(HTMLHtmlElement01
.java:83)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
25) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLInputElement01(org.w3c
.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: defaultValueLi
nk expected:<EarlyMornings> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLInputElement01.runTest(HTMLInputElement
01.java:85)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
26) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLInputElement02(org.w3c
.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: defaultChecked
Link
        at org.w3c.domts.JUnitTestCaseAdapter.assertTrue(JUnitTestCaseAdapter.ja
va:66)
        at org.w3c.domts.DOMTestCase.assertTrue(DOMTestCase.java:158)
        at org.w3c.domts.level1.html.HTMLInputElement02.runTest(HTMLInputElement
02.java:85)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
27) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLOptionElement03(org.w3
c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: defaultSelect
edLink
        at org.w3c.domts.JUnitTestCaseAdapter.assertTrue(JUnitTestCaseAdapter.ja
va:66)
        at org.w3c.domts.DOMTestCase.assertTrue(DOMTestCase.java:158)
        at org.w3c.domts.level1.html.HTMLOptionElement03.runTest(HTMLOptionEleme
nt03.java:85)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
28) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLOptionElement08(org.w3
c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: selectedLink
        at org.w3c.domts.JUnitTestCaseAdapter.assertTrue(JUnitTestCaseAdapter.ja
va:66)
        at org.w3c.domts.DOMTestCase.assertTrue(DOMTestCase.java:158)
        at org.w3c.domts.level1.html.HTMLOptionElement08.runTest(HTMLOptionEleme
nt08.java:85)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
29) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLSelectElement01(org.w3
c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: typeLink expe
cted:<select-multiple> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLSelectElement01.runTest(HTMLSelectEleme
nt01.java:85)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
30) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLSelectElement04(org.w3
c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: valueLink exp
ected:<EMP1> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLSelectElement04.runTest(HTMLSelectEleme
nt04.java:83)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
31) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement20(org.w3c
.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: alignLink expe
cted:<center> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLTableElement20.runTest(HTMLTableElement
20.java:72)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
32) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement21(org.w3c
.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: vsection1Id
        at org.w3c.domts.JUnitTestCaseAdapter.assertNotNull(JUnitTestCaseAdapter
.java:80)
        at org.w3c.domts.DOMTestCase.assertNotNull(DOMTestCase.java:170)
        at org.w3c.domts.level1.html.HTMLTableElement21.runTest(HTMLTableElement
21.java:76)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
33) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement23(org.w3c
.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: alignLink expe
cted:<center> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLTableElement23.runTest(HTMLTableElement
23.java:72)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
34) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement24(org.w3c
.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: vsection1Id
        at org.w3c.domts.JUnitTestCaseAdapter.assertNotNull(JUnitTestCaseAdapter
.java:80)
        at org.w3c.domts.DOMTestCase.assertNotNull(DOMTestCase.java:170)
        at org.w3c.domts.level1.html.HTMLTableElement24.runTest(HTMLTableElement
24.java:76)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
35) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement26(org.w3c
.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: vsection1Id
        at org.w3c.domts.JUnitTestCaseAdapter.assertNotNull(JUnitTestCaseAdapter
.java:80)
        at org.w3c.domts.DOMTestCase.assertNotNull(DOMTestCase.java:170)
        at org.w3c.domts.level1.html.HTMLTableElement26.runTest(HTMLTableElement
26.java:70)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
36) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableElement27(org.w3c
.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: vsection1Id
        at org.w3c.domts.JUnitTestCaseAdapter.assertNotNull(JUnitTestCaseAdapter
.java:80)
        at org.w3c.domts.DOMTestCase.assertNotNull(DOMTestCase.java:170)
        at org.w3c.domts.level1.html.HTMLTableElement27.runTest(HTMLTableElement
27.java:66)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
37) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTableRowElement01(org.
w3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: rowIndexLin
k expected:<1> but was:<2>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:176)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:211)
        at org.w3c.domts.level1.html.HTMLTableRowElement01.runTest(HTMLTableRowE
lement01.java:89)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
38) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTextAreaElement01(org.
w3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: defaultValu
eLink expected:<TEXTAREA2> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLTextAreaElement01.runTest(HTMLTextAreaE
lement01.java:85)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
39) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTextAreaElement11(org.
w3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: typeLink ex
pected:<textarea> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLTextAreaElement11.runTest(HTMLTextAreaE
lement11.java:83)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)
40) http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLTextAreaElement12(org.
w3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedError: valueLink e
xpected:<TEXTAREA1> but was:<>
        at org.w3c.domts.JUnitTestCaseAdapter.assertEquals(JUnitTestCaseAdapter.
java:172)
        at org.w3c.domts.DOMTestCase.assertEquals(DOMTestCase.java:207)
        at org.w3c.domts.level1.html.HTMLTextAreaElement12.runTest(HTMLTextAreaE
lement12.java:85)
        at org.w3c.domts.JUnitTestCaseAdapter.runTest(JUnitTestCaseAdapter.java:
53)

FAILURES!!!
Tests run: 517,  Failures: 40,  Errors: 49
HTMLDocumentImpl.patch (application/octet-stream, 13.6 KB)
Index: HTMLDocumentImpl.java
===================================================================
RCS file: /home/cvspublic/xml-xerces/java/src/org/apache/html/dom/HTMLDocumentImpl.java,v
retrieving revision 1.10
diff -u -2 -r1.10 HTMLDocumentImpl.java
--- HTMLDocumentImpl.java	15 May 2002 06:39:00 -0000	1.10
+++ HTMLDocumentImpl.java	5 Jun 2002 02:03:34 -0000
@@ -201,5 +201,5 @@
         // entire contents of the document into it in the same order as
         // they appear now.
-        html = new HTMLHtmlElementImpl( this, "HTML" );
+        html = new HTMLHtmlElementImpl( this, "html" );
         child = getFirstChild();
         while ( child != null )
@@ -262,5 +262,5 @@
             // Head does not exist, create a new one, place it at the top of the
             // HTML element and return it.
-            head = new HTMLHeadElementImpl( this, "HEAD" );
+            head = new HTMLHeadElementImpl( this, "head" );
             html.insertBefore( head, html.getFirstChild() );
         }
@@ -279,6 +279,6 @@
         // and return the title's text (the Text node contained within).
         head = getHead();
-        title = head.getElementsByTagName( "TITLE" ).item( 0 );
-        list = head.getElementsByTagName( "TITLE" );
+        title = head.getElementsByTagName( "title" ).item( 0 );
+        list = head.getElementsByTagName( "title" );
         if ( list.getLength() > 0 ) {
             title = list.item( 0 );
@@ -300,5 +300,5 @@
         // and set the title's text (the Text node contained within).
         head = getHead();
-        list = head.getElementsByTagName( "TITLE" );
+        list = head.getElementsByTagName( "title" );
         if ( list.getLength() > 0 ) {
             title = list.item( 0 );
@@ -311,5 +311,5 @@
             // No TITLE found, create a new element and place it at the end
             // of the HEAD element.
-            title = new HTMLTitleElementImpl( this, "TITLE" );
+            title = new HTMLTitleElementImpl( this, "title" );
             ( (HTMLTitleElement) title ).setText( newTitle );
             head.appendChild( title );
@@ -357,5 +357,5 @@
             // BODY does not exist, create a new one, place it in the HTML element
             // right after the HEAD and return it.
-            body = new HTMLBodyElementImpl( this, "BODY" );
+            body = new HTMLBodyElementImpl( this, "body" );
             html.appendChild( body );
         }
@@ -381,5 +381,5 @@
             synchronized ( html )
             {
-                list = this.getElementsByTagName( "BODY" );
+                list = this.getElementsByTagName( "body" );
                 if ( list.getLength() > 0 ) {
                     // BODY exists but might not follow HEAD in HTML. If not,
@@ -428,5 +428,5 @@
     public final NodeList getElementsByTagName( String tagName )
     {
-        return super.getElementsByTagName( tagName.toUpperCase() );
+        return super.getElementsByTagName( tagName.toLowerCase() );
     }
 
@@ -436,7 +436,7 @@
     {
         if ( namespaceURI != null && namespaceURI.length() > 0 )
-            return super.getElementsByTagNameNS( namespaceURI, localName.toUpperCase() );
+            return super.getElementsByTagNameNS( namespaceURI, localName.toLowerCase() );
         else
-            return super.getElementsByTagName( localName.toUpperCase() );
+            return super.getElementsByTagName( localName.toLowerCase() );
     } 
 
@@ -459,13 +459,22 @@
         throws DOMException
     {
-        return createElementNS(namespaceURI, qualifiedName);
+        if ( namespaceURI == null || namespaceURI.length() == 0 || 
+            namespaceURI.equals("http://www.w3.org/1999/xhtml")) {
+            return createElement( localpart );
+        } else {
+            return createElement( localpart );
+//            return super.createElementNS( namespaceURI, qualifiedName, localpart );
+        }
     }
     
     public Element createElementNS( String namespaceURI, String qualifiedName )
     {
-        if ( namespaceURI == null || namespaceURI.length() == 0 )
-            return createElement( qualifiedName );
-        else {
-            return super.createElementNS( namespaceURI, qualifiedName );
+        int colonPos = qualifiedName.indexOf(':');
+        if (colonPos >= 0) {
+            return createElementNS(namespaceURI, qualifiedName, 
+                qualifiedName.substring(colonPos+1));
+        } else {
+            return createElementNS(namespaceURI, qualifiedName,
+                qualifiedName);
         }
     }
@@ -478,8 +487,4 @@
         Constructor    cnst;
 
-        // First, make sure tag name is all upper case, next get the associated
-        // element class. If no class is found, generate a generic HTML element.
-        // Do so also if an unexpected exception occurs.
-        tagName = tagName.toUpperCase();
         elemClass = (Class) _elementTypesHTML.get( tagName );
         if ( elemClass != null )
@@ -511,19 +516,4 @@
 
 
-    /**
-     * Creates an Attribute having this Document as its OwnerDoc.
-     * Overrides {@link DocumentImpl#createAttribute} and returns
-     * and attribute whose name is lower case.
-     *
-     * @param name The name of the attribute
-     * @return An attribute whose name is all lower case
-     * @throws DOMException(INVALID_NAME_ERR) if the attribute name
-     *   is not acceptable
-     */
-    public Attr createAttribute( String name )
-        throws DOMException
-    {
-        return super.createAttribute( name.toLowerCase() );
-    }
 
 
@@ -708,67 +698,67 @@
             return;
         _elementTypesHTML = new Hashtable( 63 );
-        populateElementType( "A", "HTMLAnchorElementImpl" );
-        populateElementType( "APPLET", "HTMLAppletElementImpl" );
-        populateElementType( "AREA", "HTMLAreaElementImpl" );
-        populateElementType( "BASE",  "HTMLBaseElementImpl" );
-        populateElementType( "BASEFONT", "HTMLBaseFontElementImpl" );
-        populateElementType( "BLOCKQUOTE", "HTMLQuoteElementImpl" );
-        populateElementType( "BODY", "HTMLBodyElementImpl" );
-        populateElementType( "BR", "HTMLBRElementImpl" );
-        populateElementType( "BUTTON", "HTMLButtonElementImpl" );
-        populateElementType( "DEL", "HTMLModElementImpl" );
-        populateElementType( "DIR", "HTMLDirectoryElementImpl" );
-        populateElementType( "DIV",  "HTMLDivElementImpl" );
-        populateElementType( "DL", "HTMLDListElementImpl" );
-        populateElementType( "FIELDSET", "HTMLFieldSetElementImpl" );
-        populateElementType( "FONT", "HTMLFontElementImpl" );
-        populateElementType( "FORM", "HTMLFormElementImpl" );
-        populateElementType( "FRAME","HTMLFrameElementImpl" );
-        populateElementType( "FRAMESET", "HTMLFrameSetElementImpl" );
-        populateElementType( "HEAD", "HTMLHeadElementImpl" );
-        populateElementType( "H1", "HTMLHeadingElementImpl" );
-        populateElementType( "H2", "HTMLHeadingElementImpl" );
-        populateElementType( "H3", "HTMLHeadingElementImpl" );
-        populateElementType( "H4", "HTMLHeadingElementImpl" );
-        populateElementType( "H5", "HTMLHeadingElementImpl" );
-        populateElementType( "H6", "HTMLHeadingElementImpl" );
-        populateElementType( "HR", "HTMLHRElementImpl" );
-        populateElementType( "HTML", "HTMLHtmlElementImpl" );
-        populateElementType( "IFRAME", "HTMLIFrameElementImpl" );
-        populateElementType( "IMG", "HTMLImageElementImpl" );
-        populateElementType( "INPUT", "HTMLInputElementImpl" );
-        populateElementType( "INS", "HTMLModElementImpl" );
-        populateElementType( "ISINDEX", "HTMLIsIndexElementImpl" );
-        populateElementType( "LABEL", "HTMLLabelElementImpl" );
-        populateElementType( "LEGEND", "HTMLLegendElementImpl" );
-        populateElementType( "LI", "HTMLLIElementImpl" );
-        populateElementType( "LINK", "HTMLLinkElementImpl" );
-        populateElementType( "MAP", "HTMLMapElementImpl" );
-        populateElementType( "MENU", "HTMLMenuElementImpl" );
-        populateElementType( "META", "HTMLMetaElementImpl" );
-        populateElementType( "OBJECT", "HTMLObjectElementImpl" );
-        populateElementType( "OL", "HTMLOListElementImpl" );
-        populateElementType( "OPTGROUP", "HTMLOptGroupElementImpl" );
-        populateElementType( "OPTION", "HTMLOptionElementImpl" );
-        populateElementType( "P", "HTMLParagraphElementImpl" );
-        populateElementType( "PARAM", "HTMLParamElementImpl" );
-        populateElementType( "PRE", "HTMLPreElementImpl" );
-        populateElementType( "Q", "HTMLQuoteElementImpl" );
-        populateElementType( "SCRIPT", "HTMLScriptElementImpl" );
-        populateElementType( "SELECT", "HTMLSelectElementImpl" );
-        populateElementType( "STYLE", "HTMLStyleElementImpl" );
-        populateElementType( "TABLE", "HTMLTableElementImpl" );
-        populateElementType( "CAPTION", "HTMLTableCaptionElementImpl" );
-        populateElementType( "TD", "HTMLTableCellElementImpl" );
-        populateElementType( "TH", "HTMLTableCellElementImpl" );
-        populateElementType( "COL", "HTMLTableColElementImpl" );
-        populateElementType( "COLGROUP", "HTMLTableColElementImpl" );
-        populateElementType( "TR", "HTMLTableRowElementImpl" );
-        populateElementType( "TBODY", "HTMLTableSectionElementImpl" );
-        populateElementType( "THEAD", "HTMLTableSectionElementImpl" );
-        populateElementType( "TFOOT", "HTMLTableSectionElementImpl" );
-        populateElementType( "TEXTAREA", "HTMLTextAreaElementImpl" );
-        populateElementType( "TITLE", "HTMLTitleElementImpl" );
-        populateElementType( "UL", "HTMLUListElementImpl" );
+        populateElementType( "a", "HTMLAnchorElementImpl" );
+        populateElementType( "applet", "HTMLAppletElementImpl" );
+        populateElementType( "area", "HTMLAreaElementImpl" );
+        populateElementType( "base",  "HTMLBaseElementImpl" );
+        populateElementType( "basefont", "HTMLBaseFontElementImpl" );
+        populateElementType( "blockquote", "HTMLQuoteElementImpl" );
+        populateElementType( "body", "HTMLBodyElementImpl" );
+        populateElementType( "br", "HTMLBRElementImpl" );
+        populateElementType( "button", "HTMLButtonElementImpl" );
+        populateElementType( "del", "HTMLModElementImpl" );
+        populateElementType( "dir", "HTMLDirectoryElementImpl" );
+        populateElementType( "div",  "HTMLDivElementImpl" );
+        populateElementType( "dl", "HTMLDListElementImpl" );
+        populateElementType( "fieldset", "HTMLFieldSetElementImpl" );
+        populateElementType( "font", "HTMLFontElementImpl" );
+        populateElementType( "form", "HTMLFormElementImpl" );
+        populateElementType( "frame","HTMLFrameElementImpl" );
+        populateElementType( "frameset", "HTMLFrameSetElementImpl" );
+        populateElementType( "head", "HTMLHeadElementImpl" );
+        populateElementType( "h1", "HTMLHeadingElementImpl" );
+        populateElementType( "h2", "HTMLHeadingElementImpl" );
+        populateElementType( "h3", "HTMLHeadingElementImpl" );
+        populateElementType( "h4", "HTMLHeadingElementImpl" );
+        populateElementType( "h5", "HTMLHeadingElementImpl" );
+        populateElementType( "h6", "HTMLHeadingElementImpl" );
+        populateElementType( "hr", "HTMLHRElementImpl" );
+        populateElementType( "html", "HTMLHtmlElementImpl" );
+        populateElementType( "iframe", "HTMLIFrameElementImpl" );
+        populateElementType( "img", "HTMLImageElementImpl" );
+        populateElementType( "input", "HTMLInputElementImpl" );
+        populateElementType( "ins", "HTMLModElementImpl" );
+        populateElementType( "isindex", "HTMLIsIndexElementImpl" );
+        populateElementType( "label", "HTMLLabelElementImpl" );
+        populateElementType( "legend", "HTMLLegendElementImpl" );
+        populateElementType( "li", "HTMLLIElementImpl" );
+        populateElementType( "link", "HTMLLinkElementImpl" );
+        populateElementType( "map", "HTMLMapElementImpl" );
+        populateElementType( "menu", "HTMLMenuElementImpl" );
+        populateElementType( "meta", "HTMLMetaElementImpl" );
+        populateElementType( "object", "HTMLObjectElementImpl" );
+        populateElementType( "ol", "HTMLOListElementImpl" );
+        populateElementType( "optgroup", "HTMLOptGroupElementImpl" );
+        populateElementType( "option", "HTMLOptionElementImpl" );
+        populateElementType( "p", "HTMLParagraphElementImpl" );
+        populateElementType( "param", "HTMLParamElementImpl" );
+        populateElementType( "pre", "HTMLPreElementImpl" );
+        populateElementType( "q", "HTMLQuoteElementImpl" );
+        populateElementType( "script", "HTMLScriptElementImpl" );
+        populateElementType( "select", "HTMLSelectElementImpl" );
+        populateElementType( "style", "HTMLStyleElementImpl" );
+        populateElementType( "table", "HTMLTableElementImpl" );
+        populateElementType( "caption", "HTMLTableCaptionElementImpl" );
+        populateElementType( "td", "HTMLTableCellElementImpl" );
+        populateElementType( "th", "HTMLTableCellElementImpl" );
+        populateElementType( "col", "HTMLTableColElementImpl" );
+        populateElementType( "colgroup", "HTMLTableColElementImpl" );
+        populateElementType( "tr", "HTMLTableRowElementImpl" );
+        populateElementType( "tbody", "HTMLTableSectionElementImpl" );
+        populateElementType( "thead", "HTMLTableSectionElementImpl" );
+        populateElementType( "tfoot", "HTMLTableSectionElementImpl" );
+        populateElementType( "textarea", "HTMLTextAreaElementImpl" );
+        populateElementType( "title", "HTMLTitleElementImpl" );
+        populateElementType( "ul", "HTMLUListElementImpl" );
     }
HTMLElementImpl.patch (application/octet-stream, 2.6 KB)
Index: HTMLElementImpl.java
===================================================================
RCS file: /home/cvspublic/xml-xerces/java/src/org/apache/html/dom/HTMLElementImpl.java,v
retrieving revision 1.4
diff -u -2 -r1.4 HTMLElementImpl.java
--- HTMLElementImpl.java	21 Dec 2000 00:33:40 -0000	1.4
+++ HTMLElementImpl.java	5 Jun 2002 02:03:04 -0000
@@ -93,5 +93,5 @@
     HTMLElementImpl( HTMLDocumentImpl owner, String tagName )
     {
-        super( owner, tagName.toUpperCase() );
+        super( owner, tagName );
     }
     
@@ -244,5 +244,5 @@
     public final NodeList getElementsByTagName( String tagName )
     {
-	return super.getElementsByTagName( tagName.toUpperCase() );
+	return super.getElementsByTagName( tagName.toLowerCase() );
     }
 
@@ -252,7 +252,7 @@
     {
 	if ( namespaceURI != null && namespaceURI.length() > 0 )
-	    return super.getElementsByTagNameNS( namespaceURI, localName.toUpperCase() );
+	    return super.getElementsByTagNameNS( namespaceURI, localName.toLowerCase() );
 	else
-	    return super.getElementsByTagName( localName.toUpperCase() );
+	    return super.getElementsByTagName( localName.toLowerCase() );
     } 
 
@@ -268,17 +268,4 @@
     String capitalize( String value )
     {
-        char[]    chars;
-        int        i;
-        
-        // Convert string to charactares. Convert the first one to upper case,
-        // the other characters to lower case, and return the converted string.
-        chars = value.toCharArray();
-        if ( chars.length > 0 )
-        {
-            chars[ 0 ] = Character.toUpperCase( chars[ 0 ] );
-            for ( i = 1 ; i < chars.length ; ++i )
-                chars[ i ] = Character.toLowerCase( chars[ i ] );
-            return String.valueOf( chars );
-        }
         return value;
     }
@@ -295,23 +282,5 @@
     String getCapitalized( String name )
     {
-        String    value;
-        char[]    chars;
-        int        i;
-        
-        value = getAttribute( name );
-        if ( value != null )
-        {
-            // Convert string to charactares. Convert the first one to upper case,
-            // the other characters to lower case, and return the converted string.
-            chars = value.toCharArray();
-            if ( chars.length > 0 )
-            {
-                chars[ 0 ] = Character.toUpperCase( chars[ 0 ] );
-                for ( i = 1 ; i < chars.length ; ++i )
-                    chars[ i ] = Character.toLowerCase( chars[ i ] );
-                return String.valueOf( chars );
-            }
-        }
-        return value;
+        return name;
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.