Browse Source

Use literal quotes in Update.xml UpdateCommand

Previously we escaped quotes in <UpdateCommand>...</UpdateCommand>
values using '&quot;'.  This is not necessary because the value is in
xml CDATA and not an xml attribute.
Brad King 16 years ago
parent
commit
a4cdd73636
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/CTest/cmCTestUpdateHandler.cxx

+ 2 - 1
Source/CTest/cmCTestUpdateHandler.cxx

@@ -258,7 +258,8 @@ int cmCTestUpdateHandler::ProcessHandler()
     << this->CTest->GetTestModelString() << "</BuildStamp>" << std::endl;
   os << "\t<StartDateTime>" << start_time << "</StartDateTime>\n"
     << "\t<StartTime>" << start_time_time << "</StartTime>\n"
-    << "\t<UpdateCommand>" << cmXMLSafe(vc->GetUpdateCommandLine())
+    << "\t<UpdateCommand>"
+     << cmXMLSafe(vc->GetUpdateCommandLine()).Quotes(false)
     << "</UpdateCommand>\n"
     << "\t<UpdateType>" << cmXMLSafe(
       cmCTestUpdateHandlerUpdateToString(this->UpdateType))