[jdom-interest] org.jdom.JDOMException

Elliotte Rusty Harold elharo at metalab.unc.edu
Tue Apr 30 14:09:59 PDT 2002


At 3:03 PM -0800 4/30/02, Gerardo Arroyo wrote:
>Hi,
>
>I've a very simple question. I've a XML log file, this log contains all the
>activity from a Java application server. There're some cases, by example:
>when the server has a fatal error, or the PC is shutdown or anything else...
>in such events the final end-tag is absent.
>

Then the file does not contain an XML document, and it cannot be 
parsed by JDOM.  If you add the end-tag, then it will become a legal 
XML document, and you can parse it.
-- 

+-----------------------+------------------------+-------------------+
| 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