Closed BalusC closed 3 years ago
Should this values be prefixed with "urn:"? Not totally sure what XML allows.
+1
As an expedient, the relevant xsd documents could be revised and uploaded to jakarta.ee/xml/ns/faces (or something suitable) i.e. check them in here. At least, that would be consistent with other Jakarta EE Specs (JakartaEE, JSONB, JSONP, etc. Some IDEs do validate in real-time from the URL locations (Intellij for example).
There are no XSD documents in first place. Hence the proposal to use URN instead of URL.
@edbratt Just to emphasise this, for the taglib URIs there are no XSD documents. Because it was the norm to use URLs for them, many people believed there were XSD documents backing them, but this is a totally different concept from say web.xml or faces-config.xml documents.
Implemented now.
Jakarta Tags namespaces have also been remapped.
http://xmlns.jcp.org/jsp/jstl/core
is now jakarta.tags.core
http://xmlns.jcp.org/jsp/jstl/functions
is now jakarta.tags.functions
All old namespaces retain their backwards compatibility.
@BalusC @arjantijms how do we handle JSTL? I mean, we only use the namespace but its implemented in the JSF actually (at least in MyFaces) I can only see a class usage of jakarta.servlet.jsp.jstl.sql.Result.
Could we just introduce our own namespace here for the JSTL tags? maybe something like "jakarta.faces.core.buildtime"?
We could then completely get rid of the jstl and JSP usage. Just a special case for supporting jakarta.servlet.jsp.jstl.sql.Result.
Could we just introduce our own namespace here for the JSTL tags?
I've already coined jakarta.tags.core
and jakarta.tags.functions
: https://github.com/eclipse-ee4j/jstl-api/issues/144
Just a special case for supporting jakarta.servlet.jsp.jstl.sql.Result.
@arjantijms already removed it from UIData#getValue()
javadoc during https://github.com/eclipse-ee4j/mojarra/issues/4775
Proposal: use URNs instead of URLs as URLs are more prone to confuse people.
Rename
http://xmlns.jcp.org/jsf
tojakarta.faces
Renamehttp://xmlns.jcp.org/jsf/facelets
tojakarta.faces.facelets
Renamehttp://xmlns.jcp.org/jsf/core
tojakarta.faces.core
Renamehttp://xmlns.jcp.org/jsf/html
tojakarta.faces.html
Renamehttp://xmlns.jcp.org/jsf/passthrough
tojakarta.faces.passthrough
Renamehttp://xmlns.jcp.org/jsf/composite
tojakarta.faces.composite
Renamehttp://xmlns.jcp.org/jsf/component
tojakarta.faces.component
Thoughts?