[jdom-interest] Bug in XMLOutputter or Element.addAttribute depending on whether null is valid

Elliotte Rusty Harold elharo at metalab.unc.edu
Fri Nov 17 19:12:09 PST 2000


At 7:57 PM -0800 11/16/00, Jason Hunter wrote:

>We need a Verifier.checkAttributeValue() call, and it should protect
>against null values.  Elliotte, do you want to handle this as Verifier
>master?
>

We don't need a separate method. checkCharacterData() is already 
supposed to handle that. However, it doesn't test for null yet. It 
should be trivial to add that check. I'll try and take a look at it 
this weekend, but if you just want to go ahead and add it, then it's 
no big deal.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|                  The XML Bible (IDG Books, 1999)                   |
|              http://metalab.unc.edu/xml/books/bible/               |
|   http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list