https://issues.apache.org/bugzilla/show_bug.cgi?id=56814

--- Comment #3 from Yaniv Kunda <ya...@kundas.net> ---
It's a precaution as neither DocumentBuilderFactory nor DocumentBuilder are
guaranteed to be thread-safe, plus it duals as a cache.
But I agree that this needs to be more carefully examined, and perhaps starting
with a static DocumentBuilderFactory spawning new DocumentBuilder objects on
each call is the way to go.
Performance wise, I do believe we have more pressing issues than creation of
DocumentBuilders and their factories...

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to