Search
Tweets
Recent Changes
« Stuff I've Done | Main | Loggerithim IS Alive »
Monday
Jan312005

XPath 'eats' InputSource?

This code confuses me:

InputSource is = new InputSource(new StringReader(string));
String result = preCompiledXPathExpression.evaluate(is);

That works, but if I try and evaluate another XPathExpression I get an IOException unless I recreate the InputSource.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>