[
https://issues.apache.org/jira/browse/JSPWIKI-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18135868#comment-18135868
]
Arturo Bernal commented on JSPWIKI-1206:
----------------------------------------
A pull request is open: https://github.com/apache/jspwiki/pull/548 (also for
JSPWIKI-1221). org.codelibs:nekohtml is no longer maintained; the pull request
moves to org.htmlunit:neko-htmlunit 5.6.0, which needs Java 17. Only
jspwiki-wysiwyg uses the parser, to turn the HTML of the WYSIWYG editor into
XHTML, so the dependency is dropped from jspwiki-main.
HtmlStringToWikiTranslator needs a reader factory of its own and a filter for
the namespaces of attributes with the new parser, and the element names are now
lower case; the pull request describes it. There are no changes in the tests,
and I did not build the WAR.
> Migrate from neko-html to htmlunit-neko parser
> ----------------------------------------------
>
> Key: JSPWIKI-1206
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1206
> Project: JSPWiki
> Issue Type: Improvement
> Reporter: Ronald Brill
> Priority: Major
> Labels: pull-request-available
>
> htmlunit-neko (https://github.com/HtmlUnit/htmlunit-neko) is a fork of the
> original NekoHTML parser that is actively maintained by the HtmlUnit team.
> This parser has evolved significantly since the original project was
> abandoned and offers substantial improvements for modern HTML processing
> needs like
> * many parser improvements
> * performance improvements
> * xerces dependency removed
> * bunch of fixes for html parser border cases
> * regular releases
> * ....
> Outside of the package name changes, the lib should be compatible
> ([https://github.com/HtmlUnit/htmlunit-neko?tab=readme-ov-file#porting-from-3x-to-4x)]
> If you like to do this and face any issue, please reach out to me and a will
> try to help.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)