Thanks Ola, I was able to checkout survey now.
Jorge, were you able to make tDOM work properly? I got 5 errors while running the domCmd.test file (while running the make test command to be more precise). What can I do about that? I'll post the full results of the test here. Thanks.
make test
TCL_LIBRARY=`echo /usr/src/build/138946-i386/BUILD/tcltk-8.3.3/tcl8.3.3/library` LD_LIBRARY_PATH=".:/usr/lib::/usr/local/pgsql/lib" LIBPATH=".:/usr/lib:" SHLIB_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/pgsql/bin" TCLLIBPATH="." /usr/lib/../bin/tclsh `echo ../tests/all.tcl` -constraints longRunning
Tcl 8.3.3 tests running in interp: /usr/lib/../bin/tclsh
Tests running in working dir: ../tests
Only sourcing test files that match: *.test
Tests began at Wed Jun 25 13:16:45 CST 2003
attribute.test
cdata.test
comment.test
decls.test
doctype.test
dom.test
domCmd.test
==== domCmd-6.2 -useForeignDTD 1 with document with internal subset FAILED
==== Contents of test case:
set baseURI file://[file join [pwd] [file dir [info script]] domCmd.test]
set ::tDOM::useForeignDTD "data/domCmd1.dtd"
set doc [dom parse -useForeignDTD 1 -baseurl $baseURI -externalentitycommand ::tDOM::extRefHandler {
<!DOCTYPE root [
<!ATTLIST root fixed CDATA #FIXED "toThat">
]>
<root/>}]
set root [$doc documentElement]
set result [$root @fixed]
$doc delete
set result
==== Test generated error:
invalid command name "::tDOM::extRefHandler"
---- Result should have been:
toThat
==== domCmd-6.2 FAILED
==== domCmd-6.3 -useForeignDTD 1 with document with internal subset FAILED
==== Contents of test case:
set baseURI file://[file join [pwd] [file dir [info script]] domCmd.test]
set ::tDOM::useForeignDTD "data/domCmd1.dtd"
set doc [dom parse -useForeignDTD 1 -baseurl $baseURI -externalentitycommand ::tDOM::extRefHandler {
<!DOCTYPE root [
<!ATTLIST root fixed2 CDATA #FIXED "toThat">
]>
<root/>}]
set root [$doc documentElement]
set result [$root @fixed]
lappend result [$root @fixed2]
$doc delete
set result
==== Test generated error:
invalid command name "::tDOM::extRefHandler"
---- Result should have been:
toThis toThat
==== domCmd-6.3 FAILED
==== domCmd-6.4 -useForeignDTD 1 with document without document declaration FAILED
==== Contents of test case:
set baseURI file://[file join [pwd] [file dir [info script]] domCmd.test]
set ::tDOM::useForeignDTD "data/domCmd1.dtd"
set doc [dom parse -useForeignDTD 1 -baseurl $baseURI -externalentitycommand ::tDOM::extRefHandler <root/>]
set root [$doc documentElement]
set result [$root @fixed]
$doc delete
set result
==== Test generated error:
invalid command name "::tDOM::extRefHandler"
---- Result should have been:
toThis
==== domCmd-6.4 FAILED
==== domCmd-6.5 -useForeignDTD 1 does not overwrite a given external subset FAILED
==== Contents of test case:
set baseURI file://[file join [pwd] [file dir [info script]] domCmd.test]
set ::tDOM::useForeignDTD "data/domCmd1.dtd"
set doc [dom parse -useForeignDTD 1 -baseurl $baseURI -externalentitycommand ::tDOM::extRefHandler {
<!DOCTYPE root SYSTEM "data/domCmd2.dtd">
<root/>}]
set root [$doc documentElement]
set result [$root @fixed]
$doc delete
set result
==== Test generated error:
invalid command name "::tDOM::extRefHandler"
---- Result should have been:
toThat
==== domCmd-6.5 FAILED
==== domCmd-7.1 document with external subset FAILED
==== Contents of test case:
set baseURI file://[file join [pwd] [file dir [info script]] domCmd.test]
set doc [dom parse -baseurl $baseURI -externalentitycommand ::tDOM::extRefHandler {
<!DOCTYPE root SYSTEM "data/domCmd2.dtd">
<root/>}]
set root [$doc documentElement]
set result [$root @fixed]
$doc delete
set result
==== Test generated error:
invalid command name "::tDOM::extRefHandler"
---- Result should have been:
toThat
==== domCmd-7.1 FAILED
domnamespace.test
element.test
entity.test
htmlreader.test
i18n.test
namespace.test
parser.test
pcdata.test
pi.test
stackedhdl.test
xmlsimple.test
xmltest.test
xpath.test
xslt.test
Tests ended at Wed Jun 25 13:16:49 CST 2003
all.tcl: Total 482 Passed 473 Skipped 4 Failed 5
Sourced 21 Test Files.
Files with failing tests: domCmd.test
Number of tests skipped for each constraint:
4 knownBug