Bug 48698 - Classloading strategy for javax.xml.datatype.FactoryFinder is not consistent with javax.xml.parsers.DocumentBuilderFactory
Summary: Classloading strategy for javax.xml.datatype.FactoryFinder is not consistent ...
Status: NEW
Alias: None
Product: XmlCommons - Now in JIRA
Classification: Unclassified
Component: JAXP (show other bugs)
Version: 1.x
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Commons Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-08 05:18 UTC by andypiper
Modified: 2010-02-08 05:18 UTC (History)
0 users



Attachments
Patch to fix the problem (2.47 KB, patch)
2010-02-08 05:18 UTC, andypiper
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.