Something I just noticed. if you only have a single conditional statement then everything works fine - it looks like Wicket is ignoring the conditional statements altogether, and simply sees multiple opening <html> tags, and thus doesn't find multiple close tags.
N On Thu, Feb 28, 2013 at 3:19 PM, Nick Pratt <[email protected]> wrote: > Should the following work with Wicket 6.5/6.6? > > <!DOCTYPE html> > > <!--[if IE]> > <html class="IE"> > <![endif]--> > <!--[if !IE]> --> > <html class="NOT_IE"> > <!-- <![endif]--> > > </html> > > > Wicket is not parsing the conditional when its around the <html> element > itself - its failing to find the close tag > > ERROR - DefaultExceptionMapper - Unexpected error occurred > Tag does not have a close tag > > Just put the above HTML in the Quickstart HomePage.html, and remove all > the Components from HomePage.java to reproduce. > > It would also be helpful to tweak that error message to include the name > of the tag that cant be found. > > Nick >
