Boris Goldowsky created WICKET-6172:
---------------------------------------

             Summary: Inconsistent results from getTag[s]ByWicketId
                 Key: WICKET-6172
                 URL: https://issues.apache.org/jira/browse/WICKET-6172
             Project: Wicket
          Issue Type: Bug
          Components: wicket
            Reporter: Boris Goldowsky
            Priority: Minor


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.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to