Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1855

Prevent invalid Class property names from being created

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 M1
    • Fix Version/s: 1.4 M1
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      Description

      Since class property names are used as XML elements they must follow these rules or the generated XML will be invalid:

      • Names can contain letters, numbers, and other characters
      • Names must not start with a number or punctuation character
      • Names must not start with the letters xml (or XML, or Xml, etc)
      • Names cannot contain spaces

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvdrean Jean-Vincent Drean
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: