You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2014/12/05 12:05:13 UTC

[jira] [Updated] (SLING-4219) [Sightly] Unrecognised operators in expressions are not properly reported as syntax errors

     [ https://issues.apache.org/jira/browse/SLING-4219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu updated SLING-4219:
--------------------------------
    Summary: [Sightly] Unrecognised operators in expressions are not properly reported as syntax errors  (was: [Sightly] Unrecognised operators in exceptions are not properly handled)

> [Sightly] Unrecognised operators in expressions are not properly reported as syntax errors
> ------------------------------------------------------------------------------------------
>
>                 Key: SLING-4219
>                 URL: https://issues.apache.org/jira/browse/SLING-4219
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Radu Cotescu
>            Priority: Minor
>             Fix For: Scripting Sightly Engine 1.0.0
>
>
> The {{org.apache.sling.scripting.sightly.impl.compiler.frontend.SightlyParserErrorListener}} handles ANTLR parsing errors, in order to provide more detailed and easier to understand error reporting for Sightly scripts.
> For the cases when ANTLR doesn't provide a {{RecognitionException}}, although the listener still throws an error, the error is because the {{SightlyParsingException}} is instantiated with a {{null}} cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)