You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xml-commons-dev@xerces.apache.org by bu...@apache.org on 2010/02/08 14:18:18 UTC

DO NOT REPLY [Bug 48698] New: Classloading strategy for javax.xml.datatype.FactoryFinder is not consistent with javax.xml.parsers.DocumentBuilderFactory

https://issues.apache.org/bugzilla/show_bug.cgi?id=48698

           Summary: Classloading strategy for
                    javax.xml.datatype.FactoryFinder is not consistent
                    with javax.xml.parsers.DocumentBuilderFactory
           Product: XmlCommons
           Version: 1.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: JAXP
        AssignedTo: commons-dev@xml.apache.org
        ReportedBy: andypiper@apache.org


Created an attachment (id=24944)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24944)
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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.