Added xml parsing to java goal message parser.