Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jakartaee-tck-dev] How to correct: Expecting namespace 'http://jakarta.ee/xml/ns/jakartaee', but the target namespace of the schema document is 'https://jakarta.ee/xml/ns/jakartaee'

Hi,

I see this error in (Platform TCK build from today) https://ci.eclipse.org/jakartaee-tck/job/jakartaee-tck/job/master/687/testReport/com.sun.ts.tests.samples.ejb.ee.simpleHello/HelloClient/helloTest1:

"
Error occurred during deployment: Exception while deploying the app [ejb_sam_Hello] : org.xml.sax.SAXParseExceptionpublicId: file:/root/vi/glassfish6/glassfish/lib/schemas/ejb-jar_4_0.xsd; lineNumber: 26; columnNumber: 20; Deployment descriptor file META-INF/ejb-jar.xml in archive [ejb_sam_Hello_ejb_jar]. TargetNamespace.1: Expecting namespace 'http://jakarta.ee/xml/ns/jakartaee', but the target namespace of the schema document is 'https://jakarta.ee/xml/ns/jakartaee'
"

Glassfish is using https in its ejb-jar_4_0.xsd (looks the same as https://jakarta.ee/xml/ns/jakartaee/ejb-jar_4_0.xsd), however in the Platform TCK, we previously referred to http://java.sun.com/xml/ns/j2ee and are now referring to http://jakarta.ee/xml/ns/jakartaee.

Should we change the Platform TCK to instead use https when referring to jakarta.ee/xml/ns/jakartaee??

Or something else?

Scott

Back to the top