Cannot validate the XSD schema for an xml report

I could reproduce your problem. The following Test Case script gave me “No such property: W3C_XML_SCHEMA_NS_URI for class: javax.xml.XMLConstants”.

import javax.xml.XMLConstants

println XMLConstants.W3C_XML_SCHEMA_NS_URI

I made a short study. I wrote a new Test Case script like this:

import javax.xml.XMLConstants

URL u = XMLConstants.class.getResource("/" + XMLConstants.class.getName().replaceAll("\\.", "/") + ".class");
System.out.println(u);

When I ran it, I got the following output:

2021-03-11 19:38:23.850 INFO  c.k.katalon.core.main.TestCaseExecutor   - --------------------
2021-03-11 19:38:23.854 INFO  c.k.katalon.core.main.TestCaseExecutor   - START Test Cases/TCb
2021-03-11 19:38:24.909 DEBUG testcase.TCb                             - 1: u = XMLConstants.getResource("/" + getName().replaceAll("\.", "/") + ".class")
2021-03-11 19:38:24.926 DEBUG testcase.TCb                             - 2: out.println(u)
jar:file:/Applications/Katalon%20Studio.app/Contents/Eclipse/configuration/resources/lib/stax-api-1.0.1.jar!/javax/xml/XMLConstants.class
2021-03-11 19:38:24.954 INFO  c.k.katalon.core.main.TestCaseExecutor   - END Test Cases/TCb

This message clearly tells that Katalon Studio found and loaded the XMLConstants class from the stax-api-1.0.1.jar in the classpass.

What is StAX API? https://mvnrepository.com/artifact/stax/stax-api/1.0.1 Oh I remember it. I saw StAX API nearly 20 years ago! I believe that the project had already sunset. And now I found the project site http://stax.codehaus.org/ is already gone. It is quite likely that the implementation of javax.xml.XMLConstants class in the stax-api.-1.0.1.jar is a bogus one.

On the other hand you can easily find that the XMLConstants class is bundled in the JAXP API

https://docs.oracle.com/javase/8/docs/api/javax/xml/XMLConstants.html