in reply to Re: Fixing ill-formed XML
in thread Fixing ill-formed XML

Whoever decided that browsers would "do their best" with invalid HTML was responsible for the nightmare of non-validating web pages that we have at the moment.

It may seem anoying sometimes, but regardless of how forgiving browsers may be, people (and machines) will allways be faliable, and will allways make mistakes. Would you prefer it if browsers just refused to show any page with the slightest HTML glitch?

Ultimately, the choice to "do their best with invalid HTML" can be traced back to the defacto mantra of the IETF...

Be liberal in what you accept, and
conservative in what you send.

For more background, consult RFC791, RFC1122, and RFC1958,

Replies are listed 'Best First'.
Re: Re: Re: Fixing ill-formed XML
by grantm (Parson) on Dec 20, 2002 at 00:01 UTC
    Would you prefer it if browsers just refused to show any page with the slightest HTML glitch?

    Absolutely! If browsers didn't need to parse broken HTML, emulate stupid behaviours of old browsers and all that stuff then they would be smaller, faster, more stable and much easier to develop for.