Allow multiple saxon processors to be used #68

Merged
merged 1 commit into from Jan 28, 2013

Conversation

Projects
None yet
2 participants
@jamesrdf
Contributor

jamesrdf commented Jan 28, 2013

XProcRuntime can only be configured with a single set of resolvers and listeners, and due to the use of ThreadLocal variables in extension function, XProcRuntime can only be used by a single thread.

Due to the tight relationship between XProcRuntime and the saxon Processor (registerExtensionFunction, setURIResolver, and setErrorListener), is not always possible to use the same saxon Processor for all operations in the JVM.

This patch allows multiple saxon processors and therefore multiple XProcRuntimes with the TypeUtils class.

ndw added a commit that referenced this pull request Jan 28, 2013

Merge pull request #68 from jamesrdf/multiple-saxon-processors
Allow multiple saxon processors to be used

@ndw ndw merged commit 1f22d78 into ndw:saxon94 Jan 28, 2013

ndw added a commit that referenced this pull request Jan 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment