[ 
https://issues.apache.org/jira/browse/LUCENE-8738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808471#comment-16808471
 ] 

Uwe Schindler commented on LUCENE-8738:
---------------------------------------

Hi,
I figured out the same:

{noformat}
-documentation-lint:
     [echo] checking for broken html...
[ivy:cachepath] downloading 
https://repo1.maven.org/maven2/net/sf/jtidy/jtidy/r938/jtidy-r938.jar ...
[ivy:cachepath] ........................... (244kB)
[ivy:cachepath] .. (0kB)
[ivy:cachepath]         [SUCCESSFUL ] net.sf.jtidy#jtidy;r938!jtidy.jar (646ms)
    [jtidy] Checking for broken html (such as invalid tags)...

BUILD FAILED
C:\Users\Uwe Schindler\Projects\lucene\trunk-lusolr1\lucene\build.xml:142: The 
following error occurred while executing this line:
C:\Users\Uwe Schindler\Projects\lucene\trunk-lusolr1\lucene\build.xml:148: The 
following error occurred while executing this line:
C:\Users\Uwe 
Schindler\Projects\lucene\trunk-lusolr1\lucene\common-build.xml:2120: Tidy was 
unable to process file C:\Users\Uwe 
Schindler\Projects\lucene\trunk-lusolr1\lucene\build\docs\analyzers-common\allclasses.html,
 1 returned.
{noformat}

I was expecting it to fail because of some "internal API" shit, but actually 
it's not able to parse the file.

I have the feeling and the documentation/bugreports on jTIDY shows: It's not 
able to handle HTML5. Java 11 is able to produce HTML5, so for future-proveness 
we should really keep this enabled.

To find out what's going on, I will quickly change to HTML4 and let it run 
again. If this is the case and it works, we have 2 possibilities:
- Remove jTidy (the project is unmaintained (last release in 2009).
- Switch back to HTML4

Uwe

> Bump minimum Java version requirement to 11
> -------------------------------------------
>
>                 Key: LUCENE-8738
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8738
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/build
>            Reporter: Adrien Grand
>            Priority: Minor
>              Labels: Java11
>             Fix For: master (9.0)
>
>
> See vote thread for reference: https://markmail.org/message/q6ubdycqscpl43aq.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to