dev@glassfish.java.net

Re: NOTICE: MODERATE namespace change (j2ee->javaee) and new/renamed schemas

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Mon, 15 Aug 2005 10:05:52 -0400

This change has just been checked in. Please bring over the QL test
change as well when you bring over the source to ensure the QL test
passing with the changes.

Thanks,

- Hong


Hong Zhang wrote:

> Hi, all
>
> I will be checking in changes for namespace change and adding/renaming
> a bunch of existing schemas.
>
> All Java EE 5 schemas will now start to use javaee namespace:
> javaee_5.xsd (was j2ee_5_0.xsd)
> application_5.xsd (was application_5_0.xsd)
> application-client_5.xsd (was application-client_5_0.xsd)
> ejb-jar_3_0.xsd (modified)
> web-app_2_5.xsd (modified)
> jsp_2_1.xsd (modified)
> javaee_web_services_1_2.xsd (new)
> javaee_web_services_client_1_2.xsd (new)
> web-jsptaglibrary_2_1.xsd (new)
> javaee_jaxrpc_mapping_1_2.xsd (I believe this one is coming, but not
> checked in the schema workspace yet, so watch out for this one).
>
> Note: there is one exception: connector_1_5.xsd still use j2ee
> namespace and refers to j2ee_1_4.xsd.
>
> Also the definition of injection-target element is changed in the
> javaee_5.xsd (was j2ee_5_0.xsd). It has changed from a group to a
> complex type and its sub-element name has also changed, please look at
> the new schema for detailed syntax.
>
> This change will break some tests. Any application that was written to
> Java EE 5 schemas will need to modify the namespace from j2ee to
> javaee. And in addition, if dependency injection was defined in
> deployment descriptor, it will need to be changed to follow the new
> syntax.
>
> I will modify QL, deployment dev tests and ejb 30 dev tests for this
> change.
>
> Let me know if you have any question or see any problem with this change.
>
> Thanks,
>
> - Hong