MantisBT - CDash
View Issue Details
0012218CDashpublic2011-05-23 17:592012-01-17 08:53
Brad King 
Julien Jomier 
normalminorhave not tried
resolvedfixed 
 
2.0 
0012218: Update command fails to parse if it contains XML escaped quotes
The attached UpdateBad.xml contains this:

  <UpdateCommand>&quot;/usr/bin/git&quot; &quot;pull&quot;</UpdateCommand>

but the command displayed on this page:

  http://www.cdash.org/CDash/buildSummary.php?buildid=1155512 [^]

is just:

  Update Command: "
No tags attached.
xml UpdateBad.xml (559) 2011-05-23 17:59
https://public.kitware.com/Bug/file/3893/UpdateBad.xml
xml UpdateGood.xml (606) 2011-05-23 17:59
https://public.kitware.com/Bug/file/3894/UpdateGood.xml
Issue History
2011-05-23 17:59Brad KingNew Issue
2011-05-23 17:59Brad KingFile Added: UpdateBad.xml
2011-05-23 17:59Brad KingDescription Updatedbug_revision_view_page.php?rev_id=336#r336
2011-05-23 17:59Brad KingFile Added: UpdateGood.xml
2011-05-23 18:00Brad KingNote Added: 0026574
2011-05-23 18:02David ColeAssigned To => David Cole
2011-05-23 18:02David ColeStatusnew => assigned
2012-01-17 08:52Julien JomierAssigned ToDavid Cole => Julien Jomier
2012-01-17 08:53Julien JomierNote Added: 0028336
2012-01-17 08:53Julien JomierStatusassigned => resolved
2012-01-17 08:53Julien JomierFixed in Version => 2.0
2012-01-17 08:53Julien JomierResolutionopen => fixed

Notes
(0026574)
Brad King   
2011-05-23 18:00   
If the update command has literal double quotes instead of escaped ones, as in the attached UpdateGood.xml, then the page displays the update command correctly.
(0028336)
Julien Jomier   
2012-01-17 08:53   
The XML parser stops when it encouters ';' therefore we need to concatenate the result.