On Wed, 6 Aug 2003, Frank de Lange wrote:
On Tue, Aug 05, 2003 at 11:39:59AM +0200, Frank de Lange wrote:
This is in violation of the HTML specs (href is a required parameter for <base>). What should Dillo do in this case?
Just as stated in our "HTML parsing policy" inside [Project Notes]!
Currently it only checks for the target parameter after it has found a href in the tag (literal interpretation the definition of <base>), but this breaks pages like Namesys' which violate the standard. I can:
a) unconditionally change the code so these pages work b) add a compile option (--pedantic-mode or --quirks-mode or whatever) to disable/enable these changes c) leave it the way it is
I personally prefer b, which gives everyone a choice. Choice is good.
We never take a) -- because of our policies, neither b) -- explained at http://ometer.com/features.html (available from our [Links] section) sometimes c) -- When we don't have time! :) In a nutshell: we try to follow the standard, not to crash on bad pages, and ideally send a warning when facing bad HTML.
Any suggestions/comments to my suggestion?
As stated above. Cheers Jorge.-