You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by nino martinez wael <ni...@gmail.com> on 2011/10/07 13:14:52 UTC
1.5.1
Hi
I get an parse exception on the markup below I did'nt get this in
1.5.0 and backwards and I can't seem to find an missing close tag :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da" lang="da"
xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd">
<head>
<wicket:head>
<title>CC Admin åbningstider - <wicket:container
wicket:id=entranceNameHeader"></wicket:container> </title>
<style>
.nameHeader{
margin-left: 1em;
}
</style>
</wicket:head>
</head>
<body>
<wicket:extend>
<wicket:container wicket:id="linksOrNoLinks"></wicket:container>
<wicket:fragment wicket:id="fragmentNoLinks"></wicket:fragment>
<wicket:fragment wicket:id="fragmentLinks">
<wicket:link>
<div class="templateTopMenuRow grid_12">
<ul class="nav main">
<li> <a class="menuItem"
href="ViewEntrancePage.html">Åbningstider</a></li>
<li> <a class="menuItem"
href="InfoMessagePage.html">Infobesked</a></li>
<wicket:container wicket:id="fragmentContainer">
<li> <a class="menuItem"
href="CustomParametersPage.html">Parametre</a></li>
<li> <a class="menuItem"
href="SkillGroupsPage.html">Skillgrupper</a></li>
</wicket:container>
</ul>
</div>
</wicket:link>
</wicket:fragment>
<h1 wicket:id="triggertypelabel" class="nameHeader">Kundeindgang</h1>
<h2 wicket:id="header2Label" class="nameHeader">Ccadmin header</h2>
<wicket:child/>
</wicket:extend>
</body>
</html>
Heres the exception:
Caused by: java.text.ParseException: No matching close bracket at
(line 33, column 50)
at org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:216)
at org.apache.wicket.markup.parser.filter.RootMarkupFilter.nextElement(RootMarkupFilter.java:58)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.filter.OpenCloseTagExpander.nextElement(OpenCloseTagExpander.java:78)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
at org.apache.wicket.markup.AbstractMarkupParser.getNextTag(AbstractMarkupParser.java:213)
at org.apache.wicket.markup.AbstractMarkupParser.parseMarkup(AbstractMarkupParser.java:228)
... 60 more
-Nino
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: 1.5.1
Posted by nino martinez wael <ni...@gmail.com>.
the parent renders fine in other contexts.. And im also wondering why
it fails in 1.5.1 but not 1.5.0
2011/10/7 Sven Meier <sv...@meiers.net>:
>> <wicket:extend>
>
> Maybe a problem in the parent markup?
>
> Sven
>
> On 10/07/2011 01:14 PM, nino martinez wael wrote:
>> Hi
>>
>> I get an parse exception on the markup below I did'nt get this in
>> 1.5.0 and backwards and I can't seem to find an missing close tag :
>>
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da" lang="da"
>> xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd">
>> <head>
>> <wicket:head>
>> <title>CC Admin åbningstider - <wicket:container
>> wicket:id=entranceNameHeader"></wicket:container> </title>
>> <style>
>> .nameHeader{
>> margin-left: 1em;
>> }
>> </style>
>> </wicket:head>
>> </head>
>> <body>
>> <wicket:extend>
>> <wicket:container wicket:id="linksOrNoLinks"></wicket:container>
>> <wicket:fragment wicket:id="fragmentNoLinks"></wicket:fragment>
>> <wicket:fragment wicket:id="fragmentLinks">
>> <wicket:link>
>> <div class="templateTopMenuRow grid_12">
>> <ul class="nav main">
>> <li> <a class="menuItem"
>> href="ViewEntrancePage.html">Åbningstider</a></li>
>> <li> <a class="menuItem"
>> href="InfoMessagePage.html">Infobesked</a></li>
>> <wicket:container wicket:id="fragmentContainer">
>> <li> <a class="menuItem"
>> href="CustomParametersPage.html">Parametre</a></li>
>> <li> <a class="menuItem"
>> href="SkillGroupsPage.html">Skillgrupper</a></li>
>> </wicket:container>
>> </ul>
>> </div>
>> </wicket:link>
>> </wicket:fragment>
>> <h1 wicket:id="triggertypelabel" class="nameHeader">Kundeindgang</h1>
>> <h2 wicket:id="header2Label" class="nameHeader">Ccadmin header</h2>
>> <wicket:child/>
>> </wicket:extend>
>> </body>
>> </html>
>>
>> Heres the exception:
>>
>> Caused by: java.text.ParseException: No matching close bracket at
>> (line 33, column 50)
>> at org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:216)
>> at org.apache.wicket.markup.parser.filter.RootMarkupFilter.nextElement(RootMarkupFilter.java:58)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.filter.OpenCloseTagExpander.nextElement(OpenCloseTagExpander.java:78)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
>> at org.apache.wicket.markup.AbstractMarkupParser.getNextTag(AbstractMarkupParser.java:213)
>> at org.apache.wicket.markup.AbstractMarkupParser.parseMarkup(AbstractMarkupParser.java:228)
>> ... 60 more
>>
>> -Nino
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: 1.5.1
Posted by Sven Meier <sv...@meiers.net>.
> <wicket:extend>
Maybe a problem in the parent markup?
Sven
On 10/07/2011 01:14 PM, nino martinez wael wrote:
> Hi
>
> I get an parse exception on the markup below I did'nt get this in
> 1.5.0 and backwards and I can't seem to find an missing close tag :
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da" lang="da"
> xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd">
> <head>
> <wicket:head>
> <title>CC Admin åbningstider - <wicket:container
> wicket:id=entranceNameHeader"></wicket:container> </title>
> <style>
> .nameHeader{
> margin-left: 1em;
> }
> </style>
> </wicket:head>
> </head>
> <body>
> <wicket:extend>
> <wicket:container wicket:id="linksOrNoLinks"></wicket:container>
> <wicket:fragment wicket:id="fragmentNoLinks"></wicket:fragment>
> <wicket:fragment wicket:id="fragmentLinks">
> <wicket:link>
> <div class="templateTopMenuRow grid_12">
> <ul class="nav main">
> <li> <a class="menuItem"
> href="ViewEntrancePage.html">Åbningstider</a></li>
> <li> <a class="menuItem"
> href="InfoMessagePage.html">Infobesked</a></li>
> <wicket:container wicket:id="fragmentContainer">
> <li> <a class="menuItem"
> href="CustomParametersPage.html">Parametre</a></li>
> <li> <a class="menuItem"
> href="SkillGroupsPage.html">Skillgrupper</a></li>
> </wicket:container>
> </ul>
> </div>
> </wicket:link>
> </wicket:fragment>
> <h1 wicket:id="triggertypelabel" class="nameHeader">Kundeindgang</h1>
> <h2 wicket:id="header2Label" class="nameHeader">Ccadmin header</h2>
> <wicket:child/>
> </wicket:extend>
> </body>
> </html>
>
> Heres the exception:
>
> Caused by: java.text.ParseException: No matching close bracket at
> (line 33, column 50)
> at org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:216)
> at org.apache.wicket.markup.parser.filter.RootMarkupFilter.nextElement(RootMarkupFilter.java:58)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.filter.OpenCloseTagExpander.nextElement(OpenCloseTagExpander.java:78)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.parser.AbstractMarkupFilter.nextElement(AbstractMarkupFilter.java:75)
> at org.apache.wicket.markup.AbstractMarkupParser.getNextTag(AbstractMarkupParser.java:213)
> at org.apache.wicket.markup.AbstractMarkupParser.parseMarkup(AbstractMarkupParser.java:228)
> ... 60 more
>
> -Nino
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: 1.5.1
Posted by Jeffrey Schneller <je...@envisa.com>.
Yes, that would be very nice to have an improved exception message. I
ran into this problem as well during a migration to 1.5.1 and it caused
lots of wasted time trying to find the problem.
On a side note 1.5.1 is awesome. The migration was relatively painless.
-----Original Message-----
From: nino martinez wael [mailto:nino.martinez.wael@gmail.com]
Sent: Friday, October 07, 2011 9:02 AM
To: users@wicket.apache.org
Subject: Re: 1.5.1
yup that would be really nice.
2011/10/7 Andrea Del Bene <ad...@ciseonweb.it>:
> Hi nino,
>
> XmlPullParser has became more "strict" in Wicket 1.5.1 in order to
solve
> WICKET-3773. Now it complains about not balanced quotes of tag
attributes.
> Maybe we could improve exception message.
>>
>> virtual ipod on its way to matt.. Dead on! thanks :)
>>
>> 2011/10/7 Matthias Keller<ma...@ergon.ch>:
>>>
>>> Hi
>>>
>>> Seems to be right here:
>>>
>>> <wicket:container wicket:id=entranceNameHeader">..
>>> You're missing an opening quote
>>>
>>> Matt
>>>
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: 1.5.1
Posted by nino martinez wael <ni...@gmail.com>.
yup that would be really nice.
2011/10/7 Andrea Del Bene <ad...@ciseonweb.it>:
> Hi nino,
>
> XmlPullParser has became more "strict" in Wicket 1.5.1 in order to solve
> WICKET-3773. Now it complains about not balanced quotes of tag attributes.
> Maybe we could improve exception message.
>>
>> virtual ipod on its way to matt.. Dead on! thanks :)
>>
>> 2011/10/7 Matthias Keller<ma...@ergon.ch>:
>>>
>>> Hi
>>>
>>> Seems to be right here:
>>>
>>> <wicket:container wicket:id=entranceNameHeader">..
>>> You're missing an opening quote
>>>
>>> Matt
>>>
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: 1.5.1
Posted by Andrea Del Bene <ad...@ciseonweb.it>.
Hi nino,
XmlPullParser has became more "strict" in Wicket 1.5.1 in order to solve
WICKET-3773. Now it complains about not balanced quotes of tag
attributes. Maybe we could improve exception message.
> virtual ipod on its way to matt.. Dead on! thanks :)
>
> 2011/10/7 Matthias Keller<ma...@ergon.ch>:
>> Hi
>>
>> Seems to be right here:
>>
>> <wicket:container wicket:id=entranceNameHeader">..
>> You're missing an opening quote
>>
>> Matt
>>
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: 1.5.1
Posted by nino martinez wael <ni...@gmail.com>.
virtual ipod on its way to matt.. Dead on! thanks :)
2011/10/7 Matthias Keller <ma...@ergon.ch>:
> Hi
>
> Seems to be right here:
>
> <wicket:container wicket:id=entranceNameHeader">..
> You're missing an opening quote
>
> Matt
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: 1.5.1
Posted by Matthias Keller <ma...@ergon.ch>.
Hi
Seems to be right here:
<wicket:container wicket:id=entranceNameHeader">..
You're missing an opening quote
Matt