[
https://issues.apache.org/jira/browse/SLING-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467623#comment-16467623
]
Oliver Lietz commented on SLING-6783:
-------------------------------------
[~jebailey], tests are fine on my local machine and on
[Jenkins|https://builds.apache.org/view/S-Z/view/Sling/job/sling-org-apache-sling-commons-html-1.8/30/console]:
{noformat}
[INFO] --- maven-failsafe-plugin:2.20.1:integration-test (default) @
org.apache.sling.commons.html ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.sling.commons.html.it.TagsoupHtmlParserIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.485 s
- in org.apache.sling.commons.html.it.TagsoupHtmlParserIT
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[JENKINS] Recording test results
{noformat}
Can you set the {{timeout}} parameter on the {{Filter}} annotation and see if
it fixes your issue?
{noformat}
@Inject
@Filter(value = "(&(dom=tagsoup)(sax=tagsoup))")
private HtmlParser htmlParser;
{noformat}
> Updates for Commons HTML
> ------------------------
>
> Key: SLING-6783
> URL: https://issues.apache.org/jira/browse/SLING-6783
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Reporter: Jason E Bailey
> Assignee: Oliver Lietz
> Priority: Minor
> Fix For: Commons HTML 1.0.2
>
> Attachments: sling.patch
>
>
> Following updates:
> Updated tagsoup lib to 1.2.1 which has the following modifications
> * DOCTYPE is now recognized even in lower case.
> * We make sure to buffer the reader, eliminating a long-standing bug that
> would crash on certain inputs, such as & followed by CR+LF.
> * The HTML scanner's table is precompiled at run time for efficiency, causing
> a 4x speedup on large input documents.
> * ]] within a CDATA section no longer causes input to be discarded.
> * Remove bogus newline after printing children of the root element.
> * Allow the noscript element anywhere, the same as the script element.
> * Updated to the 2011 edition of the W3C character entity list.
> Additionally:
> Updated license with new home page for tagsoup
> Updated annotations to OSGi annotations
> Added the ability to specify additional features/properties for the parser
> Documented available settings
> Javadoc fixed
> Prepared for different parsers by renaming HtmlParserImpl and adding
> component properties
> Configuration improved
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)