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

Update Supported Versions in web-facesconfig_x_0.xsd

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-RC1, 4.0.0-RC1
    • 3.0.0, 4.0.0-RC1
    • None
    • None

    Description

      As I started the 3.0.0 release, I discovered an issue in the web-facesconfig_3_0.xsd:

      SEVERE: cvc-enumeration-valid: Value '3.0' is not facet-valid with respect to enumeration '[1.2, 2.0, 2.1, 2.2, 2.3]'. It must be a value from the enumeration.
      org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 17; cvc-enumeration-valid: Value '3.0' is not facet-valid with respect to enumeration '[1.2, 2.0, 2.1, 2.2, 2.3]'. It must be a value from the enumeration.
      at

      In a sense, this is a follow up to MYFACES-4363. We need too support 3.0 from the web-facesconfig_3_0.xsd.   Our current one doesn't look to be pulled from Jakarta EE Schema Site –
      https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_3_0.xsd  Rather it looks like an updated copy of the web-facesconfig_2.3.xsd?

      I'm not sure which approach is best, so I had two PRs below:

      Support Range of Versions (1.2 to 3.0)

      https://github.com/apache/myfaces/pull/144

      Only Support Version 3.0

      https://github.com/apache/myfaces/pull/143

      Thanks

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: