Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-beta-2
    • Fix Version/s: 2.0.0-beta-3
    • Component/s: JSR-314
    • Labels:
      None

      Description

      The web-facesconfig_2_0.xsd schema that is shipping with the latest binaries (myfaces-core-2.0.0-beta-2) is not compliant with the final JSF 2.0 spec.

      I have noted the following issues:

      • Missing namespace for faces-configType behavior element
      • Missing "eager" attribute for faces-config-managed-beanType
      • Missing "include-view-params" attribute for faces-config-redirectType
      • Missing faces-config-redirect-viewParamType type
      • Missing "if" element in faces-config-navigation-caseType
      • Missing faces-config-ifType type
      • Incorrect element name for behavior-extensionType in faces-config-behaviorType: was "extension"; should be "behavior-extension"

      I believe there are also several minor issues with schema listed in the final JSR-314 spec:
      Missing id attribute on:

      • faces-config-orderingType
      • faces-config-absoluteOrderingType
      • faces-config-behaviorType
      • faces-config-client-behavior-rendererType

      I am new to JIRA and this is my first submitted bug. I hope to attach my "repaired" schema to this issue.

      1. web-facesconfig_2.0_diff.txt
        7 kB
        Gerry Kessler
      2. web-facesconfig_2_0.xsd
        32 kB
        Gerry Kessler

        Activity

        Hide
        Jakob Korherr added a comment -

        Hi Gerry,

        Thanks for figuring that out! I recently added the include-view-params attribute and the faces-config-redirect-viewParamType to MyFaces core trunk, because I saw that this was missing. However I didn't know that there were more things missing...

        Also thanks for attaching the repaired schema. I'll try to extract the changed information and commit it to MyFaces core trunk. So that this is in place for the next (beta) release!

        Are you familiar with subversion? If so, you could check out MyFaces core trunk and apply your changes to those files. Then you would be able to create a patch (svn diff) file, which you could then attach to the jira issue. This would be really awesome because it spares us lots of work

        If you're not familiar with subversion or you don't want to do that, it's also no problem, because just by creating a valid JIRA issue you're helping us a lot in increasing the quality of MyFaces. So thanks again and keep on reporting bugs

        Show
        Jakob Korherr added a comment - Hi Gerry, Thanks for figuring that out! I recently added the include-view-params attribute and the faces-config-redirect-viewParamType to MyFaces core trunk, because I saw that this was missing. However I didn't know that there were more things missing... Also thanks for attaching the repaired schema. I'll try to extract the changed information and commit it to MyFaces core trunk. So that this is in place for the next (beta) release! Are you familiar with subversion? If so, you could check out MyFaces core trunk and apply your changes to those files. Then you would be able to create a patch (svn diff) file, which you could then attach to the jira issue. This would be really awesome because it spares us lots of work If you're not familiar with subversion or you don't want to do that, it's also no problem, because just by creating a valid JIRA issue you're helping us a lot in increasing the quality of MyFaces. So thanks again and keep on reporting bugs
        Hide
        Gerry Kessler added a comment -

        Hi Jakob,

        I am glad to hear that this will be helpful for you guys.

        I have never used Subversion before and have spent the past half-hour trying to configure a Subclipse team provider plugin to provide that diff for this issue. So far I have not been successful. I will try for awhile longer, but if you don't see that diff attachment by the end of today it probably means, unfortunately, that you won't be getting it from me.

        Regards, GK

        Show
        Gerry Kessler added a comment - Hi Jakob, I am glad to hear that this will be helpful for you guys. I have never used Subversion before and have spent the past half-hour trying to configure a Subclipse team provider plugin to provide that diff for this issue. So far I have not been successful. I will try for awhile longer, but if you don't see that diff attachment by the end of today it probably means, unfortunately, that you won't be getting it from me. Regards, GK
        Hide
        Gerry Kessler added a comment -

        SVN diff

        Show
        Gerry Kessler added a comment - SVN diff
        Hide
        Jakob Korherr added a comment -

        It's great that you were able to create a patch. It helped a lot, so thanks again!

        Show
        Jakob Korherr added a comment - It's great that you were able to create a patch. It helped a lot, so thanks again!

          People

          • Assignee:
            Jakob Korherr
            Reporter:
            Gerry Kessler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development