Format.XML_TEMPLATE using Hamcrest matchers produces invalid xml tags

Description

When using OutcomesTable with Hamcrest matchers, if you have an outcome error, the generated value from the matcher for Long, Short, Float and Object is surrounded with '<' and '>'.

It gives an xml tag that looks like this:
<value><1234L></value>

which is invalid xml.
Hudson/Jenkins plugin then fail to produce a report for xUnit.

I think the reporter should escape these characters.

Assignee

Unassigned

Reporter

Ghislain Nadeau

Labels

None

Fix versions

Affects versions

Priority

Minor
Configure