HuygensING/visitei

threadsafety

Closed this issue · 2 comments

Hi, was just lokking around....

From the javadoc on XPath: An XPath object is not thread-safe and not reentrant.

So what happens in https://github.com/HuygensING/visitei/blob/master/src/main/java/nl/knaw/huygens/tei/xpath/XPathUtil.java is a big risk

Thanks for the tip, commit a2172ae should fix it.

What's your interest in the visitei project?