You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Vlad Bailescu (JIRA)" <ji...@apache.org> on 2015/03/10 15:21:38 UTC

[jira] [Created] (SLING-4489) Sightly: Hyphenated identifiers cause a compilation exception in Sightly generated Java classes

Vlad Bailescu created SLING-4489:
------------------------------------

             Summary: Sightly: Hyphenated identifiers cause a compilation exception in Sightly generated Java classes
                 Key: SLING-4489
                 URL: https://issues.apache.org/jira/browse/SLING-4489
             Project: Sling
          Issue Type: Bug
            Reporter: Vlad Bailescu
            Priority: Minor


Using hyphenated identifiers leads to a compilation exception at runtime:

{code:html}
<template data-sly-template.bad-template="${ @ }">Test</template>
{code}

The Sightly grammar does not allow hyphenated identifier so a proper parsing exception should be thrown instead.



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