Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-376

Spike: Investigate introducing ANTRL to resolve CpsPaths

XMLWordPrintable

      AS we support more options with cpsPath its getting harder to use RegEx to describe the cpsPath correctly.  and completely.  Problems include:

      1. Hard to read RegEx expressions
      2. Ambiguity in expressions because they are not strict enough ie. one expression might unexpectedly match something unintended
      3. Security issues with Regular Expression

      Using Antlr (https://www.antlr.org/) can address all these issue and probably has other advantages too.

      A/C

      1. Write (wiki) report on Antlr, including
        1. Small demo-code
        2. Pros and Cons
      2. Present and agree way forward with team

            ToineSiebelink Toine Siebelink
            ToineSiebelink Toine Siebelink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: