[ https://issues.apache.org/jira/browse/XERCESJ-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16921468#comment-16921468 ]
Christian Ertl edited comment on XERCESJ-1689 at 9/3/19 2:46 PM: ----------------------------------------------------------------- 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). PS: xml-apis would also have to be optional, all classes missing in Java would have to be separate dependency. was (Author: ertlc): 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-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org