My requirement is valid XML (though it would be nice to see an ISO 8601 date format as well so that we get simpler parsing and a time zone specifier) .
The space between "File" and "Path" in "File Path" makes this an invalid XML document. It treats both "File" and "Path" as attributes.
Exact version is 12.1.4104.4130
This is the current output:
<Risk Name='EICAR Test String' File Path='C:\Temp\NLJ4MYz4.com.part' EventDateTime='Nov 2, 2014 4:22:06 AM' EventInsertTime='Nov 2, 2014 4:23:36 AM' Source='Real Time Scan' Description='""' User='joe.blow' Computer='abc-123' IPAddress='1.1.1.1' Domain='montpelierre.net' Server='SEP.xyztr.com' ClientGroup='My Company\Laptops' ActualAction='3' />
XML Parsing Error: not well-formed
Location: file:///C:/temp/x.xml
Line Number 1, Column 37:
This would make it valid XML:
<Risk Name='EICAR Test String' FilePath='C:\Temp\NLJ4MYz4.com.part' EventDateTime='Nov 2, 2014 4:22:06 AM' EventInsertTime='Nov 2, 2014 4:23:36 AM' Source='Real Time Scan' Description='""' User='joe.blow' Computer='abc-123' IPAddress='1.1.1.1' Domain='montpelierre.net' Server='SEP.xyztr.com' ClientGroup='My Company\Laptops' ActualAction='3' />