codahale.com٭blog

Coda Hale lives in Berkeley, CA, where he writes about Ruby on Rails, usability, web design and development, and the occasional bit about bicycles.

So close… so very close…

Loaded suite example_test
Started
F
Finished in 0.041 seconds.

  1) Failure:
test_main_page(TestCodablog)
    [./lib/responsible_markup.rb:87:in `assert_valid_html'
     example_test.rb:7:in `test_main_page']:
Main page of codablog is not valid XHTML.
  Line 227, Column 154: “Rails” is not a member of a group specified for any attribute
    …or “Rails Sucks” Articles”>5 comments &raquo;</a>…
                   ^
  Line 405, Column 2262: character “&” is the first character of a delimiter but occurred as data
    …”>Ruby Code & Style</a></li><li><a href=”http://pod…
                   ^
  Line 227, Column 159: an attribute value literal can occur in an attribute specification list only
 after a VI delimiter
    …ails Sucks” Articles”>5 comments &raquo;</a>                             </d…
                   ^
  Line 232, Column 171: “Rails” is not a member of a group specified for any attribute
    …les for “Rails Sucks” Articles”>5</a>          <spa…
                   ^
  Line 232, Column 176: an attribute value literal can occur in an attribute specification list only
 after a VI delimiter
    …or “Rails Sucks” Articles”>5</a>          <span cla…
                   ^
  Line 405, Column 51: there is no attribute “onClick”
    …nk” onClick=”toggleBloglines(); return false;”>Blog…
                   ^

Get your validation on!
And mind you, I went and fixed these errors right after I posted this.

Comments Off