wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Korbinian Bachl <korbinian.ba...@whiskyworld.de>
Subject Re: wicket 6.x / java.text.ParseException on multiple div's
Date Sun, 15 May 2016 10:03:50 GMT
Hello Per,

yes, when I remove just 1 of the 2 div's it works instantly; I can tigger this by putting
in:
<div>
<div>A</div>
<div>B</div>
</div>

and he complains....

Best,

Korbinian

----- Urspr√ľngliche Mail -----
> Von: "Per Newgro" <per.newgro@gmx.ch>
> An: users@wicket.apache.org
> Gesendet: Sonntag, 15. Mai 2016 11:54:30
> Betreff: Re: wicket 6.x / java.text.ParseException on multiple div's

> Did you try to remove the questionable markup to see what is happening?
> 
> Am 15.05.2016 um 11:39 schrieb Korbinian Bachl:
>> Hello,
>>
>> I'm still on migrating a big wicket 1.4 app to wicket 6.23, and I now got a
>> problem I dont know how to solve. A page throws following error:
>>
>> java.text.ParseException: Same attribute found twice: div (line 163, column 52)
>> at
>> org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:698)
>>          at org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:311)
>> ....
>>
>> so far I would expect this to happen on wrong/ malformed HTML - but my HTML is
>> fine is indeed needed this way!
>>
>> complained HTML:
>>
>> <div id="slides">
>>
>>        <div>
>>             content
>>          </div>
>>          
>>          <div>
>>                content
>>          </div>
>> </div>
>>
>> So what is going on here? Why does wicket complain about those poor div's? Is
>> there any way I can disable this check for div's??? For me this behaviour seems
>> as a bug as div following a div is perfectly fine HTML code?
>>
>> Best,
>>
>> Korbinian
>>
>> ---------------------------------------------------------------------
>> 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


Mime
View raw message