Bug 48698

Summary: Classloading strategy for javax.xml.datatype.FactoryFinder is not consistent with javax.xml.parsers.DocumentBuilderFactory
Product: XmlCommons - Now in JIRA Reporter: andypiper <andypiper>
Component: JAXPAssignee: Commons Developers Mailing List <commons-dev>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 1.x   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patch to fix the problem

Description andypiper 2010-02-08 05:18:18 UTC
Created attachment 24944 [details]
Patch to fix the problem

javax.xml.parsers.DocumentBuilderFactory looks first at the ContextClassLoader then Class.forName, but FactoryFinder does not. This causes problems on OSGi systems and it seems that the two strategies should be consistent.