Skip to content
This repository was archived by the owner on Mar 20, 2021. It is now read-only.
This repository was archived by the owner on Mar 20, 2021. It is now read-only.

Upgrade htmlunit to 2.15+ for servlet30/facelets #3977

@javaserverfaces

Description

@javaserverfaces

Upgrading htmlunit for servlet30/facelets to 2.15+.

One issue that is caught along with this upgrade is illegal content found within a table rendered by findChildByTagIdFacets.xhtml as follows:

<table id="table" border="1">           <table id="table" border="1">
  <caption>               <caption>
    <span id="table:captionFacet">          <span id="table:captionFacet">
      My Caption              My Caption
    </span> </span>
  </caption>              </caption>
  <span id="table:colgroupsPanel">   <
    <col style="background-color:re  <
    <col style="background-color:ye  <
  </span>            <
  <thead> <thead>
    <tr>    <tr>
      <th colspan="2" scope="colgro           <th colspan="2" scope="colgro
        <span id="table:headerFacet             <span id="table:headerFacet
          My Header               My Header
        </span> </span>
      </th>   </th>
    </tr>   </tr>
  </thead></thead>

There have been many improvements to htmlunit, one such improvement from the release notes here is responsible for this:
http://htmlunit.sourceforge.net/changes-report.html#a2.15
"HTML parsing: move illegal content found within a table before the table."

note: This breaks the tester for issue 3308, hence the patch for the tester here along with the upgrade to 2.17.

Affected Versions

[2.3.0-m02]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions