Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4363

XML Schema Validation Fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.13, 2.3.6, 2.3-next-M4
    • 3.0.0, 4.0.0-RC1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            volosied Volodymyr Siedlecki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: