Description
The change in WICKET-5874 alters the behavior for getTagByWicketId but not getTagsByWicketId . Thus for markup like this:
<div><img ...></div>
getTagByWicketId will return the img tag, but getTagsByWicketId will return an empty list, which feels very inconsistent.
Since HTML5 made the /> syntax optional for void elements like input and img, the XmlPullParser probably needs to be replaced with something that can parse HTML5. The fix in WICKET-5874 does not seem sufficient.
Commit 996e17c3c625411c14206c14cf6a6ac4e2296dc7 in wicket's branch refs/heads/wicket-6.x from Andrea Del Bene
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=996e17c ]
WICKET-6173WICKET-6172makes TagTester.createTagsByAttribute stopworking