[jdom-interest] Failing tests

Elliotte Rusty Harold elharo at metalab.unc.edu
Sun Apr 7 08:28:53 PDT 2002


I found one problem in the FilterListRandomizer class where OurCDATA 
setParent() returns CDATA instead of Text. This prevents the tests 
from compiling fully. This appears to have been the cause of all the 
breakages except in XMLOutputter. If you don't have the most recent 
CVS you probably won't see this. To fix this, just change



		public CDATA setParent(Element parent)
		{
			return super.setParent(parent);
		}

to



		public Text setParent(Element parent)
		{
			return super.setParent(parent);
		}

-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list