xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] XOMTestCase.compareChildren() should be insensitive to empty text nodes
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] XOMTestCase.compareChildren() should be insensitive to empty text nodes
- Date: Fri, 26 Jan 2007 13:04:42 -0500
Wolfgang Hoschek wrote:
XOMTestCase.compareChildren() compares two children for "equality". Ala XPath, it merges adjacent text nodes before doing so, which is fine, but the comparison isn't insensitive to empty text nodes, which seems wrong for all intents and purposes. The following test case should pass but currently fails:
This should be fixed in CVS now. Holler if it still doesn't work for you.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
-
[XOM-interest] XOMTestCase.compareChildren() should be insensitive to empty text nodes,
Wolfgang Hoschek, 01/25/2007
- Re: [XOM-interest] XOMTestCase.compareChildren() should be insensitive to empty text nodes, Elliotte Harold, 01/26/2007
Archive powered by MHonArc 2.6.24.