You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Volodymyr Siedlecki (Jira)" <de...@myfaces.apache.org> on 2020/10/12 16:27:00 UTC

[jira] [Created] (MYFACES-4363) XML Schema Validation Fails

Volodymyr Siedlecki created MYFACES-4363:
--------------------------------------------

             Summary: XML Schema Validation Fails
                 Key: MYFACES-4363
                 URL: https://issues.apache.org/jira/browse/MYFACES-4363
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.3.6, 2.2.13
            Reporter: Volodymyr Siedlecki


Adding the parameter (false by default) to an app identifies schema failures. 
 <context-param>
 <param-name>org.apache.myfaces.VALIDATE_XML</param-name>
 <param-value>true</param-value>
 </context-param> 

2.3
org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 19; cvc-elt.1.a: Cannot find the declaration of element 'faces-config'.
	at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)
____________
2.2
[ERROR   ] cvc-elt.1.a: Cannot find the declaration of element 'faces-config'.
cvc-elt.1.a: Cannot find the declaration of element 'faces-config'.

2.0 seems to work fine.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)