Agreed.  I understood from previous threads that it was not a developer
error, but a firefox error.  If we start going down this path, it is
likely to get slippery indeed.  I'd rather not see wicket modify markup
any more than absolutely required.  Are we going to "fix" code that
breaks on all browsers?


On Fri, 2007-11-02 at 20:14 +0100, Erik van Oosten wrote:
> It does not matter who is making the error, John is still right imho.
> 
> Regards,
>     Erik.
> 
> 
> Matej Knopp wrote:
> > Okay. Again. This is not about developer making error!
> >
> > Code like this:
> >  <div/>
> >   Something
> >
> > Is perfectly legal. However, firefox interprets it as
> >  <div>
> >    Something
> >    ...
> > Which is completely wrong. This is not correcting developer error!
> > This is correcting browser error. And such thing is very difficult to
> > spot.
> >
> > -Matej
> >
> > On 11/2/07, Philip A. Chapman <[EMAIL PROTECTED]> wrote:
> >   
> >> I agree with this stance.
> >>
> >> On Fri, 2007-11-02 at 09:19 -0600, John Ray wrote:
> >>     
> >>> I got bit by this problem yesterday. Although I was just previewing the
> >>> page in the browser by loading the HTML file directly. Since Wicket
> >>> wasn't running it wouldn't have mattered if it fixed my div tag for me
> >>> or not.
> >>>
> >>> I'd rather see Wicket not modify the HTML as it's then starting down the
> >>> slippery slope of assuming the developer made an error and automatically
> >>> correcting it. I think a better solution would be to have an option
> >>> where Wicket looks for potential errors in your HTML and then outputs a
> >>> warning to the console.
> >>>
> >>> John
> >>>       
> 
-- 
Philip A. Chapman
 
Desktop and Web Application Development:
Java, .NET, PostgreSQL, MySQL, MSSQL
Linux, Windows 2000, Windows XP

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to