sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angela Schreiber (Jira)" <>
Subject [jira] [Created] (SLING-9068) Add more context to ParseException
Date Thu, 13 Feb 2020 07:44:00 GMT
Angela Schreiber created SLING-9068:

             Summary: Add more context to ParseException
                 Key: SLING-9068
             Project: Sling
          Issue Type: Improvement
          Components: Repoinit
            Reporter: Angela Schreiber

today the repo init grammar doesn't come with dedicated exception handing and thus the parser
will fail with messages that can make it hard to spot actual problem... specially in a lengthy
repo-init as it is present with Adobe AEM. Example:

{code} Encountered " "," ", "" at line 115,
column 46.
Was expecting:
    ")" ...

if i am not mistaken this should be doable be adding explicit exceptions to the grammar.

This message was sent by Atlassian Jira

View raw message