[
https://issues.apache.org/jira/browse/SLING-9624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500714#comment-17500714
]
Konrad Windszus edited comment on SLING-9624 at 3/3/22, 12:33 PM:
------------------------------------------------------------------
I am confused by the exported version of the javax.xml packages. This is what I
found out:
||Spec||Version||Link||
|JavaTM API for XML Processing (JAXP)|1.6 (since Java
8)|https://www.jcp.org/en/jsr/detail?id=206|
|Streaming API for XML (Stax)|1.3|https://jcp.org/en/jsr/detail?id=173|
|J2METM Web Services Specification|1.1|https://jcp.org/en/jsr/detail?id=172|
|XML API for JavaTM ME|1.0|https://jcp.org/en/jsr/detail?id=280|
|XML Catalogs|Version 1.1 (only
Java9+)|https://www.oasis-open.org/committees/download.php/14809/xml-catalogs.html|
But for example package {{javax.xml.namespace}} is exported as 2.1.0 although
it implements JAXP 1.3, so I would have expected version 1.3 instead. Or is the
version number the version of the underlying implementation?
was (Author: kwin):
I am confused by the exported version of the javax.xml packages. This is what I
found out:
||Spec||Version||Link||
|JavaTM API for XML Processing (JAXP)|1.6 (since Java
8)|https://www.jcp.org/en/jsr/detail?id=206|
|Streaming API for XML (Stax)|1.3|https://jcp.org/en/jsr/detail?id=173|
|J2METM Web Services Specification|1.1|https://jcp.org/en/jsr/detail?id=172|
|XML API for JavaTM ME|1.0|https://jcp.org/en/jsr/detail?id=280|
|XML Catalogs|Version 1.1 (only
Java9+)|https://www.oasis-open.org/committees/download.php/14809/xml-catalogs.html|
But for example package {{javax.xml.namespace}} is exported as 2.1.0 although
it implements JAXP 1.3...
> Get rid of custom "org.osgi.framework.system.packages"
> ------------------------------------------------------
>
> Key: SLING-9624
> URL: https://issues.apache.org/jira/browse/SLING-9624
> Project: Sling
> Issue Type: Improvement
> Components: Starter
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: Starter 13
>
>
> Instead of using a Sling specific "org.osgi.framework.system.packages"
> property
> (https://github.com/apache/sling-org-apache-sling-starter/blob/5f44b7f6c6b75e4cfd5574fb701c3e7eca8405ef/src/main/provisioning/launchpad.txt#L26)
> we should just rely on the Felix default
> (https://github.com/apache/felix-dev/blob/master/framework/src/main/resources/default.properties)
> to not miss to export all relevant packages for the different JREs
> compare with
> https://lists.apache.org/thread.html/r0aa3c02c38b5026e24684a00de3c6c8506e166334e77892ac2ee0ab3%40%3Cdev.sling.apache.org%3E.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)