summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-07 15:30:43 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-07 15:30:43 -0500
commit56f55250a271f979be41b42cbc3c4553f9160876 (patch)
tree99658f74227e39f9546997c23ca3e7713dba5016 /Source
parent063d6b5ecb8683db301c5153f6038b155615fe62 (diff)
downloadcmake-56f55250a271f979be41b42cbc3c4553f9160876.tar.gz
More XML
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCTest.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index f174ea63c1..db004a2a30 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -691,13 +691,14 @@ int cmCTest::UpdateDirectory()
<< "\t\t<CheckinDate>" << sdate1 << "</CheckinDate>\n"
<< "\t\t<Author>" << sauthor1 << "</Author>\n"
<< "\t\t<Email>" << semail1 << "</Email>\n"
- << "\t\t<Log>" << comment1 << "</Log>\n"
+ << "\t\t<Log>" << this->MakeXMLSafe(comment1) << "</Log>\n"
<< "\t\t<Revision>" << srevision1 << "</Revision>\n"
- << "\t\t<PriorRevision>" << srevision2 << "</PriorRevision>\n"
- << "\t\t<Revisions>" << std::endl;
+ << "\t\t<PriorRevision>" << srevision2 << "</PriorRevision>"
+ << std::endl;
if ( srevision2 != srevision1 )
{
os
+ << "\t\t<Revisions>\n"
<< "\t\t\t<Revision>" << srevision1 << "</Revision>\n"
<< "\t\t\t<PreviousRevision>" << srevision2 << "</PreviousRevision>\n"
<< "\t\t\t<Author>" << sauthor1<< "</Author>\n"
@@ -845,7 +846,7 @@ int cmCTest::ConfigureDirectory()
}
os << "<ConfigureCommand>" << cCommand.c_str() << "</ConfigureCommand>" << std::endl;
//std::cout << "End" << std::endl;
- os << "<Log>" << output << "</Log>" << std::endl;
+ os << "<Log>" << this->MakeXMLSafe(output) << "</Log>" << std::endl;
std::string end_time = ::CurrentTime();
os << "\t<ConfigureStatus>" << retVal << "</ConfigureStatus>\n"
<< "\t<EndDateTime>" << end_time << "</EndDateTime>\n"