[jdom-interest] Parsing XML with end of stream marker

Elliotte Rusty Harold elharo at metalab.unc.edu
Mon Jun 25 05:46:43 PDT 2001


At 11:15 AM +0100 6/25/01, Tim Sawyer wrote:
>Hi,
>
>For various really annoying reasons, I have some XML that I am getting with
>an <EOS> tagged onto the end of it.  So my message that I am trying to parse
>contains something like:
>

Your document is not well-formed. Therefore it cannot be parsed. You 
have to strip off the illegal <EOS> before passing the document to 
the parser.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/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.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list