Thread-safety of SchematronResourceXSLT
qligier opened this issue · 2 comments
qligier commented
Hi,
I'm wondering if SchematronResourceXSLT
is thread-safe when initialized?
SchematronResourcePure
says in its javadoc that it's thread-safe when it's initialized because the underlying cache is thread-safe. As SchematronResourceXSLTCache
is also thread-safe, can we assume the same for SchematronResourceXSLT
(once the XSLT has been compiled)?
Thanks!
phax commented
@qligier sorry for that very late response - I missed it :(
You are right, the SchematronResourceXSLT
is thread-safe after being initialized. Hope you figured that out yourself as well :)
qligier commented
Thank you for the answer! I think I assumed it was, after looking a bit at the code.