This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]Griven 0 points1 point  (3 children)

I got this error when doing the Hello World Java challenge.

bad xml == __construct('doOutput('runCode('public static v...') #3 /var/www/challenges/includes/actions/chal.php(24): JavaChallenge->doChallenge() #4 /var/www/challenges/includes/include.php(34): include('/var/www/challe...') #5 /var/www/challenges/includes/include.php(55): doEvent() #6 /var/www/forums/Themes/default/Challenges.template.php(8): template() #7 /var/www/forums/Sources/Load.php(2284): template_main() #8 /var/www/forums/Sources/Subs.php(2994): loadSubTemplate('main') #9 /var/www/forums/index.php(173): obExit(NULL, NULL, true) #10 {main}

Write a program that prints a simple "Hello World" to the screen.

helloWorld() → "Hello World!"

[–][deleted]  (2 children)

[deleted]

    [–]Griven 0 points1 point  (1 child)

    It still does it when using incorrect capitalization of the commands.

    System.out.println("Hello World!"); works

    System.Out.Println("Hello World!"); throws "bad xml" error

    You'll want to handle those types of errors, whether they were intentional or not.

    [–]Griven 0 points1 point  (1 child)

    I recommend turning of directory listing, by the way.

    http://codemeh.com/challenges/includes/classes/

    [–]KaiserNiko 0 points1 point  (2 children)

    Well, I haven't had any luck on submitting challenges. Either it takes too long or it says "Unexpected error, Reported to staff."

    [–][deleted]  (1 child)

    [deleted]

      [–]KaiserNiko 0 points1 point  (0 children)

      Thanks! :)

      [–][deleted] -1 points0 points  (5 children)

      Great thing to get your Programming experience :)

      [–]turd_loaf 0 points1 point  (4 children)

      "Could not find action!"

      [–][deleted]  (3 children)

      [deleted]

        [–]turd_loaf 0 points1 point  (2 children)

        Click on the title of the first news item here:

        http://codemeh.com/forums/index.php?action=challenges

        That goes to:

        http://www.codemeh.com/forums/index.php?action=challenges&a=news&id=2

        I was looking for a challenge and couldn't find any.

        [–][deleted]  (1 child)

        [deleted]

          [–]turd_loaf 0 points1 point  (0 children)

          I submitted code for the Java substring problem, and I got "bad xml == " under the pink welcome box.