<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -114,4 +114,6 @@ Peter Donald &lt;peter at realityforge dot org&gt; to add validation of CSS files and
 Simon Stapleton for inspiration to add who added support display_invalid_content.
 Clifford T. Matthews fix for ruby 1.8.5 and configuration of server endpoints.
 Tomasz Wegrzanowski for replacing class variables with class_inheritable_accessor.
-C&#233;dric Deltheil for ensuring process_with_auto_validate returns the response.
\ No newline at end of file
+C&#233;dric Deltheil for ensuring process_with_auto_validate returns the response.
+Nick Plante for fixing css validation.
+</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -120,14 +120,17 @@ class Test::Unit::TestCase
         text_to_multipart('usermedium','all') ]
       
       boundary = '-----------------------------24464570528145'
-      query = params.collect { |p| '--' + boundary + &quot;\r\n&quot; + p }.join('') + boundary + &quot;--\r\n&quot;
+      query = params.collect { |p| '--' + boundary + &quot;\r\n&quot; + p }.join('') + '--' + boundary + &quot;--\r\n&quot;
 
       response = http.start(CSS_VALIDATOR_HOST).post2(CSS_VALIDATOR_PATH,query,&quot;Content-type&quot; =&gt; &quot;multipart/form-data; boundary=&quot; + boundary)
       File.open(results_filename, 'w+') do |f| Marshal.dump(response, f) end
     end
     messages = []
-    REXML::XPath.each( REXML::Document.new(response.body).root, &quot;//div[@id='errors']//tr[@class='error']&quot;) do |element|
-      messages &lt;&lt; element.to_s.gsub(/&lt;[^&gt;]+&gt;/,' ').gsub(/\n/,' ').gsub(/\s+/, ' ')
+    begin
+      REXML::XPath.each( REXML::Document.new(response.body).root, &quot;//x:tr[@class='error']&quot;, { &quot;x&quot;=&gt;&quot;http://www.w3.org/1999/xhtml&quot; }) do |element|
+        messages &lt;&lt; &quot;Invalid CSS: line&quot; + element.to_s.gsub(/&lt;[^&gt;]+&gt;/,' ').gsub(/\n/,' ').gsub(/\s+/, ' ')
+      end
+    rescue REXML::ParseException
     end
     if messages.length &gt; 0
       message = messages.join(&quot;\n&quot;)</diff>
      <filename>lib/assert_valid_asset.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>52d33dbe4f5f129d8d9bb45c91f3d2e2e5ce8c68</id>
    </parent>
  </parents>
  <author>
    <name>Steve Sloan</name>
    <email>steve@finagle.org</email>
  </author>
  <url>http://github.com/CodeMonkeySteve/assert-valid-asset/commit/398d0f85fb423c55f61edd450b4d1d8ce884a4f5</url>
  <id>398d0f85fb423c55f61edd450b4d1d8ce884a4f5</id>
  <committed-date>2008-05-11T21:58:01-07:00</committed-date>
  <authored-date>2008-05-11T21:58:01-07:00</authored-date>
  <message>Fixed CSS validation (sync from official SVN).</message>
  <tree>8d2c6c56a4c2a7c81b5da6d4a99917622aac50bb</tree>
  <committer>
    <name>Steve Sloan</name>
    <email>steve@finagle.org</email>
  </committer>
</commit>
