You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround 1: use of xmlns:cc="https://jakarta.ee/xml/ns/jakartaee" instead of xmlns:cc="jakarta.faces.composite" to be able to generate the vdldoc for a composite component <ui:composition ... xmlns:cc="https://jakarta.ee/xml/ns/jakartaee" ...> ... </ui:composition>
"jakarta.faces.composite" namespace is missing in org.omnifaces.vdldoc.CompositeComponentHandler.COMPOSITE_NAMESPACES
If the namesspace would be added here the vdldoc for composite component using xmlns:cc="jakarta.faces.composite" will be generated. private static final String COMPOSITE_NAMESPACE_SUN = "http://java.sun.com/jsf/composite"; private static final String COMPOSITE_NAMESPACE_JCP = "http://xmlns.jcp.org/jsf/composite"; private static final String COMPOSITE_NAMESPACE_JEE = "https://jakarta.ee/xml/ns/jakartaee"; private static final Set<String> COMPOSITE_NAMESPACES = unmodifiableSet(new HashSet<String>(asList(COMPOSITE_NAMESPACE_SUN, COMPOSITE_NAMESPACE_JCP, COMPOSITE_NAMESPACE_JEE)));
VdldocGenerator does not generate composite component documentention if using xmlns:cc="jakarta.faces.composite" in ui:composition.
<ui:composition ... xmlns:cc="jakarta.faces.composite" ...> <cc:interface componentType="..."> ... </cc:interface> <cc:implementation> ... </cc:implementation> </ui:composition>
Workaround 1: use of xmlns:cc="https://jakarta.ee/xml/ns/jakartaee" instead of xmlns:cc="jakarta.faces.composite" to be able to generate the vdldoc for a composite component
<ui:composition ... xmlns:cc="https://jakarta.ee/xml/ns/jakartaee" ...> ... </ui:composition>
Workaround 2: use of xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://vdldoc.omnifaces.org https://raw.githubusercontent.com/omnifaces/vdldoc/master/src/main/resources/org/omnifaces/vdldoc/resources/vdldoc-cc.xhtml.xsd" in ui:composition together with xmlns:cc="jakarta.faces.composite"
<ui:composition ... xmlns:cc="jakarta.faces.composite" ... xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://vdldoc.omnifaces.org https://raw.githubusercontent.com/omnifaces/vdldoc/master/src/main/resources/org/omnifaces/vdldoc/resources/vdldoc-cc.xhtml.xsd"> ... </ui:composition>
"jakarta.faces.composite" namespace is missing in org.omnifaces.vdldoc.CompositeComponentHandler.COMPOSITE_NAMESPACES
If the namesspace would be added here the vdldoc for composite component using xmlns:cc="jakarta.faces.composite" will be generated.
private static final String COMPOSITE_NAMESPACE_SUN = "http://java.sun.com/jsf/composite"; private static final String COMPOSITE_NAMESPACE_JCP = "http://xmlns.jcp.org/jsf/composite"; private static final String COMPOSITE_NAMESPACE_JEE = "https://jakarta.ee/xml/ns/jakartaee"; private static final Set<String> COMPOSITE_NAMESPACES = unmodifiableSet(new HashSet<String>(asList(COMPOSITE_NAMESPACE_SUN, COMPOSITE_NAMESPACE_JCP, COMPOSITE_NAMESPACE_JEE)));
Use of vdldoc 3.1. Same with vdldoc 3.2.
It was working in vdldoc 2.1 using xmlns:cc="http://xmlns.jcp.org/jsf/composite"
The text was updated successfully, but these errors were encountered: