 			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>";

			var descriptor:Descriptor = getDescriptorFromDescription(description);

			var xml:String =
				"<testcase classname=\""+descriptor.suite+"\" name=\""+descriptor.method+"\" time=\"" + testTimeString( lastTestTime ) + "\" status=\""+IGNORE+"\">"
				+ "<skipped />"
				+ "</testcase>";

