Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple saxon processors to be used #68

Merged
merged 1 commit into from Jan 28, 2013
Merged

Conversation

@jamesrdf
Copy link
Contributor

@jamesrdf 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
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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.