Git Product home page Git Product logo

css4j-dom4j's Issues

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

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.

The move to Gradle seems to have broken the xpp3 dependency

Hi Carlos,

Thanks for the release.

I've tried to upgrade to CSS4J 3.5.0 (from v3.2.0) and it's failing because the xpp3_min dep has been moved from an optional dep to a runtime mandatory one.

See https://css4j.github.io/maven/io/sf/carte/css4j-dom4j/3.4.0/css4j-dom4j-3.4.0.pom vs https://css4j.github.io/maven/io/sf/carte/css4j-dom4j/3.5.0/css4j-dom4j-3.5.0.pom

The XWiki build is now complaining with:

[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-upper-bounds) @ xwiki-platform-oldcore ---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed with message:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for xpp3:xpp3_min:1.1.4c paths to dependency are:
+-org.xwiki.platform:xwiki-platform-oldcore:13.5-SNAPSHOT
  +-io.sf.carte:css4j-dom4j:3.5.0
    +-xpp3:xpp3_min:1.1.4c (managed) <-- xpp3:xpp3_min:1.2.0
]

Note that there doesn't seem to be an official xpp3 1.2.0 release so we're a bit hesitant to upgrade. In addition so far we've not bundled xpp3 at all in our XWiki WAR and we prefer to avoid that as much as possible, if possible.

Could you tell me if that change in the pom is voluntary (and if so what forced you to do that) or if it's just a bug/side effect of moving to Gradle?

Thanks a lot
-Vincent

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.