 			if(FailureFormatter.isError(failure.exception)) 
 			{
 				xml =
-					"<testcase classname='"+descriptor.suite+"' name='"+descriptor.method+"' time='" + testTimeString( lastTestTime ) +"' status='"+ERROR+"'>"
-					+ "<error message='" + message + "' type='"+ type +"' >"
+					"<testcase classname=\""+descriptor.suite+"\" name=\""+descriptor.method+"\" time=\"" + testTimeString( lastTestTime ) +"\" status=\""+ERROR+"\">"
+					+ "<error message=\"" + message + "\" type=\""+ type +"\">"
 					+ "<![CDATA[" + stackTrace + "]]>"
 					+ "</error>"
 					+ "</testcase>";

			else 
			{
				xml =
					"<testcase classname='"+descriptor.suite+"' name='"+descriptor.method+"' time='" + testTimeString( lastTestTime ) +"' status='"+FAILURE+"'>"
					+ "<failure message='" + message + "' type='"+ type +"' >"
					+ "<![CDATA[" + stackTrace + "]]>"
					+ "</failure>"
					+ "</testcase>";

			// called after each test
			if(!lastFailedTest || description.displayName != lastFailedTest.displayName){
				var desc:Descriptor = getDescriptorFromDescription(description);		
				sendResults("<testcase classname=\""+desc.suite+"\" name=\""+desc.method+"\" time=\"" + testTimeString( lastTestTime ) +"\" status=\""+SUCCESS+"\" />");
			}
		}
		
