The Artima Developer Community
Sponsored Link

Web Buzz Forum
Show less errors

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Willison

Posts: 282
Nickname: simonw
Registered: Jun, 2003

Simon Willison is a web technology enthusiast studying for a Computer Science degree at Bath Uni, UK
Show less errors Posted: Sep 1, 2003 6:43 PM
Reply to this message Reply

This post originated from an RSS feed registered with Web Buzz by Simon Willison.
Original Post: Show less errors
Feed Title: Simon Willison: Web Standards
Feed URL: http://feeds.simonwillison.net/swn-everything
Feed Description: Simon Willison's Web Standards cateory
Latest Web Buzz Posts
Latest Web Buzz Posts by Simon Willison
Latest Posts From Simon Willison: Web Standards

Advertisement

The W3C Validator team are seeking help with the latest version of their validator, dubbed the "Zeldman Made Us Do It!" release. They want people to play with the beta and submit suggestions for error messages that would make more sense to the average user. They also have a new feature called "fussy mode" which acts a bit like a lint tool for checking code, highlighting problems that aren't necessarily illegal markup but may not be best practise techniques.

It's great to see improvements to error messages being made (a classic example is the head-scratch-inducing "NET-enabling start-tag requires SHORTTAG YES", which means you used <br /> or <img /> in a normal HTML document) but in my opinion the best thing the validator could possible do is display less errors. Let's take CNN.com as a classic example of an invalid page. Feed it through the new validator and you get a list of 206 errors that scrolls for pages and pages. The average non-standards clued up web designer is going to take one look at that list and give up on the spot: the site works in all the browsers they have tested, and fixing 206 errors is just going to be a waste of their time. I can distinctly remember thinking that exact thing the first time I tried the validator, and consequentially ignoring it for well over a year afterwards.

Anyone who's managed to fix up a page using the validator before will know that errors frequently cascade: one missing tag can cause a dozen or so related errors on the page, which all vanish when the initial missing tag is re-added. Further, a lot of errors boil down to exactly the same concept. If a designer has forgotten to escape the &s in the URLs on a page it could add a hundred or so extra errors to the validation results. They only need to be told once. If the validator came back with a condensed list of 6 or 7 errors along with human explanation and a note that the error occurred X times on the page it would be far less likely to send people recoiling in horror from information overload. Such a condensed report would not need to be the only interface to the validator, although I would recommend it as the default interface simply because advanced users can work out where the "verbose" option is themselves; it's the newbies who need a helping hand and a condensed, easily understood report.

I submitted this suggestion to the validator mailing list a few days ago, but as I haven't had any replies there I thought I'd throw it open to the blogging community to see what people think.

Read: Show less errors

Topic: Wireless Hacks: The Beta Previous Topic   Next Topic Topic: Call to Arms

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use