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

faces-config.xml validation using an XML Schema

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.2.0, 1.2.1-SNAPSHOT
    • None
    • JSR-252
    • None

    Description

      According to an inline comment ("validation set to false during implementation of 1.2", DigesterFacesConfigUnmarshallerImpl) and my personal experience, configuration file validation hasn't been implemented so far. However, as far as I know the JSF specification says that "JSF implementations that are part of a Java EE technology-compliant implementation are required to validate the application resource file against the XML schema" (section 10.4.2). I'll attach a sample application reproducing the "error" (the fact that there is no error is incorrect this time) and the corresponding patch.

      Attachments

        1. configuration-webapp.zip
          2 kB
          Bernhard Huemer
        2. MYFACES-1709.patch
          7 kB
          Bernhard Huemer

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              bhuemer Bernhard Huemer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: