css4j / css4j-dom4j

Module that brings CSS functionality to dom4j
https://css4j.github.io/
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

css4j-dom4j depends on xpp3, which currently ships with javax.xml.namespace causing a double-read error #1

Closed carlosame closed 3 years ago

carlosame commented 4 years ago

If a requires xpp3 is put in the module-info for this project, the following error happens:

module io.sf.carte.css4j.dom4j reads package javax.xml.namespace from both xpp3 and java.xml

(and other similar ones).

Currently, the css4j-dom4j module ships with a workaround for this, but it may cause problems for users. One possibility would be to use an artifact from the xmlpull-xpp3 project which recently tagged a release but they did not deploy their artifact.

In case that the users of this library find that it would be better for them to depend on a more recent XPP3 artifact (even if it is not at a Maven repository), this issue is opened to receive that feedback.

carlosame commented 3 years ago

Created branch fe-xmlpull-xpp3-v1_2 which avoids the double-read but introduces a dependency on xmlpull-xpp3 fork that is not available from any Maven repository.

carlosame commented 3 years ago

The fe-xmlpull-xpp3-v1_2 branch was merged, and the install-xpp3.sh script can be used to install the new dependency.