classpathx-xml
[Top][All Lists]
Advanced

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

[Classpathx-xml] Re: failing tests


From: Chris Burdess
Subject: [Classpathx-xml] Re: failing tests
Date: Tue, 29 Jun 2004 08:56:41 +0100
User-agent: Mutt/1.3.28i

Musachy Barroso wrote:
>   There are many tests(1, 2, 24, 27, 28...) failing for a common reason, when
> there is a nested element with some parsing error, Aelfred is reporting the
> white spaces before that element as ingorableWhiteSpaces(...), and the SaxTest
> is expecting chars(..). I'm stuck because I don't know wich one is the right
> behaviour. Any advice? I wish we could fix these ones before 0.10.

Did you apply the patch to SAXTest I sent to Rusty? That should cause
these cases not to fail.

In fact the problem is academic. In these cases there isn't a DTD for
the document, so the whole question of whether the whitespace is
ignorable or not is not applicable. Rusty believes that in such cases
all whitespace should be reported via the characters callback. Clearly
others feel that it's more productive reporting whitespace via the
ignorableWhitespace method. The SAX specification doesn't seem to
address this issue very clearly.

I'm going to bring this up with Daniel Veillard, since libxml has the
same behaviour.
-- 
Chris Burdess




reply via email to

[Prev in Thread] Current Thread [Next in Thread]