Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for clarification about docx4j-ImportXTHML-11.4.8 vs (docx4j-ImportXTHML-parent & -core 11.4.10) #103

Open
mmonetha-sobis opened this issue Apr 16, 2024 · 3 comments

Comments

@mmonetha-sobis
Copy link

Hi there,

we are using docx4j in our project. We've already been using docx4j-ImportXTHML (currently version 11.4.8), as well. While updating the other docx4j libraries to version 11.4.11 I noticed that the docx4j-ImportXTHML

  1. is not in sync with the version of the other libraries
  2. seems a bit abandoned when checking at mvnrepository

Is there a specific reason for both of my findings?

Additionally, I noticed that there is a version 11.4.10 of docx4j-ImportXHTML-parent and docx4j-ImportXHTML-core. What about these libraries? Do they act as a replacement for the seemingly abandoned library? Or do these serve a different purpose?

As one can clearly see I am a bit confused here, therefore this should act as a request for clarification.

@plutext
Copy link
Owner

plutext commented Apr 16, 2024

3a2e2f1 brings -ImportXHTML into sync with current releases of docx4j.

https://search.maven.org/artifact/org.docx4j/docx4j-ImportXHTML-core/11.4.10/jar is what you want, its a direct replacement for docx4j-ImportXTHML 11.4.8

@mmonetha-sobis
Copy link
Author

Thank you very much for the quick answer. Two more things:

  • Just out of pure curiosity. What is the use-case for docx4j-ImportXHTML-parent?
  • I think it would be best to make note of the replacement. One could e.g.
    • add a notice of relocation:
      image
    • update the README.md to no longer point to the "old" docx4j-ImportXHTML library, but to docx4j-ImportXTHML-core instead. Or at least, mention the replacement somehow.

@plutext
Copy link
Owner

plutext commented Apr 16, 2024

docx4j-ImportXHTML-parent shouldn't be in maven central; it is the parent project for core and samples, which you mvn install if you want to build https://github.com/plutext/docx4j-ImportXHTML yourself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants