Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] jsp_3_1.xsd?

Hi all,

A summary of where I think we are.

The schema repo has the correct 3.1 JSP schema including the change made between 3.0 and 3.1.

The Servlet API JAR ships a sub-set of the Jakarta EE schemas to facilitate the validation of web.xml and similar files.

The Servlet API JAR file is missing the following schemas:
- jakartaee_10.xsd
- jsp_3_1.xsd
- web-jsptaglibrary_3_1.xsd

The Servlet API JAR has old versions of the following schemas:
- jakartaee_web_services_2_0.xsd
- jakartaee_web_services_client_2_0.xsd
- web-app_6_0.xsd
- web-common_6_0.xsd
- web-fragment_6_0.xsd

I have prepared this PR to update the Servlet API:
https://github.com/jakartaee/servlet/pull/466

I plan to wait a few hours to give the folks here a chance to look over that PR and comment before I merge it and then restage the Servlet API JAR.

Mark


On 11/05/2022 17:32, Mark Thomas wrote:
ACK.

Working on the fix now. I hope to have a new Servlet API JAR staged later today.

Mark


On 11/05/2022 15:32, Ivar Grimstad wrote:
That sounds wrong to me. It should reference jsp_3.1.xsd and jakartaee_10.xsd, even if these are content-wise identical to the previous versions. The file name (which includes the version) must match the released version.

Ivar

On Wed, May 11, 2022 at 4:26 PM Scott Stark <starksm64@xxxxxxxxx <mailto:starksm64@xxxxxxxxx>> wrote:

    Now I'm still confused. The

https://github.com/jakartaee/servlet/blob/5650e7831609ad2b436d7582ef0a39785f317008/api/src/main/resources/jakarta/servlet/resources/web-common_6_0.xsd#L79 <https://github.com/jakartaee/servlet/blob/5650e7831609ad2b436d7582ef0a39785f317008/api/src/main/resources/jakarta/servlet/resources/web-common_6_0.xsd#L79>

    is referencingjsp_3_0.xsd andjakartaee_9.xsd

    One of these is incorrect.

    On Wed, May 11, 2022 at 9:19 AM Scott Stark <starksm64@xxxxxxxxx
    <mailto:starksm64@xxxxxxxxx>> wrote:

        Ok, I see what has happened. The
        https://github.com/eclipse-ee4j/jakartaee-schemas
        <https://github.com/eclipse-ee4j/jakartaee-schemas> has drafts,
        but apparently there is no jsp_3_1.xsd file and the
        web-common_6_0.xsd file in servlet-api still references the
        jsp_3_0.xsd file. I misspoke when I said that the file
        web-common_6_0.xsd references jsp_3_1.xsd. It is the
        https://github.com/eclipse-ee4j/jakartaee-schemas
        <https://github.com/eclipse-ee4j/jakartaee-schemas> draft that
        references jsp_3_1.xsd.

        On Wed, May 11, 2022 at 9:12 AM Scott Stark <starksm64@xxxxxxxxx
        <mailto:starksm64@xxxxxxxxx>> wrote:

            Right, those are the files I'm trying to validate against
            the spec project source. The servlet-api project has a
            jsp_3_0.xsd file, but I don't see a jsp_3_1.xsd file even
            though it is referenced by the web-common_6_0.xsd file in
            servlet-api.

            On Wed, May 11, 2022 at 9:09 AM Ivar Grimstad
            <ivar.grimstad@xxxxxxxxxxxxxxxxxxxxxx
            <mailto:ivar.grimstad@xxxxxxxxxxxxxxxxxxxxxx>> wrote:

                They're all here:
                https://github.com/eclipse-ee4j/jakartaee-schemas
                <https://github.com/eclipse-ee4j/jakartaee-schemas>

                Ivar

                On Wed, May 11, 2022 at 4:05 PM Scott Stark
                <starksm64@xxxxxxxxx <mailto:starksm64@xxxxxxxxx>> wrote:

                    I'm looking at making sure the current EE10 schemas
                    are updated, and I see a jsp_3_1.xsd file on the
                    jakarta.ee <http://jakarta.ee> page:
                    https://jakarta.ee/xml/ns/jakartaee/jsp_3_1.xsd
                    <https://jakarta.ee/xml/ns/jakartaee/jsp_3_1.xsd>

                    but I don't see the corresponding schema file in the
                    https://github.com/eclipse-ee4j/servlet-api.git
                    <https://github.com/eclipse-ee4j/servlet-api.git>
                    where the jsp_3_0.xsd file is. I also don't see it
                    in the https://github.com/jakartaee/pages
                    <https://github.com/jakartaee/pages> repo.

                    What is the source of this schema?

                    Thanks,
                    Scott

                    _______________________________________________
                    jakartaee-platform-dev mailing list
                    jakartaee-platform-dev@xxxxxxxxxxx
                    <mailto:jakartaee-platform-dev@xxxxxxxxxxx>
                    To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev <https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev>



                --
                Ivar Grimstad

                Jakarta EE Developer Advocate | *Eclipse Foundation
                *Eclipse Foundation <https://www.eclipse.org/>-
                Community. Code. Collaboration.

                _______________________________________________
                jakartaee-platform-dev mailing list
                jakartaee-platform-dev@xxxxxxxxxxx
                <mailto:jakartaee-platform-dev@xxxxxxxxxxx>
                To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev <https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev>

    _______________________________________________
    jakartaee-platform-dev mailing list
    jakartaee-platform-dev@xxxxxxxxxxx
    <mailto:jakartaee-platform-dev@xxxxxxxxxxx>
    To unsubscribe from this list, visit
    https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev
    <https://www.eclipse.org/mailman/listinfo/jakartaee-platform-dev>



--

Ivar Grimstad

Jakarta EE Developer Advocate | *Eclipse Foundation *Eclipse Foundation <https://www.eclipse.org/>- Community. Code. Collaboration.


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


Back to the top