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 2022/06/10 16:58:00 UTC
[jira] [Commented] (MYFACES-4363) XML Schema Validation Fails
[ https://issues.apache.org/jira/browse/MYFACES-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17552866#comment-17552866 ]
Volodymyr Siedlecki commented on MYFACES-4363:
----------------------------------------------
Not sure why I didn't apply this to 2.3.x, but it can be fixed if someoneĀ requests it. Closing for now.
> 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.2.13, 2.3.6, 2.3-next-M4
> Reporter: Volodymyr Siedlecki
> Priority: Minor
> Fix For: 3.0.0, 4.0.0-RC1
>
>
> 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.20.7#820007)