"Jason E. Stewart" <[EMAIL PROTECTED]> writes:

> "Juergen Hermann" <[EMAIL PROTECTED]> writes:
> 
> > On Sat, 01 Sep 2001 11:24:40 +0200, Juergen Hermann wrote:
> > 
> > >>Two tests in oasis/ fail that should have passed:
> > >>And two tests in oasis/ pass that should have failed:
> > >
> > >Well, I have 272 failures with strict checking, and that seems a little high 
> > >to me. ;)

Here are the lists of tests that fail using the Xerces-P perl wrapper:

ibm/valid/P02/ibm02v01.xml
ibm/not-wf/misc/432gewf.xml
xmltest/valid/sa/049.xml
xmltest/valid/sa/050.xml
xmltest/valid/sa/051.xml
xmltest/valid/not-sa/003.xml
xmltest/valid/ext-sa/014.xml
sun/invalid/pe01.xml
sun/invalid/empty.xml
sun/valid/ext01.xml
sun/valid/ext02.xml
japanese/weekly-little-endian.xml
japanese/weekly-utf-16.xml
japanese/pr-xml-utf-16.xml
japanese/pr-xml-little-endian.xml

I'm not using ICU, I compiled Xerces with '-t native', so that might
explain the failure on *some* of the Unicode things. But why do some
pass?

There is also one test listed in oasis.xml that is not included in the
test suite.

<!--
  <TEST TYPE='not-wf' SECTIONS='3 [39]'
      ID='o-p39fail3' URI='p39fail3.xml'>
    XML documents contain one or more elements</TEST>
 -->


I've tested these using DOMCount as well to ensure that it's not just
the perl wrapper. Here's the 'DOMCount -v=always' output with my
comments.

jas.

--

FILE: t/xmlconf/ibm/valid/P02/ibm02v01.xml
==========================================

Fatal Error at file 
/home/jasons/work/xml-xerces/perl/t/xmlconf/ibm/valid/P02/ibm02v01.xml, line 14, char 
58
  Message: Invalid character (Unicode: 0xDBFF)

Errors occured, no output available

<Seems an obvious unicode problem>

FILE: t/xmlconf/ibm/not-wf/misc/432gewf.xml
===========================================
t/xmlconf/ibm/not-wf/misc/432gewf.xml: 6 ms (1 elems).

<This should not be well formed>

FILE: t/xmlconf/xmltest/valid/sa/049.xml
========================================

Fatal Error at file 
/home/jasons/work/xml-xerces/perl/t/xmlconf/xmltest/valid/sa/049.xml, line 1, char 2
  Message: Invalid document structure

Errors occured, no output available

<This should be valid>

FILE: t/xmlconf/xmltest/valid/sa/050.xml
========================================

Fatal Error at file 
/home/jasons/work/xml-xerces/perl/t/xmlconf/xmltest/valid/sa/050.xml, line 1, char 2
  Message: Invalid document structure

Errors occured, no output available

<This should be valid>

FILE: t/xmlconf/xmltest/valid/sa/051.xml
========================================

Fatal Error at file 
/home/jasons/work/xml-xerces/perl/t/xmlconf/xmltest/valid/sa/051.xml, line 1, char 2
  Message: Invalid document structure

Errors occured, no output available

<This should be valid>

FILE: t/xmlconf/xmltest/valid/not-sa/003.xml
========================================

Fatal Error at file 
/home/jasons/work/xml-xerces/perl/t/xmlconf/xmltest/valid/not-sa/003-1.ent, line 3, 
char 27
  Message: An exception occured! Type:RuntimeException, Message:Could not open 
external entity 
'/home/jasons/work/xml-xerces/perl/t/xmlconf/xmltest/valid/not-sa/003-2.ent'

Errors occured, no output available

<This fails because 003-2.ent is not included in the test suite>

FILE: t/xmlconf/xmltest/valid/ext-sa/014.xml
========================================

Fatal Error at file 
/home/jasons/work/xml-xerces/perl/t/xmlconf/xmltest/valid/ext-sa/014.ent, line 1, char 
3
  Message: Invalid character (Unicode: 0xFFFe)

Errors occured, no output available

FILE: t/xmlconf/sun/invalid/pe01.xml
========================================
t/xmlconf/sun/invalid/pe01.xml: 18 ms (1 elems).

<This should be invalid>

FILE: t/xmlconf/sun/invalid/empty.xml
========================================
t/xmlconf/sun/invalid/empty.xml: 18 ms (5 elems).

<This should be invalid>

FILE: t/xmlconf/sun/valid/ext01.xml
========================================

Fatal Error at file /home/jasons/work/xml-xerces/perl/t/xmlconf/sun/valid/ext01.xml, 
line 9, char 28
  Message: An exception occured! Type:RuntimeException, Message:Could not open 
external entity '/home/jasons/work/xml-xerces/perl/t/xmlconf/sun/valid/null.ent'

Errors occured, no output available

<This fails because null.ent is not included in the test suite>

FILE: t/xmlconf/sun/valid/ext02.xml
========================================
Error at file /home/jasons/work/xml-xerces/perl/t/xmlconf/sun/invalid/utf16b.xml, line 
1, char 49
  Message: No character data is allowed by content model

Error at file /home/jasons/work/xml-xerces/perl/t/xmlconf/sun/invalid/utf16l.xml, line 
1, char 49
  Message: No character data is allowed by content model

Errors occured, no output available

<???>

FILE: t/xmlconf/japanese/weekly-little-endian.xml
========================================
Fatal Error at file 
/home/jasons/work/xml-xerces/perl/t/xmlconf/japanese/weekly-little-endian.xml, line 1, 
char 1
  Message: Invalid document structure

Errors occured, no output available

<this could be a unicode issue>

FILE: t/xmlconf/japanese/weekly-utf-16.xml
========================================
Fatal Error at file 
/home/jasons/work/xml-xerces/perl/t/xmlconf/japanese/weekly-utf-16.xml, line 1, char 1
  Message: Invalid document structure

Errors occured, no output available

<this could be a unicode issue>

FILE: t/xmlconf/japanese/pr-xml-utf-16.xml
========================================
Segmentation fault

<this could be a unicode issue, but why segfaul?>

FILE: t/xmlconf/japanese/pr-xml-little-endian.xml
========================================
Segmentation fault

<this could be a unicode issue, but why segfaul?>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to