Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-216

CalendarLanguageTypes regex pattern not recognized

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • s2
    • s2
    • None
    • Intellij

      The Regex string "([A-Za-z]

      {1,8}([-][A-Za-z0-9]{1,8}

      )*)" is valid however the regex compiler for DFDL_part1_simpletypes.xsd fails to compile this string and generates an error with the expression "[-]". The main problem is although valid the character class of one element is itself redundant so although I believe the minus can be escaped with a reverse solidus, visa vi "[\-]", I think the best solution is to simply replace this with the character itself: "-".

              pchu Paul Chu (Inactive)
              jeffrey.jacobs Jeffrey C. Jacobs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: