New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update DTDs that are < Java EE 8 #474
Conversation
I reviewed the changes and they look fine to me, would be good if at least one more person reviews these changes. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @alwin-joseph for testing these changes via https://ci.eclipse.org/jakartaee-tck/job/jakartaee-tck-alw/job/pr%252F474/2/testReport/
However, from https://jakarta.ee/xml/ns/jakartaee/connector_2_0.xsd:
However, connectionfactory-interface in http://java.sun.com/dtd/connector_1_0.dtd didn't seem to be restricted. Either the connector tests that depend on http://java.sun.com/dtd/connector_1_0.dtd need to be updated or disabled or the https://jakarta.ee/xml/ns/jakartaee/connector_2_0.xsd updated to allow connectionfactory-interface to be of any type. Note that I didn't debug this, I'm just going by the test failure output |
My understanding is jakartaee:fully-qualified-classType just means a fully qualified class name and |
Looking at the exception there is an classloading problem. The error is being thrown by https://github.com/eclipse-ee4j/glassfish/blob/8ec34f93134c4857e8e6b2fba9914e897a426caf/appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/ResourceReferenceDescriptor.java#L520 so I don't think this is a schema check. |
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Scott Marlow <smarlow@redhat.com>
Signed-off-by: Scott Marlow <smarlow@redhat.com>
Signed-off-by: Scott Marlow <smarlow@redhat.com>
Signed-off-by: Scott Marlow <smarlow@redhat.com>
Signed-off-by: Scott Marlow <smarlow@redhat.com>
Signed-off-by: Scott Marlow <smarlow@redhat.com>
Signed-off-by: Scott Marlow <smarlow@redhat.com>
…nnector_2_0.xsd doesn't allow spec-version Signed-off-by: Scott Marlow <smarlow@redhat.com>
Signed-off-by: Scott Marlow <smarlow@redhat.com>
…o update ts.jte files, glassfish/connector.xml + Connector1.6TestPlan.html Signed-off-by: Scott Marlow <smarlow@redhat.com>
Summary of changes:
|
One more change was needed for the older ejb deployment descriptors that contain |
Signed-off-by: Scott Marlow <smarlow@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We now have TCK failures in GlassFish relating to parsing old deployment descriptors should those tests be removed? |
I'm not sure @smillidge! @dblevins please see above question about removing failing BMP compatibility tests that I think are for testing legacy EJB DTDs that are not supported in Jakarta EE 9:
Should we remove these tests from the Jakarta EE 9 Platform TCK? Another option would be to exclude them. Perhaps we need more changes to https://github.com/eclipse-ee4j/jakartaee-tck/blob/master/src/com/sun/ts/tests/ejb/ee/deploy/entity/bmp/compat13_14/META-INF/ejb-jar.xml#L40 for the compat_13_14 tests to work. From the TCK test output in run_jakartaeetck.log |
Alwin also mentioned:
1 fails due to “Invalid content was found starting with element ‘resource-ref’”
|
@smillidge @dblevins https://www.eclipse.org/lists/jakartaee-tck-dev/msg00957.html asks (on ejb-dev@eclipse.org + TCK ml) if we can remove the failing J2EE 1.2-1.4 EJB compatibility tests. |
#266
Replaced ejb-jar_1_1.dtd, application_1_2.dtd, application-client_1_2.dtd, connector_1_0.dtd, application-client_1_3.dtd, application_1_3.dtd, ejb-jar_2_0.dtd, web-facesconfig_1_0.dtd, web-facesconfig_1_1.dtd with equivalent Jakarta EE 9 XSDs.