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 "Christian Ertl (Jira)" <xe...@xml.apache.org> on 2019/09/03 14:35:00 UTC

[jira] [Commented] (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=16921468#comment-16921468 ] 

Christian Ertl commented on XERCESJ-1689:
-----------------------------------------

Everything before Java 6 should be dead now.

At least versions 8 and 11+ are much more relevant in comparison. Currently Xerces and libraries depending on it have to be removed in Java 9+ applications because of the conflicts it causes.

Robin Verduijn's proposal seems sensible to me. It would be easy to add the missing classes as optional dependency for users of unsupported legacy Java versions.

While Java 11.0.5 will likely contain the changes of Xerces 12 (without XSD 1.1 support), this won't help with libraries that depend on implementation classes of Xerces (e.g. AntiSamy).

> 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
(v8.3.2#803003)

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