Trying to run the 'spec:rcov' 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': Illegal character '<' in raw string " (RuntimeError)<br>
// <![CDATA[<br> function toggleCode( id ) {<br> if ( document.getElementById )<br> elem = document.getElementById( id );<br> else if ( document.all )<br> elem = eval( "document.all." + id );<br>
else<br> return false;<br><br> elemStyle = elem.style;<br> <br> if ( elemStyle.display != "block" ) {<br> elemStyle.display = "block"<br> } else {<br> elemStyle.display = "none"<br>
}<br><br> return true;<br> }<br> <br> // Make cross-references hidden by default<br> document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )<br> // ]]><br>
" from /opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:153:in `each'<br> from /opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:153:in `check'<br> from /opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:125:in `parent='<br>
from /opt/local/lib/ruby/site_ruby/1.8/rexml/parent.rb:19:in `<<'<br> from (eval):161:in `<<'<br> from (eval):112:in `create'<br> from (eval):372:in `h_'<br> from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov/report.rb:746:in `create_index'<br>
... 28 levels...<br> from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov.rb:628:in `dump_coverage_info'<br> from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov.rb:628:in `each'<br>
from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov.rb:628:in `dump_coverage_info'<br> from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/bin/rcov:405<br>$ <br>