Re: [PATCH] report: encode XML Character Entities in xUnit report

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Fri, Sep 29, 2017 at 11:46:21PM -0400, Theodore Ts'o wrote:
> Since the xUnit report is an XML document, special XML characters such
> as '<', '>', '&', etc. have to be encoded as "&lt;", "&gt;", etc.
> Otherwise programs parsing something like this:
> 
> 	<testcase classname="xfstests.global" name="generic/450" time="0">
> 		<skipped message="Only test on sector size < half of block size" />
> 	</testcase>
> 
> Will get choke the unescaped '<' character in the skipped message.

The last line should be replaced by:

  ... will choke on the unescaped '<' character in the 'messages'
  attribute of the 'skipped' element.


--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux