psiegman/epublib — pull request #25 by mnylen (2012-09-04 10:12:17+00:00)
Title: Fix concurrency issue with EpubProcessorSupport#createDocumentBuilder()

When EpubProcessorSupport#createDocumentBuilder() was called
in concurrent environment, the static entityResolver would be
reused for all document builders. This caused concurrency issues,
because EntityResolver implementation kept state information
in the previousLocation parameter.

To fix, made each call to createDocumentBuilder create a new instance of
EntityResolver.