Description
XmlPullParser only skip <script> tag content only if type attribute is missing or is "text/javascript" (see here). Apparently this choice was made to support html templates with JavaScript : see WICKET-5288. However type attribute might also be set to 'module' to support JavaScript modules and this causes a ParseException.
In addition to adding "module" to the skip condition maybe we should reconsider to always skip <script> tag content and drop support for WICKET-5288 user case.