[jdom-interest] DOMBuilder validation

Elliotte Rusty Harold elharo at metalab.unc.edu
Sun Jun 11 15:50:01 PDT 2000


The org.jdom.input.DOMBuilder class contains a couple of constructors
that claim to turn on validation. In particular,

public DOMBuilder(boolean validate)
public DOMBuilder(String adapterClass, boolean validate)

However, as near as I can tell the build() method won't actually try to
validate anything. Until such time as it does, I suggest deleting these
two constructors. 

The SAXBuilder class does appear to validate correctly. 

-- 
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+ 
|               Java I/O (O'Reilly & Associates, 1999)               |
|            http://metalab.unc.edu/javafaq/books/javaio/            |
|   http://www.amazon.com/exec/obidos/ISBN=1565924851/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