On 28 Mar 2011, at 15:38, Phil Nash wrote: > What I’ve noticed is that in the log I get a <buildresults> element > with a <message> element containing the *closing* tag of my xml file. > Then the rest of the file (ie, without the closing tag) is dumped as > CDATA afterwards (unless I set the file action to “copy”, in which > case it just disappears completely). > > If it’s chopping the closing tag off that would explain why it treats > it as CDATA (as it is no longer well formed). > But why would it do that? > I even tried emitted an extra newline on the end of my xml file – but > that made no difference.
In case anyone was interested I tracked down the cause of this. It was a bug in the unit test framework when sending to a file - the last line was being sent to stdout instead - d'oh! All fixed now. Regards, [)o IhIL..
