Skip to content
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 lib/schemas references (e.g. install, release, tests under src) to use either EE 9 or Jakarta EE 8 schemas (as per Jan 21, 2020 VOTE: backward compatibility for descriptor schemas). Also drop unused lib/schemas + lib/dtds #266

Closed
cesarhernandezgt opened this issue May 14, 2020 · 22 comments
Assignees

Comments

@cesarhernandezgt
Copy link
Contributor

No description provided.

@cesarhernandezgt cesarhernandezgt added this to To do in Platform TCK 9 via automation May 14, 2020
@scottmarlow scottmarlow changed the title Update lib/schemas references (e.g. install, release, tests under src) to use either EE 9 or Jakarta EE 8 schemas (as per Jan 21, 2020 VOTE: backward compatibility for descriptor schemas) Update lib/schemas references (e.g. install, release, tests under src) to use either EE 9 or Jakarta EE 8 schemas (as per Jan 21, 2020 VOTE: backward compatibility for descriptor schemas). Also drop unused lib/schemas + lib/dtds Jun 3, 2020
@scottmarlow
Copy link
Contributor

scottmarlow commented Jun 9, 2020

Also switch tests to Jakarta EE 9 XSDs + DTDs.

EE 9 XSDs are at https://jakarta.ee/xml/ns/jakartaee/#9 (source is at https://github.com/eclipse-ee4j/jakartaee-schemas/tree/master/jakartaee9/src)

Doing a search via ag --ignore .git schemaLocation -l | wc -l in the Platform TCK source, returned 4885 files that need updates.

@scottmarlow
Copy link
Contributor

Pushed some whitebox.jar connector XSD changes to https://github.com/scottmarlow/jakartaee-tck/tree/XSDs, looks like we have around 1915 references to http://java.sun.com/xml/ns/j2ee to examine as well.

@scottmarlow
Copy link
Contributor

I don't see many references to /lib/schemas/*.xsd files, just the following:

ag --ignore .git lib.schemas.*xsd
src/com/sun/ts/tests/jaxws/common/xml/catalog/META-INF/jax-ws-catalog.xml
29:      uri="../../../../../../../../../../lib/schemas/ws-addr.xsd"/>
32:      uri="../../../../../../../../../../lib/schemas/swaref.xsd"/>

release/tools/jstl.xml
126:                    <fileset dir="${ts.home}/lib/schemas" includes="web-app*xsd,web-jsptaglibrary*xsd,

We can remove the other XSD files from lib/schemas and see if that causes any issues. This can be done separately I think than the src changes to use the EE9 schemas.

@scottmarlow
Copy link
Contributor

@scottmarlow
Copy link
Contributor

scottmarlow commented Jun 15, 2020

Remaining references to http://xmlns.jcp.org/xml/ns/javaee:

src/com/sun/ts/tests/servlet/ee/spec/security/permissiondd/permissions.xml
src/com/sun/ts/tests/servlet/spec/defaultcontextpath/servlet_spec_defaultcontextpath_web.xml
src/com/sun/ts/tests/servlet/spec/security/denyUncovered/servlet_sec_denyUncovered_web.xml
src/com/sun/ts/tests/servlet/spec/serverpush/servlet_spec_serverpush_web.xml
src/com/sun/ts/tests/jacc/ejb/methodperm/jacc_ejb_methodperm_ejb.xml
src/com/sun/ts/tests/securityapi/ham/customform/expression/faces-config.xml
src/com/sun/ts/tests/securityapi/ham/customform/base/faces-config.xml
src/com/sun/ts/tests/securityapi/ham/sam/obtainbean/permissions.xml
src/com/sun/ts/tests/securityapi/idstore/customhandler/permissions.xml
src/com/sun/ts/tests/securityapi/idstore/idstorepermission/permissions.xml
src/com/sun/ts/tests/appclient/deploy/metadatacomplete/testapp/application-client.xml
src/com/sun/ts/tests/appclient/deploy/metadatacomplete/testapp/application.xml
src/com/sun/ts/tests/ejb32/lite/timer/interceptor/lifecycle/singleton/ejb-jar.xml
src/com/sun/ts/tests/ejb32/relaxedclientview/singleton/singleton_relaxed_client_view_ejb.xml
src/com/sun/ts/tests/ejb32/relaxedclientview/stateless/stateless_relaxed_client_view_ejb.xml
src/com/sun/ts/tests/ejb32/relaxedclientview/stateful/stateful_relaxed_client_view_ejb.xml
src/com/sun/ts/tests/jms/ee20/cditests/mdb/application.xml.clientear
src/com/sun/ts/tests/jms/ee20/cditests/mdb/cditestsmdb_ejb.xml
src/com/sun/ts/tests/jms/ee20/cditests/ejbweb/application.xml.clientear
src/com/sun/ts/tests/jms/ee20/cditests/ejbweb/cditestsejbweb_ejb.xml
src/com/sun/ts/tests/jms/ee20/cditests/ejbweb/cditestsejbweb_web.xml
src/com/sun/ts/tests/jms/ee20/cditests/usecases/application.xml.clientear
src/com/sun/ts/tests/jms/ee20/cditests/usecases/cditestsusecases_ejb.xml
src/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/xml/jsp_vehicle_web.xml
src/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/xml/appclient_vehicle_client.xml
src/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/xml/ejb_vehicle_ejb.xml
src/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/xml/servlet_vehicle_web.xml
src/com/sun/ts/tests/jms/ee20/resourcedefs/annotations/application.xml.clientear
src/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectorautociddurable/descriptor/topic_selectorautociddurable_descriptor_ejb.xml
src/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/noselnocidautodurable/descriptor/topic_noselnocidautodurable_descriptor_ejb.xml
src/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectordupsnondurable/descriptor/topic_selectordupsnondurable_descriptor_ejb.xml
src/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectorauto/descriptor/queue_selectorauto_descriptor_ejb.xml
src/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectordups/descriptor/queue_selectordups_descriptor_ejb.xml
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/WSMTOMFeaturesTestUsingDDsClnt_web.xml
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/WSMTOMFeaturesTestUsingDDsClnt_client.xml
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/application.xml.clientear
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/webservices.xml
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/WSMTOMFeaturesTestUsingDDsClnt_ejb.xml
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/WSMTOMFeaturesTestUsingDDs_web.xml
src/com/sun/ts/tests/ejb30/sec/permsxml/permissions.xml
src/com/sun/ts/tests/common/connector/whitebox/permissiondd/permissions.xml
src/com/sun/ts/tests/jsf/api/jakarta_faces/flow/flowhandler/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/factory/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/basicimplicit/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/common/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/multipagewebinf/bounded-task-flow/bounded-task-flow-flow.xml
src/com/sun/ts/tests/jsf/spec/view/protectedview/WEB-INF/faces-config.xml
src/web/jsf/spec/flows/basicswitch/flow-b/flow-b-flow.xml
src/web/jsf/spec/flows/intermediate/maintain-customer-record/maintain-customer-record-flow.xml
src/web/jsf/spec/flows/basicflowcall/flow-b/flow-b-flow.xml
src/web/jsf/spec/flows/basicmethodcall/flow-b/flow-b-flow.xml
src/web/jsf/spec/flows/basicmultipage/boundtaskflow/bounded-task-flow-flow.xml

@scottmarlow
Copy link
Contributor

scottmarlow commented Aug 13, 2020

Scott is updating various application.xml references as needed:

src/com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpsessionx/application.xml
src/com/sun/ts/tests/servlet/ee/spec/crosscontext/application.xml
src/com/sun/ts/tests/servlet/ee/spec/security/runAs/application.xml
src/com/sun/ts/tests/appclient/deploy/compat13_50/application.xml
src/com/sun/ts/tests/appclient/deploy/compat12_50/application.xml
src/com/sun/ts/tests/appclient/deploy/compat14_50/application.xml
src/com/sun/ts/tests/assembly/compat/standalone/jar/compat13_50/application.xml
src/com/sun/ts/tests/assembly/compat/standalone/jar/compat12_50/application.xml
src/com/sun/ts/tests/assembly/compat/standalone/jar/compat14_50/application.xml
src/com/sun/ts/tests/assembly/compat/standalone/war/compat12_50/application.xml
src/com/sun/ts/tests/assembly/compat/standalone/war/compat14_50/application.xml
src/com/sun/ts/tests/assembly/compat/single/compat13_50/application.xml
src/com/sun/ts/tests/assembly/compat/single/compat12_50/application.xml
src/com/sun/ts/tests/assembly/compat/single/compat14_50/application.xml
src/com/sun/ts/tests/webservices12/ejb/descriptors/WSEjbOverrideWSRefWithDDsTest/application.xml.clientear
src/com/sun/ts/tests/webservices12/ejb/descriptors/WSEjbOverrideWSRefWithDDsTest/application.xml.ejbear
src/com/sun/ts/tests/webservices12/ejb/descriptors/WSEjbOverrideWSRefHCWithDDsTest/application.xml.clientear
src/com/sun/ts/tests/webservices12/ejb/descriptors/WSEjbOverrideWSRefHCWithDDsTest/application.xml.ejbear
src/com/sun/ts/tests/webservices12/ejb/annotations/WSEjbMultipleClientInjectionTest2/application.xml.clientear1
src/com/sun/ts/tests/webservices12/ejb/annotations/WSEjbMultipleClientInjectionTest2/application.xml.clientear2
src/com/sun/ts/tests/webservices12/ejb/annotations/WSEjbMultipleClientInjectionTest2/application.xml.ejbear
src/com/sun/ts/tests/webservices12/ejb/annotations/WSEjbNoWebServiceRefInClientTest/application.xml.clientear
src/com/sun/ts/tests/webservices12/ejb/annotations/WSEjbNoWebServiceRefInClientTest/application.xml.ejbear
src/com/sun/ts/tests/webservices12/ejb/annotations/WSEjbSOAPHandlersTest2/application.xml.clientear
src/com/sun/ts/tests/webservices12/ejb/annotations/WSEjbMultipleClientInjectionTest1/application.xml.clientear
src/com/sun/ts/tests/webservices12/ejb/annotations/WSEjbMultipleClientInjectionTest1/application.xml.ejbear
src/com/sun/ts/tests/webservices13/servlet/WSRespBindAndAddressingTestUsingDDs/application.xml.clientear
src/com/sun/ts/tests/webservices13/ejb/annotations/WSEjbWSRefRespBindAndAddressingCombinedTest/application.xml.clientear
src/com/sun/ts/tests/ejb30/webservice/clientview/application.xml.clientear
src/com/sun/ts/tests/ejb30/webservice/clientview/application.xml.ejbear
src/com/sun/ts/tests/ejb30/webservice/interceptor/application.xml.clientear
src/com/sun/ts/tests/ejb30/webservice/interceptor/application.xml.ejbear
src/com/sun/ts/tests/ejb30/webservice/wscontext/application.xml.clientear
src/com/sun/ts/tests/ejb30/webservice/wscontext/application.xml.ejbear
src/com/sun/ts/tests/ejb30/bb/mdb/dest/topic/jarwar/application.xml
src/com/sun/ts/tests/ejb30/bb/mdb/dest/jarwar/application.xml
src/com/sun/ts/tests/ejb30/assembly/metainfandlibdir/application.xml
src/com/sun/ts/tests/ejb30/assembly/librarydirectory/disable/application.xml
src/com/sun/ts/tests/ejb30/assembly/librarydirectory/custom/application.xml
src/com/sun/ts/tests/ejb30/common/template/application.xml

@alwin-joseph is updating persistence.xml and other files under src/com/sun/ts/tests/jpa including:

src/com/sun/ts/tests/jpa/ee/packaging/web/scope/application.xml
src/com/sun/ts/tests/jpa/ee/propagation/cm/jta/application.xml

References to http://java.sun.com.*xsd:

internal/docs/webservices/WEBSERVICESSpecAssertions.html
internal/docs/webservices/webservices.xml
user_guides/jakartaee/src/main/jbake/content/config.adoc
user_guides/servlet/src/main/jbake/content/rebuild.inc
user_guides/jta/src/main/jbake/content/rebuild.inc
user_guides/websocket/src/main/jbake/content/rebuild.inc
user_guides/securityapi/src/main/jbake/content/rebuild.inc
user_guides/saaj/src/main/jbake/content/rebuild.inc
user_guides/jsp/src/main/jbake/content/rebuild.inc
user_guides/Template/src/main/jbake/content/rebuild.inc
user_guides/jaxrs/src/main/jbake/content/rebuild.inc
user_guides/jstl/src/main/jbake/content/rebuild.inc
user_guides/concurrency/src/main/jbake/content/rebuild.inc
user_guides/jsf/src/main/jbake/content/rebuild.inc
src/com/sun/ts/tests/websocket/platform/cdi/beans.xml
src/com/sun/ts/tests/jsonb/cdi/customizedmapping/adapters/beans.xml
src/com/sun/ts/tests/jsonb/cdi/customizedmapping/serializers/beans.xml
src/com/sun/ts/tests/jms/ee20/cditests/resources/beans.xml
src/com/sun/ts/tests/webservices12/deploy/portcomplink/ejb/webservices.xml
src/com/sun/ts/tests/webservices12/servlet/WSMTOMSBFullDDsTest/javaEE.webservices.xml
src/com/sun/ts/tests/webservices12/narrow/javaEE.webservices.xml
src/com/sun/ts/tests/webservices12/ejb/descriptors/WSEjbOverrideWSRefWithDDsTest/webservices.xml
src/com/sun/ts/tests/webservices12/ejb/descriptors/WSEjbOverrideWSRefHCWithDDsTest/webservices.xml
src/com/sun/ts/tests/jaxrs/platform/managedbean299/beans.xml
src/com/sun/ts/tests/webservices13/servlet/WSRespBindAndAddressingTestUsingDDs/webservices.xml
src/com/sun/ts/tests/webservices13/servlet/WSAddressingFeaturesTestUsingDDs/webservices.xml
src/com/sun/ts/tests/jaxws/wsa/w2j/document/literal/delimiter/custom-client.xml
src/com/sun/ts/tests/jaxws/wsa/w2j/document/literal/delimiter/custom-server.xml
src/com/sun/ts/tests/jaxws/wsa/w2j/document/literal/requiredfalse/custom-client.xml
src/com/sun/ts/tests/jaxws/wsa/w2j/document/literal/requiredfalse/custom-server.xml
src/com/sun/ts/tests/jaxws/ee/w2j/rpc/literal/sec/secbasic/javaEE.webservices.xml
src/com/sun/ts/tests/jaxws/ee/w2j/rpc/literal/httptest/javaEE.webservices.xml
src/com/sun/ts/tests/jsf/spec/flows/common/beans.xml
src/web/jstl/spec/sql/query/WEB-INF/resultSetQuery.tld

@alwin-joseph
Copy link
Contributor

Just checking , there are references to http://xmlns.jcp.org/xml/ns/javaee throughout the repo.

For standalone tcks :
./src/com/sun/ts/tests/jsf
./src/com/sun/ts/tests/securityapi
./src/com/sun/ts/tests/jms
./src/com/sun/ts/tests/servlet

Should those be updated too

@scottmarlow
Copy link
Contributor

scottmarlow commented Aug 13, 2020

@alwin-joseph yes, although I am updating all of the application.xml files except for those you already did in tests/jpa.

Please do verify that https://jakarta.ee/xml/ns/jakartaee does have a replacement though, which it should.

@scottmarlow
Copy link
Contributor

scottmarlow commented Aug 13, 2020

The total number of DTDs include GlassFish specific deployment descriptors is 2954.  That isn't an important number right now but here is how we got it:
grep -rli dtd --include=*.xml | wc -l
2954

As mentioned above the above count of files with DTD references in it, include vendor (e.g. GlassFish) deployment descriptors in it. IMO, we do not need to update the vendor specific deployment descriptors as vendor deployment descriptors can still contain whatever content is expected by the vendor implementation (e.g. GlassFish). So, we need to ignore the vendor specific deployment descriptors when doing a global search/replace of DTDs.

@scottmarlow
Copy link
Contributor

scottmarlow commented Aug 13, 2020

Below is a list of the actual DTDs that we use in the Platform TCK (still building list as work in progress).

DTDs that are referenced in TCK tests but not yet updated to EE 9 in Platform TCK:

COUNT                 DTD FILE
______                _________________
 
(from http://www.oracle.com/webfolder/technetwork/jsc/j2ee/dtds/index.html)
0                     web-jsptaglibrary_1_1.dtd
0                     web-app_2_2.dtd
14                   ejb-jar_1_1.dtd
2                     application_1_2.dtd
9                     application-client_1_2.dtd

(from http://www.oracle.com/webfolder/technetwork/jsc/dtd/index.html)
6                     connector_1_0.dtd
0                     web-jsptaglibrary_1_2.dtd
12                   application-client_1_3.dtd
10                   application_1_3.dtd
13                   ejb-jar_2_0.dtd
1                     web-facesconfig_1_0.dtd
6                     web-facesconfig_1_1.dtd

@scottmarlow
Copy link
Contributor

We likely can replace the mentioned DTDs based on searching for the named DTD files in previous comment.

IMO, we should do a similar update for each XSD named on http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/index.html#4

@alwin-joseph
Copy link
Contributor

Remaining references to http://xmlns.jcp.org/xml/ns/javaee:

src/com/sun/ts/tests/servlet/ee/spec/security/permissiondd/permissions.xml
src/com/sun/ts/tests/servlet/spec/defaultcontextpath/servlet_spec_defaultcontextpath_web.xml
src/com/sun/ts/tests/servlet/spec/security/denyUncovered/servlet_sec_denyUncovered_web.xml
src/com/sun/ts/tests/servlet/spec/serverpush/servlet_spec_serverpush_web.xml
src/com/sun/ts/tests/jacc/ejb/methodperm/jacc_ejb_methodperm_ejb.xml
src/com/sun/ts/tests/securityapi/ham/customform/expression/faces-config.xml
src/com/sun/ts/tests/securityapi/ham/customform/base/faces-config.xml
src/com/sun/ts/tests/securityapi/ham/sam/obtainbean/permissions.xml
src/com/sun/ts/tests/securityapi/idstore/customhandler/permissions.xml
src/com/sun/ts/tests/securityapi/idstore/idstorepermission/permissions.xml
src/com/sun/ts/tests/appclient/deploy/metadatacomplete/testapp/application-client.xml
src/com/sun/ts/tests/appclient/deploy/metadatacomplete/testapp/application.xml
src/com/sun/ts/tests/ejb32/lite/timer/interceptor/lifecycle/singleton/ejb-jar.xml
src/com/sun/ts/tests/ejb32/relaxedclientview/singleton/singleton_relaxed_client_view_ejb.xml
src/com/sun/ts/tests/ejb32/relaxedclientview/stateless/stateless_relaxed_client_view_ejb.xml
src/com/sun/ts/tests/ejb32/relaxedclientview/stateful/stateful_relaxed_client_view_ejb.xml
src/com/sun/ts/tests/jms/ee20/cditests/mdb/application.xml.clientear
src/com/sun/ts/tests/jms/ee20/cditests/mdb/cditestsmdb_ejb.xml
src/com/sun/ts/tests/jms/ee20/cditests/ejbweb/application.xml.clientear
src/com/sun/ts/tests/jms/ee20/cditests/ejbweb/cditestsejbweb_ejb.xml
src/com/sun/ts/tests/jms/ee20/cditests/ejbweb/cditestsejbweb_web.xml
src/com/sun/ts/tests/jms/ee20/cditests/usecases/application.xml.clientear
src/com/sun/ts/tests/jms/ee20/cditests/usecases/cditestsusecases_ejb.xml
src/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/xml/jsp_vehicle_web.xml
src/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/xml/appclient_vehicle_client.xml
src/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/xml/ejb_vehicle_ejb.xml
src/com/sun/ts/tests/jms/ee20/resourcedefs/descriptor/xml/servlet_vehicle_web.xml
src/com/sun/ts/tests/jms/ee20/resourcedefs/annotations/application.xml.clientear
src/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectorautociddurable/descriptor/topic_selectorautociddurable_descriptor_ejb.xml
src/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/noselnocidautodurable/descriptor/topic_noselnocidautodurable_descriptor_ejb.xml
src/com/sun/ts/tests/jms/ee20/ra/activationconfig/topic/selectordupsnondurable/descriptor/topic_selectordupsnondurable_descriptor_ejb.xml
src/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectorauto/descriptor/queue_selectorauto_descriptor_ejb.xml
src/com/sun/ts/tests/jms/ee20/ra/activationconfig/queue/selectordups/descriptor/queue_selectordups_descriptor_ejb.xml
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/WSMTOMFeaturesTestUsingDDsClnt_web.xml
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/WSMTOMFeaturesTestUsingDDsClnt_client.xml
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/application.xml.clientear
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/webservices.xml
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/WSMTOMFeaturesTestUsingDDsClnt_ejb.xml
src/com/sun/ts/tests/webservices13/servlet/WSMTOMFeaturesTestUsingDDs/WSMTOMFeaturesTestUsingDDs_web.xml
src/com/sun/ts/tests/ejb30/sec/permsxml/permissions.xml
src/com/sun/ts/tests/common/connector/whitebox/permissiondd/permissions.xml

#458 covers the above

src/com/sun/ts/tests/appclient/deploy/metadatacomplete/testapp/application-client.xml
src/com/sun/ts/tests/appclient/deploy/metadatacomplete/testapp/application.xml

Above was corrected using
#444 and
#465

Pending references to http://xmlns.jcp.org/xml/ns/javaee below :

src/com/sun/ts/tests/jsf/api/jakarta_faces/flow/flowhandler/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/factory/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/basicimplicit/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/common/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/multipagewebinf/bounded-task-flow/bounded-task-flow-flow.xml
src/com/sun/ts/tests/jsf/spec/view/protectedview/WEB-INF/faces-config.xml
src/web/jsf/spec/flows/basicswitch/flow-b/flow-b-flow.xml
src/web/jsf/spec/flows/intermediate/maintain-customer-record/maintain-customer-record-flow.xml
src/web/jsf/spec/flows/basicflowcall/flow-b/flow-b-flow.xml
src/web/jsf/spec/flows/basicmethodcall/flow-b/flow-b-flow.xml
src/web/jsf/spec/flows/basicmultipage/boundtaskflow/bounded-task-flow-flow.xml

@scottmarlow
Copy link
Contributor

Thanks @alwin-joseph!

@scottmarlow
Copy link
Contributor

scottmarlow commented Aug 24, 2020

I updated the DTDs via #474.

@scottmarlow
Copy link
Contributor

@alwin-joseph is anyone working on updating the "Pending references to http://xmlns.jcp.org/xml/ns/javaee" that you mentioned above in your previous comment on this issue?

@alwin-joseph
Copy link
Contributor

alwin-joseph commented Aug 25, 2020

@alwin-joseph is anyone working on updating the "Pending references to http://xmlns.jcp.org/xml/ns/javaee" that you mentioned above in your previous comment on this issue?

I am working on below, yet to fix the test failures caused due to replacing this with jakartaee ns.

Pending references to http://xmlns.jcp.org/xml/ns/javaee below :

src/com/sun/ts/tests/jsf/api/jakarta_faces/flow/flowhandler/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/factory/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/basicimplicit/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/common/faces-config.xml
src/com/sun/ts/tests/jsf/spec/flows/multipagewebinf/bounded-task-flow/bounded-task-flow-flow.xml
src/com/sun/ts/tests/jsf/spec/view/protectedview/WEB-INF/faces-config.xml
src/web/jsf/spec/flows/basicswitch/flow-b/flow-b-flow.xml
src/web/jsf/spec/flows/intermediate/maintain-customer-record/maintain-customer-record-flow.xml
src/web/jsf/spec/flows/basicflowcall/flow-b/flow-b-flow.xml
src/web/jsf/spec/flows/basicmethodcall/flow-b/flow-b-flow.xml
src/web/jsf/spec/flows/basicmultipage/boundtaskflow/bounded-task-flow-flow.xml

@scottmarlow
Copy link
Contributor

scottmarlow commented Aug 25, 2020

We also still have the above mentioned References to http://java.sun.com.*xsd in (ignoring files in lib/schemas):

internal/docs/webservices/webservices.xml
internal/docs/webservices/WEBSERVICESSpecAssertions.html
user_guides/jakartaee/src/main/jbake/content/config.adoc
user_guides/servlet/src/main/jbake/content/rebuild.inc
user_guides/jta/src/main/jbake/content/rebuild.inc
user_guides/websocket/src/main/jbake/content/rebuild.inc
user_guides/securityapi/src/main/jbake/content/rebuild.inc
user_guides/saaj/src/main/jbake/content/rebuild.inc
user_guides/jsp/src/main/jbake/content/rebuild.inc
user_guides/Template/src/main/jbake/content/rebuild.inc
user_guides/jaxrs/src/main/jbake/content/rebuild.inc
user_guides/jstl/src/main/jbake/content/rebuild.inc
user_guides/concurrency/src/main/jbake/content/rebuild.inc
user_guides/jsf/src/main/jbake/content/rebuild.inc
src/com/sun/ts/tests/websocket/platform/cdi/beans.xml
src/com/sun/ts/tests/jsonb/cdi/customizedmapping/adapters/beans.xml
src/com/sun/ts/tests/jsonb/cdi/customizedmapping/serializers/beans.xml
src/com/sun/ts/tests/jms/ee20/cditests/resources/beans.xml
src/com/sun/ts/tests/jpa/ee/packaging/web/scope/application.xml
src/com/sun/ts/tests/jpa/ee/propagation/cm/jta/application.xml
src/com/sun/ts/tests/jaxrs/platform/managedbean299/beans.xml
src/com/sun/ts/tests/jaxws/wsa/w2j/document/literal/delimiter/custom-client.xml
src/com/sun/ts/tests/jaxws/wsa/w2j/document/literal/delimiter/custom-server.xml
src/com/sun/ts/tests/jaxws/wsa/w2j/document/literal/requiredfalse/custom-client.xml
src/com/sun/ts/tests/jaxws/ee/w2j/rpc/literal/sec/secbasic/jakartaEE.webservices.xml
src/com/sun/ts/tests/jaxws/ee/w2j/rpc/literal/httptest/jakartaEE.webservices.xml
src/com/sun/ts/tests/jaxws/wsa/w2j/document/literal/requiredfalse/custom-server.xml
src/com/sun/ts/tests/jsf/spec/flows/common/beans.xml
src/web/jstl/spec/sql/query/WEB-INF/resultSetQuery.tld

@alwin-joseph
Copy link
Contributor

What would be the replacement for http://java.sun.com/xml/ns/javaee/beans_1_0.xsd . I dont see any matching in https://jakarta.ee/xml/ns/jakartaee/.

@scottmarlow
Copy link
Contributor

scottmarlow commented Aug 25, 2020

@alwin-joseph jakartaee/jakarta.ee#850 + jakartaee/cdi#440 appears to be open still.

I noticed the ^ pull request https://deploy-preview-850--jakartaee.netlify.app/xml/ns/jakartaee/#9 has "beans_3_0.xsd | XML Schema for the Jakarta Contexts and Dependency Injection XML file (beans.xml)"

@alwin-joseph
Copy link
Contributor

@alwin-joseph jakartaee/jakarta.ee#850 + eclipse-ee4j/cdi#440 appears to be open still

Thanks got it.

@alwin-joseph
Copy link
Contributor

Updated the beans_1_0.xsd to latest https://jakarta.ee/xml/ns/jakartaee/beans_3_0.xsd in #494

src/com/sun/ts/tests/jaxrs/platform/managedbean299/beans.xml
src/com/sun/ts/tests/jms/ee20/cditests/resources/beans.xml
src/com/sun/ts/tests/jsf/spec/flows/common/beans.xml
src/com/sun/ts/tests/jsonb/cdi/customizedmapping/adapters/beans.xml
src/com/sun/ts/tests/jsonb/cdi/customizedmapping/serializers/beans.xml
src/com/sun/ts/tests/websocket/platform/cdi/beans.xml

@scottmarlow
Copy link
Contributor

scottmarlow commented Nov 11, 2020

It looks like we still have web-app_2_3.dtd + other web-app_*.dtd in use by tests. We should remove them for Jakarta EE 9.1 via #569.

@alwin-joseph if you notice any other remaining DTDs or XSDs that are not from Java EE 8, we should create a separate issue for those as well.

Platform TCK 9 automation moved this from In progress to Done Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants