Okay, so I updated the versions of Xerces and Neko I'm using with httpunit, and now everything works fine.

Except for one page.  It has an externally included .js file, as so:

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" SRC="http://192.168.0.1/soccer/checkValid.js"></SCRIPT>

Now, possibly because I'm running these tests using ServletUnit, like so:

    ServletRunner srTest;
    private final String WEBTESTDIR = "P:\\Private\\Aaron\\VCS\\Soccer\\proj\\test\\";

    [...]

    public void testEditScore() throws Exception {
        ServletUnitClient sucTest;
        WebRequest wrqTest;
        String strFileName;

        srTest.registerServlet("EditScore", EditScore.class.getName());
        sucTest = srTest.newClient();
        wrqTest = new PostMethodWebRequest("http://localhost/EditScore");
        wrqTest.setParameter("GameID","2182");
        strFileName = WEBTESTDIR + "editscore_sample_2182.html";
        checkServletOutput(sucTest.getResponse(wrqTest), strFileName);
    }

...I get an error running the test:

1) testEditScore(com.kakari.soccer.test.SoccerWebTest)com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 No servlet mapping defined [http://192.168.0.1/soccer/checkValid.js]
    at com.meterware.servletunit.WebApplication$ServletRequestImpl.getServlet(WebApplication.java:555)
    at com.meterware.servletunit.InvocationContextImpl.getServlet(InvocationContextImpl.java:73)
    at com.meterware.servletunit.ServletUnitClient.newResponse(ServletUnitClient.java:94)
    at com.meterware.httpunit.WebWindow.getResource(WebWindow.java:162)
    at com.meterware.httpunit.ParsedHTML.getIncludedScript(ParsedHTML.java:305)
    at com.meterware.httpunit.HTMLPage$1.getIncludedScript(HTMLPage.java:246)
    at com.meterware.httpunit.parsing.NekoDOMParser.getIncludedScript(NekoDOMParser.java:105)
    at com.meterware.httpunit.parsing.ScriptFilter.startElement(ScriptFilter.java:92)
    at org.cyberneko.html.HTMLTagBalancer.callStartElement(Unknown Source)
    at org.cyberneko.html.HTMLTagBalancer.startElement(Unknown Source)
    at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(Unknown Source)
    at org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown Source)
    at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source)
    at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
    at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at com.meterware.httpunit.parsing.NekoHTMLParser.parse(NekoHTMLParser.java:41)
    at com.meterware.httpunit.HTMLPage.parse(HTMLPage.java:244)
    at com.meterware.httpunit.WebResponse.getReceivedPage(WebResponse.java:1014)
    at com.meterware.httpunit.WebResponse$Scriptable.load(WebResponse.java:611)
    at com.meterware.httpunit.javascript.JavaScript$Window.initialize(JavaScript.java:424)
    at com.meterware.httpunit.javascript.JavaScript.run(JavaScript.java:80)
    at com.meterware.httpunit.javascript.JavaScriptEngineFactory.associate(JavaScriptEngineFactory.java:46)
    at com.meterware.httpunit.RequestContext.runScripts(RequestContext.java:44)
    at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:119)
    at com.meterware.httpunit.WebClient.getResponse(WebClient.java:112)
    at com.kakari.soccer.test.SoccerWebTest.testEditScore(SoccerWebTest.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at com.intellij.rt.execution.junit.TextTestRunner.main(TextTestRunner.java:12)

I haven't have the fortitude yet to venture into the source, but it seems that somehow it is deciding that the path to the .js file needs to be
in the web.xml file.  If it should be, then I don't know a way to specify it, and a Google search yesterday failed to turn up anything likely.
I know that the web page, once deployed to the appropriate machine, works fine and the JavaScript runs as it should.  Is this, then, a limitation
in ServletUnit?  Once it has decided that it is using its own internal mock servlet engine, is it impossible for it to access real web page references
therefrom?

I guess I'll delay my actual JavaScript testing until I can get this working, but I'd like to figure out if there is a way to get this to work, short of
pasting the contents of the .js file into the web page.

--Aaron V. Humphrey
Kakari Systems Ltd.