various build failures for the dom-ts

"Min Sheng Lu" <[email protected]>
Newsgroups gmane.comp.web.dom.test-suites.general
Message-ID <[email protected]>
Hi all,

I have been having a look at the dom test suite, and after checking out
2001/ from dev.w3.org I found that I couldn't build anything in the
DOM-Test-Suite apart from the dom*-schema option.

My setup and some of the error messages for the various build optons I have
tried are as follows:

jdk1.3.1_02
ant 1.4
xalan-j 2.3.1
redhat 7.1

Although the *core-gen-* options complained that it cannot load requested
documents, the corresponding xml files are all present in
tests/level*/core/tests.

Any help would be appreciated.

Min


-- ant dom1-core-validate-tests --
###########################################
Buildfile: build.xml

init:

dom1-core-validate-tests:
[xmlvalidate]
/cache/min/cvs/w3c/2001/DOM-Test-Suite/tests/level1/core/metadata.xml:14:65:
Attribute "xmlns" must be declared for element type "metadata".

BUILD FAILED

/cache/min/cvs/w3c/2001/DOM-Test-Suite/build.xml:736:
/cache/min/cvs/w3c/2001/DOM-Test-Suite/tests/level1/core/metadata.xml is not
a valid XML document.

Total time: 24 seconds


--ant dom2-core-validate-tests --
###########################################

Buildfile: build.xml

init:

dom2-core-validate-tests:

BUILD FAILED

/cache/min/cvs/w3c/2001/DOM-Test-Suite/build.xml:968: Could'nt validate
document
/cache/min/cvs/w3c/2001/DOM-Test-Suite/tests/level2/core/alltests.xml

Total time: 2 seconds


-- ant dom1-core-gen-jsunit --
###########################################

Buildfile: build.xml

init:

jsunit-get:
      [get] Getting: http://www.edwardh.com/jsunit/jsunit.zip

jsunit-init:
    [unzip] Expanding: /cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/jsunit.zip
into /cache/min/cvs/w3c/2001/DOM-Test-Suite/lib
    [patch] patching file
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/jsunit/app/main.html
    [patch] Hunk #1 FAILED at 46.
    [patch] Hunk #2 FAILED at 274.
    [patch] Hunk #3 FAILED at 280.
    [patch] 3 out of 3 hunks FAILED -- saving rejects to file
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/jsunit/app/main.html.rej
    [patch] patching file
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/jsunit/app/jsUnitRunner.js
    [patch] Reversed (or previously applied) patch detected!  Assume -R? [n]
    [patch] Apply anyway? [n]
    [patch] Skipping patch.
    [patch] 3 out of 3 hunks ignored -- saving rejects to file
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/jsunit/app/jsUnitRunner.js.rej
    [patch] patching file
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/jsunit/app/jsUnitCore.js

dom1-check-spec:

get-dom1:

dom1-init:
    [unzip] Expanding:
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/specs/DOM.zip into
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/specs/Level-1
    [unzip] Expanding:
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/specs/Level-1/xml-source.zip into
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/specs/Level-1
    [patch] patching file
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/specs/Level-1/xml/wd-dom.xml
    [patch] patching file
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/specs/Level-1/xml/definitions/lev
el-one-core/element.xml

dom1-interfaces:
    [style] Processing
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/specs/Level-1/xml/wd-dom.xml to
/cache/min/cvs/w3c/2001/DOM-Test-Suite/build/dom1-interfaces.xml
    [style] Loading stylesheet
/cache/min/cvs/w3c/2001/DOM-Test-Suite/transforms/extract.xsl

dom1-dtd:
    [style] Processing
/cache/min/cvs/w3c/2001/DOM-Test-Suite/lib/specs/Level-1/xml/wd-dom.xml to
/cache/min/cvs/w3c/2001/DOM-Test-Suite/build/dom1.dtd
    [style] Loading stylesheet
/cache/min/cvs/w3c/2001/DOM-Test-Suite/transforms/dom-to-dtd.xsl
     [copy] Copying 1 file to
/cache/min/cvs/w3c/2001/DOM-Test-Suite/tests/level1/core
     [copy] Copying 1 file to
/cache/min/cvs/w3c/2001/DOM-Test-Suite/tests/level1/html

dom1-core-gen-jsunit:
    [mkdir] Created dir:
/cache/min/cvs/w3c/2001/DOM-Test-Suite/build/level1/core/ecmascript/tests
     [copy] Copying 1 file to
/cache/min/cvs/w3c/2001/DOM-Test-Suite/build/level1/core/ecmascript/tests
     [copy] Copying 8 files to
/cache/min/cvs/w3c/2001/DOM-Test-Suite/build/level1/core/ecmascript/tests
     [copy] Copying 1 file to
/cache/min/cvs/w3c/2001/DOM-Test-Suite/build/level1/core/ecmascript/tests
    [style] Transforming into
/cache/min/cvs/w3c/2001/DOM-Test-Suite/build/level1/core/ecmascript/tests
    [style] Transforming into
/cache/min/cvs/w3c/2001/DOM-Test-Suite/build/level1/core/ecmascript/tests
    [style] Loading stylesheet
/cache/min/cvs/w3c/2001/DOM-Test-Suite/transforms/test-to-jsunit.xsl
    [style]
file:////cache/min/cvs/w3c/2001/DOM-Test-Suite/transforms/test-to-ecmascript
.xsl; Line 240; Column 60; Can not load requested doc: elementnormalize.xml
    [style]
file:////cache/min/cvs/w3c/2001/DOM-Test-Suite/transforms/test-to-ecmascript
.xsl; Line 240; Column 60; Can not load requested doc:
elementremoveattribute.xml

BUILD FAILED

java.lang.OutOfMemoryError
        <<no stack trace available>>

-- ant dom1-core-gen-ecmascript --
######################################

last few lines only, I terminated the process since it wasn't going anywhere
:(


  [style]
file:////cache/min/cvs/w3c/2001/DOM-Test-Suite/transforms/test-to-ecmascript
.xsl; Line 240; Column 60; Can not load requested doc:
nodenotationnodetype.xml
    [style]
file:////cache/min/cvs/w3c/2001/DOM-Test-Suite/transforms/test-to-ecmascript
.xsl; Line 240; Column 60; Can not load requested doc:
nodenotationnodevalue.xml
    [style]
file:////cache/min/cvs/w3c/2001/DOM-Test-Suite/transforms/test-to-ecmascript
.xsl; Line 240; Column 60; Can not load requested doc: nodeparentnode.xml
    [style]
file:////cache/min/cvs/w3c/2001/DOM-Test-Suite/transforms/test-to-ecmascript
.xsl; Line 240; Column 60; Can not load requested doc:
nodeparentnodenull.xml
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.