rahulpathakgit / codeswarm

Automatically exported from code.google.com/p/codeswarm
GNU General Public License v3.0
0 stars 0 forks source link

[Fatal Error] activity.xml:22858:78: Element type "event" must be followed by either attribute specifications, ">" or "/>". #76

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please attach your config file to help us reproduce the problem.

What steps will reproduce the problem?
1. ./run.sh

What is the expected output? What do you see instead?
png frames

What version of the product are you using? On what operating system?
latest, ubuntu 12.04

Please provide any additional information below.
./run.sh 
code_swarm project !
Specify a config file, or ENTER for default one [data/sample.config] : 
code_swarm is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
[Fatal Error] activity.xml:22858:78: Element type "event" must be followed by 
either attribute specifications, ">" or "/>".
Error parsing xml:
org.xml.sax.SAXParseException: Element type "event" must be followed by either 
attribute specifications, ">" or "/>".
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1158)
    at code_swarm$XMLQueueLoader.run(code_swarm.java:1200)
    at code_swarm.loadRepEvents(code_swarm.java:1005)
    at code_swarm.setup(code_swarm.java:413)
    at processing.core.PApplet.handleDisplay(PApplet.java:1368)
    at processing.core.PGraphics.requestDisplay(PGraphics.java:690)
    at processing.core.PApplet.run(PApplet.java:1542)
    at java.lang.Thread.run(Thread.java:662)
bye

Original issue reported on code.google.com by kamal2222ahmed@gmail.com on 5 Dec 2012 at 10:47

GoogleCodeExporter commented 8 years ago
Found the issue:

couple of lines in the converted XML were of the form:

<event date="973809600000" filename="/trunk/  "some text within quotes" 
cgi-bin/nph-coder.cgi" author="niv" />

solution:
removed the "" quoted text as shown above, and it worked fine.

Original comment by kamal2222ahmed@gmail.com on 6 Dec 2012 at 12:54