Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] Tag libraries URIs for Faces and Pages/Tags.

There are others too -- perhaps these were addressed on a different thread?

faces-config.xml descriptors:
http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_3.xsd

taglib.xml descriptors:
http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_2_3.xsd

And the Facelets version of JSTL tags:
xmlns:ui="http://xmlns.jcp.org/jsf/facelets


On 7/31/20 7:18 AM, arjan tijms wrote:
Hi,

On Friday, July 31, 2020, Thomas Andraschko <andraschko.thomas@xxxxxxxxx <mailto:andraschko.thomas@xxxxxxxxx>> wrote:

    +1 for aligning it

does it match namespaces of other specs (like servlet web.xml)?

Closely, though don’t forget web.xml etc namespaces are actually URLs to XSD files.

For taglibs there’s no XSD involved for the taglib instance itself. There’s an XSD for taglibs in general (to specify how to define any taglib), but not for a specific taglib instance, such as the core or html tags.

Kind regards,
Arjan


    Am Fr., 31. Juli 2020 um 09:13 Uhr schrieb Edwin Amoakwa <edwin.amoakwa@xxxxxxxxx <mailto:edwin.amoakwa@xxxxxxxxx>>:

        +1

        On Fri, 31 Jul 2020, 7:09 am Rudy De Busscher, <rdebusscher@xxxxxxxxx <mailto:rdebusscher@xxxxxxxxx>> wrote:

            +1 for changing the namespace. Proposed names are logical values.

            Rudy

            On Fri, 31 Jul 2020 at 03:53, Scott Stark <starksm64@xxxxxxxxx <mailto:starksm64@xxxxxxxxx>> wrote:

                https://jakarta.ee/xml/ns/faces/core <https://jakarta.ee/xml/ns/faces/core> and https://jakarta.ee/xml/ns/faces/html <https://jakarta.ee/xml/ns/faces/html> makes sense

                On Thu, Jul 30, 2020 at 6:14 PM arjan tijms <arjan.tijms@xxxxxxxxx <mailto:arjan.tijms@xxxxxxxxx>> wrote:

                    Hi,

                    Both Jakarta Faces and Jakarta Pages + (standard) Tags have a concept of namespaces for its tags for usage in XML documents.

                    For Jakarta Faces this is e.g.

                    <html xmlns="http://www.w3.org/1999/xhtml <http://www.w3.org/1999/xhtml>"
                         xmlns:h="http://xmlns.jcp.org/jsf/html <http://xmlns.jcp.org/jsf/html>"
                         xmlns:f="http://xmlns.jcp.org/jsf/core <http://xmlns.jcp.org/jsf/core>">
                         <h:body>
                         </h:body>
                    </html>

                    Jakarta Faces updated those namespaces once before, after Oracle acquired Sun:

                         public static final String CORE_NAMESPACE = CoreLibrary.Namespace; // http://java.sun.com/jsf/core
                         public static final String HTML_NAMESPACE = HtmlLibrary.Namespace; // http://java.sun.com/jsf/html

                         public static final String CORE_NAMESPACE_NEW = CoreLibrary.XMLNSNamespace; // http://xmlns.jcp.org/jsf/core
                         public static final String HTML_NAMESPACE_NEW = HtmlLibrary.XMLNSNamespace; // http://xmlns.jcp.org/jsf/html

                    Jakarta Tags uses e.g. "http://java.sun.com/JSP/Page";

                    While the XML XSDs have been redefined for Jakarta, those tag URIs/namespaces still haven't afaik.

                    Should we go for something like "https://jakarta.ee/xml/ns/faces/html <https://jakarta.ee/xml/ns/faces/html>", or something else?

                    Thoughts?

                    Kind regards,
                    Arjan Tijms




                    _______________________________________________
                    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>

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

        _______________________________________________
        faces-dev mailing list
        faces-dev@xxxxxxxxxxx <mailto:faces-dev@xxxxxxxxxxx>
        To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/faces-dev <https://www.eclipse.org/mailman/listinfo/faces-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