I'm creating an application with a custom resource config, where I'm adding a binder to setup XML factory providers. The binder is getting executed, but when using jersey the default SaxParserFactoryInjectionProvider is executed instead of the one I bound later. The version I'm using is 2.11.
The full existing initialization code is available at github:
What I've added is here, and called "resourceConfig.register(new JerseyXmlBinder())" (that is getting executed after the original MessagingBinders's configure, where the factories are defined for the first time).
public class JerseyXmlBinder extends AbstractBinder