[jbosstools-issues] [JBoss JIRA] (JBIDE-15605) Validation problem in faces-config.xml for JSF 2.2 projects
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Wed Oct 2 17:35:02 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-15605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12809071#comment-12809071 ]
Viacheslav Kabanovich commented on JBIDE-15605:
-----------------------------------------------
I failed to add javaee_7.xsd to catalog. But since WTP adds
web-facesconfig_2_2.xsd, let's just remove our file from the catalog.
> Validation problem in faces-config.xml for JSF 2.2 projects
> -----------------------------------------------------------
>
> Key: JBIDE-15605
> URL: https://issues.jboss.org/browse/JBIDE-15605
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsf
> Affects Versions: 4.2.0.Alpha1
> Reporter: Alexey Kazakov
> Assignee: Viacheslav Kabanovich
> Fix For: 4.2.0.Alpha1
>
>
> 1. Create a JSF 2.2 KickStart project (or a dynamic web project with JSF 2.2. facet).
> 2. There is an error in problems view:
> Referenced file contains errors (file:/home/igels/Projects/jbt-4.0/contribution/jbosstools-jst/plugins/org.jboss.tools.jst.web/catalog/web-facesconfig_2_2.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
> Is it a real problem in the web-facesconfig_2_2.xsd we bundle with JBT or maybe it's an upstream problem with WTP XML validation?
> BTW, http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd is already registered in XML Catalog by WTP. There is no need to keep our own version in XML Catalog:
> {code}
> Entry element: URI
> Location: dtdsAndSchemas/web-facesconfig_2_2.xsd in jar file home/igels/Java/eclipse-4.3/workspace/designtime/contribution/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.jst.standard.schemas_1.2.100.v201305161752.jar
> URI: jar:file:/home/igels/Java/eclipse-4.3/workspace/designtime/contribution/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.jst.standard.schemas_1.2.100.v201305161752.jar!/dtdsAndSchemas/web-facesconfig_2_2.xsd
> Key type: Namespace name
> Key: http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list