Updated Saxon version method and changed time to duration in frontend

This commit is contained in:
2023-06-07 11:46:18 +02:00
parent 1f7b53fee3
commit e172e6c77c
2 changed files with 2 additions and 2 deletions

View File

@@ -99,6 +99,6 @@ public class Saxon implements XmlEngine{
* @return version of the processor * @return version of the processor
*/ */
public String getVersion() { public String getVersion() {
return new Processor(false).getSaxonProductVersion(); return "Saxon " + new Processor(false).getSaxonProductVersion();
} }
} }

View File

@@ -318,7 +318,7 @@ function performRequest(endpoint, checkXML, checkTransform) {
if (result.status == "OK") { if (result.status == "OK") {
document.getElementById("procinfo").innerText += " (" + result.time + "ms)"; document.getElementById("procinfo").innerText += " (" + result.duration + "ms)";
if (result.type) if (result.type)
document.getElementById("procinfo").innerText += ". Returned: " + result.type; document.getElementById("procinfo").innerText += ". Returned: " + result.type;
else else