Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2137

XSD Schemas for CForms Development

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Blocks: Forms
    • None
    • Normal
    • Patch available
    • Blocks: Forms

    Description

      A common pitfall in developing cforms applications is the misuse of certain cforms tags.
      A schema for the forms files (definition, binding, template) would greatly help in writing forms code faster and more accurate and minimizing syntax errors in the first place.

      I have started writing such schemas for the binding and definition files and added notations out of the current (2.1.10) cforms documentation. those schemas are quite completet (well almost).

      I also added starting points for this schemas:
      - i18n transformer
      - jx template generator

      furthermore form template generator (and form instance) would be interesting. the major problem with the template is that we are heavily mixing different xml gramars here and state-of-the-art xml editors (like oxygen) have their problems with providing auto-complete features here.
      the code-completion (assistance) feature for the form-definition and form-binding works quite well. it also has the added benefit, that the important bits of the cocoon forms docs are being displayed.

      Attachments

        1. clean-xsd-public.zip
          14 kB
          Gabriel Gruber
        2. form-definition.xsd
          46 kB
          Thomas ERNEST

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ggruber Gabriel Gruber
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: