[jdom-interest] Parsing XML with end of stream marker
Tim Sawyer
Tim.Sawyer at pancredit.com
Mon Jun 25 09:11:42 PDT 2001
Cheers, peeps. I've solved it by converting to a string and cutting the
last few chars off. I was hoping to avoid creating too many new strings to
keep the speed up, but you can't have everything!
I did get a bit confused when build() interpreted my string as a URI
though... ;-)
Thanks,
Tim.
-----Original Message-----
From: Jon Baer [mailto:jonbaer at digitalanywhere.com]
Sent: 25 June 2001 13:21
To: jdom-interest at jdom.org
Subject: Re: [jdom-interest] Parsing XML with end of stream marker
Yeah ur gonna have to trim that bad boy off, Id say extend the Reader and
create your
own and either test for </soap-env:envelope> or substring it till
indexOf("<EOS>");
or something.
The builder lets you take a String now so you might wanna filter the stream
first
before you pass it to the builder.
- Jon
This e-mail and its attachments are for the use of the addressee only.
It may contain information that is legally privileged, confidential and
exempt from disclosure. It is not a contract, and prices, data
and other information are not warranted as to completeness or accuracy.
Any comments or statements made herein do not necessarily
reflect those of PanCredit Systems Limited. If you are not the intended
recipient you must not copy, distribute or disseminate this e-mail
or attachments to anyone other than the addressee.
If you receive this communication in error please advise us by telephone
at once.
PanCredit Systems Limited
Tel: +44 113 250 0260
Fax: +44 113 250 0621
More information about the jdom-interest
mailing list