Trying to run the &#39;spec:rcov&#39; task and failing with error below.<br><br>I saw a post from last year with a different REXML error but it was a FixNum issue.<br><br>Any help appreciated.<br><br>S<br><br>OS X<br>Ruby 1.8.6<br>
Rails 2.02<br>RSpec-1.1.3 (build 20080131122909) <br>REXML 3.1.6<br><br>=====<br>876 examples, 0 failures, 87 pending<br>/opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:155:in `check&#39;: Illegal character &#39;&lt;&#39; in raw string &quot; (RuntimeError)<br>
// &lt;![CDATA[<br>&nbsp; function toggleCode( id ) {<br>&nbsp;&nbsp;&nbsp; if ( document.getElementById )<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; elem = document.getElementById( id );<br>&nbsp;&nbsp;&nbsp; else if ( document.all )<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; elem = eval( &quot;document.all.&quot; + id );<br>
&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return false;<br><br>&nbsp;&nbsp;&nbsp; elemStyle = elem.style;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; if ( elemStyle.display != &quot;block&quot; ) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; elemStyle.display = &quot;block&quot;<br>&nbsp;&nbsp;&nbsp; } else {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; elemStyle.display = &quot;none&quot;<br>
&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; return true;<br>&nbsp; }<br>&nbsp; <br>&nbsp; // Make cross-references hidden by default<br>&nbsp; document.writeln( &quot;&lt;style type=\&quot;text/css\&quot;&gt;span.cross-ref { display: none }&lt;/style&gt;&quot; )<br>&nbsp; // ]]&gt;<br>
&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:153:in `each&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:153:in `check&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:125:in `parent=&#39;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /opt/local/lib/ruby/site_ruby/1.8/rexml/parent.rb:19:in `&lt;&lt;&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from (eval):161:in `&lt;&lt;&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from (eval):112:in `create&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from (eval):372:in `h_&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov/report.rb:746:in `create_index&#39;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 28 levels...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov.rb:628:in `dump_coverage_info&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov.rb:628:in `each&#39;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov.rb:628:in `dump_coverage_info&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/bin/rcov:405<br>$ <br>