Hi,

it looks like markup-parsing is broken in 1.2-beta 3.
If a markup.html does NOT have an xml prolog, (like <!DOCTYPE...>), the
parser will complain about a non open tag, because it looks like it
skips the first tag.

Example: wicket/markup/html/debug/PageView.html

Caused by: wicket.markup.MarkupException: Tag '</html>' (line 40, column
1) does not have a matching open tag
[markup =
file:/D:/jboss/jboss-4.0.4RC1/server/default/deploy/hfax.ear/hfax.war/WEB-INF/classes/wicket/markup/html/debug/PageView.html,
index = 36, current = [Raw markup]]
        at wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:349)
        at icket.markup.MarkupParser.readAndParse(MarkupParser.java:191)
        at wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:243)
        at
wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:312)
        at wicket.markup.MarkupCache.getMarkup(MarkupCache.java:189)
        at wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:105)
        at
wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:775)
        at
wicket.markup.html.ContainerWithAssociatedMarkupHelper.renderHeadFromAssociatedMarkupFile(ContainerWithAssociatedMarkupHelper.java:75)




Could sbdy please reproduce this, 'cause i may have messed up my wicket
sources when updating them with the latest beta...

Rgds,

Marco


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to