Updated Saxon version method and changed time to duration in frontend
This commit is contained in:
@@ -99,6 +99,6 @@ public class Saxon implements XmlEngine{
|
||||
* @return version of the processor
|
||||
*/
|
||||
public String getVersion() {
|
||||
return new Processor(false).getSaxonProductVersion();
|
||||
return "Saxon " + new Processor(false).getSaxonProductVersion();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -318,7 +318,7 @@ function performRequest(endpoint, checkXML, checkTransform) {
|
||||
|
||||
|
||||
if (result.status == "OK") {
|
||||
document.getElementById("procinfo").innerText += " (" + result.time + "ms)";
|
||||
document.getElementById("procinfo").innerText += " (" + result.duration + "ms)";
|
||||
if (result.type)
|
||||
document.getElementById("procinfo").innerText += ". Returned: " + result.type;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user