You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Robin Verduijn (JIRA)" <xe...@xml.apache.org> on 2019/05/01 03:45:00 UTC

[jira] [Comment Edited] (XERCESJ-1689) Remove org.w3c.dom.html.HTMLDOMImplementation from xercesImpl.jar

    [ https://issues.apache.org/jira/browse/XERCESJ-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16830847#comment-16830847 ] 

Robin Verduijn edited comment on XERCESJ-1689 at 5/1/19 3:44 AM:
-----------------------------------------------------------------

Perhaps another solution would be to take the {{org.w3c.dom.*}} classes out of xercesImpl.jar and put them in a separate xercesImpl-deps.jar, then uploading a new xercesImpl.jar with a .pom file declaring a dependency on that? Done that way, people can use Gradle or Maven dependency management to exclude that transitive dependency and just get the now non-split xercesImpl.jar without those core JDK classes.

 

Alternatively, perhaps 2 separate jars could be published: a xercesImpl.jar as it is now, and a xercesImpl-nodeps.jar that does not contain any {{org.w3c.dom.\*}} classes. Or vice versa, a xercesImpl.jar (with bumped version) containing no {{org.w3c.dom.\*}} classes, and a xercesImpl-deps.jar that would be identical to the current 2.12.0 xercesImpl (but with a bumped version number).


was (Author: rverduijn):
Perhaps another solution would be to take the {{org.w3c.dom.*}} classes out of xercesImpl.jar and put them in a separate xercesImpl-deps.jar, then uploading a new xercesImpl.jar with a .pom file declaring a dependency on that? Done that way, people can use Gradle or Maven dependency management to exclude that transitive dependency and just get the now non-split xercesImpl.jar without those core JDK classes.

 

Alternatively, perhaps 2 separate jars could be published: a xercesImpl.jar as it is now, and a xercesImpl-nodeps.jar that does not contain any {{org.w3c.dom.*}} classes. Or vice versa, a xercesImpl.jar (with bumped version) containing no {{org.w3c.dom.*}} classes, and a xercesImpl-deps.jar that would be identical to the current 2.12.0 xercesImpl (but with a bumped version number).

> Remove org.w3c.dom.html.HTMLDOMImplementation from xercesImpl.jar
> -----------------------------------------------------------------
>
>                 Key: XERCESJ-1689
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1689
>             Project: Xerces2-J
>          Issue Type: Wish
>          Components: DOM (HTML)
>    Affects Versions: 2.11.0
>            Reporter: Otmar Humbel
>            Priority: Critical
>             Fix For: 2.12.0
>
>
> The interface {{org.w3c.dom.html.HTMLDOMImplementation}} is part of the JDK since Java {{1.7}}.
> Java 1.7 has been EOL 'ed since a long time.
>  Is there any reason to keep this interface in {{xercesImpl.jar}}? It produces a split package:
> {{xerces-2_11_0: jdeps --jdk-internals -cp ./xercesImpl.jar}}
>  {{split package: org.w3c.dom.html [jrt:/jdk.xml.dom, ./xercesImpl.jar]}}
> which prevents people from using modules in Java {{>= 9}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org