Skip to content

Commit

Permalink
Fixed issue with tidied XHTML overwriting results in XPath test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusiaka committed Jul 23, 2018
1 parent 0fbf257 commit b16448c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/hannonhill/umt/struts/AssignFieldsAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public String testXPath() throws Exception
XmlUtil.evaluateXPathExpressionForMultipleField(cleanXml, testXPath));

if (!cleanXml.equals(testXml))
result = "\r\n\r\n-----------------------------------\r\n\r\nTIDIED XHTML:\r\n" + cleanXml;
result += "\r\n\r\n-----------------------------------\r\n\r\nTIDIED XHTML:\r\n" + cleanXml;

inputStream = new ByteArrayInputStream(result.getBytes("UTF-8"));
return SUCCESS;
Expand Down

0 comments on commit b16448c

Please sign in to comment.