Bug 48700 - javax.xml.parsers.DocumentBuilderFactory looks first at the ContextClassLoader then Class.forName, but SchemaFactoryFinder does not
Summary: javax.xml.parsers.DocumentBuilderFactory looks first at the ContextClassLoade...
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:20 UTC by andypiper
Modified: 2010-02-08 05:20 UTC (History)
0 users



Attachments
Patch to fix the problem (1.14 KB, patch)
2010-02-08 05:20 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:20:03 UTC
Created attachment 24946 [details]
Patch to fix the problem

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