Re: failing tests
Chris Burdess <[email protected]>
| Newsgroups | gmane.comp.java.classpath.extensions.xml |
|---|---|
| Message-ID | <[email protected]> |
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