Menu

#81 Generated HTML not proper XML?

closed-fixed
5
2011-02-09
2011-02-06
Anonymous
No

When trying to add comments to a submitted Java file, we are getting an error and are not able to view the java source code or add comments to the file. The error is:

This is an automatic message from the Web-CAT server. An exception was caught while
attempting to read the raw HTML stored in the file:

/data/UB/Spring2011/Spring2011-Alphonce-CSE116/SP11-CSE116-HW1-Mon-100-A6/alphonce/3/Results/clover/code/StringManipulator.html

Exception details:
This error may be due to errors in the HTML generated by the grading script.
Date/time: 2011-02-04 22:18:25 Etc/GMT
Occurrences: 54
Exception:
----------
org.jdom.JDOMException:
Error on line 359: Content is not allowed in trailing section.

I've put the stack trace in attachment.

Line 359 of that file looks like this:

</TD><TD class="srcCell" id="O:85"><span class="srcLine" id="O:85">}</span></TD\&gt;</TR></TBODY></TABLE>&#xD;

I suspect it is the trailing &#xD; that's causing a problem.

Any thoughts?

Discussion

  • Nobody/Anonymous

    Error e-mail from Web-CAT server, incl. stack trace

     
  • Carl Alphonce

    Carl Alphonce - 2011-02-06

    Sorry, I forgot to log in. This is from me. -- Carl

     
  • Stephen H. Edwards

    • status: open --> closed-fixed
     
  • Stephen H. Edwards

    Fixed in v1.1.2 of PerlForPlugins and v2.5.3 of Grader. Restart your Web-CAT instance to pick up the updates. BTW, CVS service is still unavailable on Sourecforge, which is interfering with development and fixes, but we're doing what we can.