Re: [xml] Test suite errors 2.7,7




On Apr 6, 2010, at 7:20 AM, Daniel Veillard wrote:

On Thu, Apr 01, 2010 at 12:18:44PM -0500, Todd Rinaldo wrote:
I am experiencing test suite errors on bare bones installs of CentOS 3 and 4 64 bit with libxml2 version 
2.7.7. I am building from a custom source rpm. The relevant spec bits can be seen at the end of this 
email. I build this spec against numerous Red Hat derivative  targets. For some reason it's succeeding on 
CentOS-5-64. It's also failing on some of the older fedoras in my checks so far.

Are there any additional dependencies not mentioned in your standard spec file that might be causing these 
tests to fail?

The error message seems to be consistent:

File ./test/ebcdic_566012.xml generated an error
File ./test/ebcdic_566012.xml generated an error
File ./test/ebcdic_566012.xml generated an error
Result for ./test/ebcdic_566012.xml failed
File ./test/ebcdic_566012.xml generated an error
Result for ./test/ebcdic_566012.xml failed
File ./test/ebcdic_566012.xml generated an error
Result for ./test/ebcdic_566012.xml failed
File ./test/ebcdic_566012.xml generated an error
Failed to parse ./test/ebcdic_566012.xml
File ./test/ebcdic_566012.xml generated an error
Failed to parse ./test/ebcdic_566012.xml
File ./test/ebcdic_566012.xml generated an error
Failed to parse ./test/ebcdic_566012.xml
File ./test/ebcdic_566012.xml generated an error
Failed to parse ./test/ebcdic_566012.xml
File ./test/ebcdic_566012.xml generated an error


 Works for me on a RHEL-5.4 x86_64.
run

xmllint ./test/ebcdic_566012.xml

and compare the output with  result/ebcdic_566012.xml


Please disregard my earlier email today. I apparently have issues matching up my zlib include and lib dirs :)

Your test: 

 ./xmllint ./test/ebcdic_566012.xml
./test/ebcdic_566012.xml:1: parser error : Unsupported encoding IBM-1141
<?xml version="1.0" encoding="IBM-1141" ?>
                                       ^
So I assume this tests assumes the OS will support an encoding that older distros did not ship? Is there a 
way to get the test to skip these if the encoding is not present on the OS?

Thanks,
Todd




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]