-
Notifications
You must be signed in to change notification settings - Fork 109
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
Old DTDs/Schema in deployment descriptors of Tags/Pages/Servlet/Assembly Platform TCK tests #1313
Comments
It sounds like this is a Platform TCK challenge for the mentioned tests so the Platform Spec team should approve or deny the challenge. Note that there is some overlap with the jakartaee/tags#255 challenge:
|
Email sent to Platform to vote on this challenge as well as BCC sent to JSTL, JSP, Servlet mailing lists https://www.eclipse.org/lists/jakartaee-platform-dev/msg04461.html |
+1 |
@scottmarlow - added 4 more tests from assembly module of platform TCK. |
@scottmarlow from a Jakarta Tags perspective are you asking to update the schema version in the deployment descriptors for the application? |
@pnicolucci http://java.sun.com/dtd/web-app_2_3.dtd + http://java.sun.com/j2ee/dtds/web-app_2_2.dtd to https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd http://www.sun.com/software/sunone/appserver/dtds/sun-application-client_1_4-0.dtd + http://www.sun.com/software/sunone/appserver/dtds/sun-application-client_5_0-0.dtd to https://jakarta.ee/xml/ns/jakartaee/application-client_10.xsd @gurunrao do you agree?
FYI, the email wasn't sent to JSTL, JSP, Servlet mailing list as but it did go to the Platform mailing list. |
we should update schema to Jakarta EE 8+ schema, as per Platform Specification document. Document reference can be found at https://jakarta.ee/specifications/platform/10/jakarta-platform-spec-10.0#a3447 |
If we update to EE 9+ schemas, that would be helpful for the Tags TCK testing with Jakarta EE 11. |
As mentioned in the Platform TCK call, I think this challenge is likely to be approved. We mentioned in the call that this challenge is for the EE 9.1 + 10.0 Platform TCK but the related component specs (Tags/Pages/Servlet) could opt into having component TCKs released as well to address this challenge. |
My vote is +1 for this change which means there are two votes for and there no votes against. I think that with only two votes this is a discussion but not a valid vote. I'll read up more on this in the Eclipse handbook. I am voting for this challenge as it was pretty well discussed during the EE 9 development cycle and is explained in the Platform Spec:
|
Echoing from https://www.eclipse.org/projects/handbook/#4_7_Committers_and_Contributors:
^ explains that voting should happen on the mailing list. We should try that for the next TCK challenge that needs input from the Platform committers. I'm going to accept this challenge as per the concrete information in https://jakarta.ee/specifications/platform/10/jakarta-platform-spec-10.0#a3447 since no vote should be needed. |
challenge #1313, old schema in test artifacts.
@scottmarlow what's the plan for the EE11 TCK for these tests? We've done a lot of work so far for JSTL to be able to run the same tck for EE10 and EE11 (that's my understanding anyhow). It would be nice if we could update the deployment descriptors rather than exclude the tests. Is there something I can do from the JSTL perspective so the tests are not excluded? |
I created issue #1332 for EE 11 to update all tests to use the latest EE schemas which does include the Tags TCK tests.
Thanks @pnicolucci for asking! Locally on the
An alternative could be to update ^ to https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd for EE 10 which in the case of the @gurunrao what do you think about further test changes to update the ^ schema references for EE 10 as an alternative? |
Also created jakartaee/platform#906 to clarify what the Jakarta EE 11 Platform Specification |
Sadly, we currently have zero I'll work on a pull request to switch to |
…allenge jakartaee#1313, old schema in test artifacts." This reverts commit b383a23.
https://ci.eclipse.org/jakartaee-tck/job/jakartaee-tck-scottmarlow/job/issues_1313_10.0.x_part2/2/testReport/ shows the errors that we get testing this change. The first error is com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient.negativeScriptFreeTlvNoDeclTest The Platform TCK build is at https://ci.eclipse.org/jakartaee-tck/job/jakartaee-tck-scottmarlow/job/issues_1313_10.0.x_part2/2/artifact/jakartaeetck-bundles/jakartaeetck-10.0.5.zip |
The deployment descriptor has elements not supported by new Schema, hence the parsing error. |
@gurunrao https://gist.github.com/scottmarlow/f2ae70d486d8fab69f41dfc0c022bcc1 is a list of EE 10 Platform TCK source files that reference |
@gurunrao as a follow up to #1335 (comment), I added more changes to remove the |
@scottmarlow - update for |
Please do proceed with the update. Thank you! |
|
…m optional web-app_2_3.dtd to (required) web-app_5_0.xsd. Note that we seemed to skip promoting staged jakarta-connectors-tck-2.1.1.zip so we are now releasing akarta-connectors-tck-2.1.2.zip to avoid creating confusion. Signed-off-by: Scott Marlow <[email protected]>
Closing as the needed changes have already been merged and released for Jakarta EE 10 and staged for EE 9.1. Note that a new tracking issue will be created with feedback echoed from jakartaee/specifications#761 (comment) calling for further test changes if I understand correctly. |
Effected Jakarta EE Platform TCK version 9.1/10.0.
Platform specification 9.1/10 states "support for versions of DTDs and schemas prior to Jakarta EE 8 is optional".
Platform specification detailed reference on support of previous schema can be found at: https://jakarta.ee/specifications/platform/10/jakarta-platform-spec-10.0#a3447
Following tests have old schema[ http://java.sun.com/dtd/web-app_2_3.dtd ] reference in the web.xml descriptor.
Following servlet test have old schema [ http://java.sun.com/j2ee/dtds/web-app_2_2.dtd ] reference in the web.xml descriptor.
Following assembly test have old schema [ http://java.sun.com/j2ee/dtds/web-app_2_2.dtd ] reference in the web.xml descriptor.
Above mentioned tests violate Platform specification optional support for versions of DTDs/schemas prior to Jakarta EE 8 and make support of older DTDs/schema mandatory for the vendors of Jakarta EE 9.1/10.
The Tests are failing with deployment failures of test war/ear in Application servers which do not support old DTDs/schema.
The text was updated successfully, but these errors were encountered: