Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [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'

+1


---------------------------------------------------
Kevin Sutter
STSM, MicroProfile and Jakarta EE architect @ IBM
e-mail:  sutter@xxxxxxxxxx     Twitter:  @kwsutter
phone: tl-553-3620 (office), 507-253-3620 (office)    
LinkedIn:
https://www.linkedin.com/in/kevinwsutter



From:        Ivar Grimstad <ivar.grimstad@xxxxxxxxxxxxxxxxxxxxxx>
To:        jakartaee-tck developer discussions <jakartaee-tck-dev@xxxxxxxxxxx>
Date:        06/11/2020 12:54
Subject:        [EXTERNAL] Re: [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'
Sent by:        jakartaee-tck-dev-bounces@xxxxxxxxxxx




I would suggest using https everywhere.

Ivar

On Thu, Jun 11, 2020 at 7:52 PM Scott Marlow <smarlow@xxxxxxxxxx> wrote:
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/j2eeand 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

_______________________________________________
jakartaee-tck-dev mailing list

jakartaee-tck-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev




--

Ivar Grimstad

Jakarta EE Developer Advocate | Eclipse Foundation, Inc.

Community. Code. Collaboration. 


Join us at our virtual event: EclipseCon 2020- October 20-22_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev




Back to the top