Bug 575957 - xerces 2.12 does not export services
Summary: xerces 2.12 does not export services
Status: NEW
Alias: None
Product: Orbit
Classification: Tools
Component: bundles (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Orbit Bundles CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-14 01:16 EDT by Patrick Konemann CLA
Modified: 2021-10-06 05:30 EDT (History)
2 users (show)

See Also:


Attachments
Missing exported services in manifest of xerces 2.12 (209.01 KB, image/png)
2021-09-14 01:16 EDT, Patrick Konemann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Konemann CLA 2021-09-14 01:16:18 EDT
Created attachment 287122 [details]
Missing exported services in manifest of xerces 2.12

The current xerces bundle 2.12.1 does not export its services, hence depending technologies such as Sphinx fail to get the xerces SAXParser from the SAXParserFactory. Instead, the default (incompatible) instance from the JDK is used, causing a ClassCastException as reported in bug 575868.

The attached screenshot shows the MANIFEST.MF files from the working version 2.9.0 in contrast to 2.12.1.

Or is there some particular reason why "META-INF.services" is missing now?
If not, It should be added again.
Comment 1 Lothar Wendehals CLA 2021-09-29 03:35:29 EDT
We cloned Eclipse Orbit on github and fixed the bug there:

https://github.com/wendehals/eclipse-orbit/commit/1d7b29fc8d432a21e16bdd20fcffe3f56f562d01

Maybe this commit can be used to fix the bug in the official Orbit repository.

There is also an update site for the fixed version of xerces bundle:

https://wendehals.github.io/org.apache.xerces-update-site/