[Zope-Coders] Help with failing XML test on Linux?

Chris Withers chrisw@nipltd.com
Fri, 16 Aug 2002 14:07:24 +0100


Hi, can anyone help me get the following tests to pass:

zope-tests@squishdot.org wrote:
> ==============================================================================
> ==============================================================================
> Python Version:2.1.3 (#1, May 20 2002, 12:02:16) 
> [GCC 2.95.2 20000220 (Debian GNU/Linux)]
> 
> Modules included:
> Zope (HEAD)
> 
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/runtest.py", line 92, in main
>     driver.main()
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/driver.py", line 77, in main
>     it = compilefile(file, mode)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/driver.py", line 106, in compilefile
>     p.parseFile(file)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/XMLParser.py", line 77, in parseFile
>     self.parseStream(open(filename))
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/XMLParser.py", line 87, in parseStream
>     self.parser.ParseFile(stream)
> ExpatError: undefined entity: line 18, column 2
> ======================================================================
> ERROR: check_simple_html (test_xmlparser.XMLParserTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "test_xmlparser.py", line 117, in check_simple_html
>   File "test_xmlparser.py", line 94, in _run_check
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/XMLParser.py", line 80, in parseString
>     self.parser.Parse(s, 1)
> ExpatError: undefined entity: line 3, column 6
> ======================================================================
> FAIL: runTest (test_files.FileTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "test_files.py", line 37, in runTest
>   File "/usr/local/lib/python2.1/unittest.py", line 241, in fail
>     raise self.failureException, msg
> AssertionError: output for /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/tests/input/test01.xml didn't match

cheers,

Chris