Validation of faces-config file with SYSTEM DTD failed
------------------------------------------------------
Key: JBIDE-898
URL:
http://jira.jboss.com/jira/browse/JBIDE-898
Project: JBoss Tools
Issue Type: Bug
Components: JSF
Affects Versions: 2.0.0.Beta1
Environment: Windows XP, JDK 1.4.10, JSF 1.1, Red Hat Developer Studio Beta 1.
Reporter: Oleg Varaksin
Hello,
I develop currently an JSF application. My web.xml has an entry
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>
/WEB-INF/faces-config.xml
</param-value>
</context-param>
I get an error in the Red Hat Developer Studio:
================================================
error: Attribute param-value references to /WEB-INF/faces-config.xml that is not a valid
faces config file
================================================
But what is wrong ? The file faces-config.xml is valid and begins with
<?xml version="1.0"?>
<!DOCTYPE faces-config SYSTEM "web-facesconfig_1_1.dtd">
<faces-config>
The DTD-Definition web-facesconfig_1_1.dtd is located in the same folder (under WEB-INF).
The second problem occurs with faces-config.xml if we open one. I miss the 'tree'
view to edit more easier the faces config file. If I paste
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
instead of SYSTEM "web-facesconfig_1_1.dtd", all views are available. But PUBLIC
DTD-Definition can be problematical in the offline mode (intranet applications).
Best regards.
Oleg Varaksin
--
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