Hi Thomas,

I had to merge CUnit XML once. My problem was that CUnit adds an XML
header and a DOCTYPE definition which CC.Net seems not to like. My
solution was to download sed from the GnuWin32 Project and remove the
lines leading to the error before merging the file. I know this might
not be very elegant but it works... :-)

regards,

Daniel


Thomas Skovsende writes:
> Hi All.
> 
> I have a slight problem - I have setup ccnet with MSTest and merges
> the output from mstest into my buildlog file. But I can not query the
> data in the xml MSTest spits out as it has it's own default namespace:
> 
> <cruisecontrol>
>   <build>
>     <TestRun xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/
> 2006">
>       <InterestingStuffIWantToGetHoldOf></
> InterestingStuffIWantToGetHoldOf>
>     </TestRun>
>   </build>
> </cruisecontrol>
> 
> The problem is I can not get hold of the
> InterestingStuffIWantToGetHoldOf tag whatever I do :(
> 
> Any ideas or suggestions? Google is not helping on this one - actually
> I found a similar post about this problem on the list from July - that
> wasn't answered.
> 
> Thanks for any help.
> 
> Thomas Skovsende

Reply via email to