Using Build Log in XML
I'm trying to use the XML build log as a data source for our build report. So I tried to parse the XML during the build, but I got an error saying that it wasn't well formatted. So I went back and checked it, and it wasn't. But then, when I check the XML file on the build server after the all the build steps and opened it up in IE, and it parsed the XML file just fine. So I guess log is written as each step is executed as text file, therefore the XML log file is in half-ass state when I try to use it during the build. Is there any way to resolve this issue? Or I just can't use the log file in XML format during the build?
My hope is that whenever XML text file is flushed on the disk, it want the XML file to be well formatted.
|