You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Juanjo Vazquez (JIRA)" <ji...@apache.org> on 2009/03/12 10:11:39 UTC

[jira] Resolved: (SMX4KNL-238) OsgiLocator doesn´t locate SAX driver by META-INF/services/org.xml.sax.driver

     [ https://issues.apache.org/activemq/browse/SMX4KNL-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juanjo Vazquez resolved SMX4KNL-238.
------------------------------------

    Resolution: Fixed

> OsgiLocator doesn´t  locate SAX driver by META-INF/services/org.xml.sax.driver
> ------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-238
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-238
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Juanjo Vazquez
>            Priority: Blocker
>             Fix For: 1.1.0
>
>         Attachments: SMX4KNL-238.patch
>
>
> In jaxp-api-1.4, class XMLReaderFactory::createXMLReader, says:
> "// 2. if that fails, try META-INF/services/"
> String      service = "META-INF/services/" + property;
> but this doesn´t work and the SAX driver is not located.
> Although, String service = property works instead. It seems that OsgiLocator is able to locate a service registered with "org.xml.sax.driver" as his key.
> A patch is provided.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.