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

--
Erik van Oosten
http://2008.rubyenrails.nl/
http://day-to-day-stuff.blogspot.com/

Reply via email to