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

Creating a class property with a colon in it makes the class document unusable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4-milestone-1
    • Component/s: Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Trivial
    • Similar issues:

      Description

      Since the property name is used as an XML element, the colon will be recognized as a namespace separator. For example, creating a property "a:b" will generate:

      Wrapped Exception: Error on line 12 of document  : The prefix "a" for element "a:b" is not bound.
      

        Attachments

          Activity

            People

            • Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: