[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1771) OpenOn for xsi:schemaLocation attribute value doesn't work in faces-config.xml.

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Sat Mar 29 19:51:39 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1771?page=comments#action_12405667 ] 
            
Snjezana Peco commented on JBIDE-1771:
--------------------------------------

There are two issues related to this bug.

The catalog directory of the org.jboss.tools.jst.web plugin isn't included in a build (see JBIDE-1971).

Another issue is that the catalogContributions extension point isn't valid for a JSF configuration file.

org.jboss.tools.jst.web/plugin.xml
<extension point="org.eclipse.wst.xml.core.catalogContributions">
		<catalogContribution id="default">
            <uri name="http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd" uri="catalog/web-facesconfig_1_2.xsd" />
            <uri
                name="http://java.sun.com/xml/ns/javaee/"
                uri="catalog/javaee_5.xsd" />
		</catalogContribution>
		
</extension>

should be replaced with:

<extension point="org.eclipse.wst.xml.core.catalogContributions">
		<catalogContribution id="default">
            <uri name="http://www.w3.org/2001/XMLSchema-instance" uri="catalog/web-facesconfig_1_2.xsd" />
            <uri
                name="http://java.sun.com/xml/ns/javaee/"
                uri="catalog/javaee_5.xsd" />
		</catalogContribution>
		
</extension>


> OpenOn for xsi:schemaLocation attribute value doesn't work in faces-config.xml.
> -------------------------------------------------------------------------------
>
>                 Key: JBIDE-1771
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1771
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Anton Klimkovich
>         Assigned To: Victor Rubezhny
>
> JSF 1.2
> <?xml version="1.0" encoding="UTF-8"?>
> <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
>  xmlns:xi="http://www.w3.org/2001/XInclude"
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
> JSF 1.1
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
>                               "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list