Community
Participate
Working Groups
Driver used: Eclipse IDE for Java EE Developers (Luna and Mars) Steps to reproduce: 1) Create a Web 3.1 project with the JSF 2.2 facet enabled 2) Launch the 'New HTML File' wizard and provide a .xhtml filename 3) On the next page of the wizard, enable the 'Use HTML Template' checkbox and select 'New Facelet Composition Page' 4) The generated facelet has these old namespaces: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"> The namespaces should be: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:jsf="http://xmlns.jcp.org/jsf" xmlns:f="http://xmlns.jcp.org/jsf/core">
We will review for Mars.
*** Bug 466478 has been marked as a duplicate of this bug. ***
same problem with the JSP page creation.
Disagree with the "http://xmlns.jcp.org/jsf" namespace; I can find nothing to suggest that this should be used in place of "http://xmlns.jcp.org/jsf/facelets". Do you have a reference?
Issue with facelets (HTML) addressed. Bug 466881 has been logged to track the JSP-related case.
Hi Ian, couldn't find a firm reference. From what I could gather online, these are the old -> new URI mappings: https://jsflive.wordpress.com/2013/05/16/jsf22-namespaces/ http://www.yanaga.me/2014/01/jsf-22-new-namespaces.html