Alexander Muthmann created SLING-6169:
-----------------------------------------

             Summary: HTL Compiler does not detect missing quotes
                 Key: SLING-6169
                 URL: https://issues.apache.org/jira/browse/SLING-6169
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: HTL Maven Plugin 1.0.0, Scripting HTL Compiler 1.0.2
            Reporter: Alexander Muthmann


While evaluating the HTL Maven Plugin I found a possible bug in the HTL 
compiler:

The following statement is correct and the plugin does not report an error:
<sly data-sly-test="${!headline}">

A missing "}" causes the plugin to fail:
<sly data-sly-test="${!headline">

But a missing "\"" does not:
<sly data-sly-test=${!headline}">

As this causes htl to render out the statement instead of evaluating it, I'd 
suspect this is a bug.





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

Reply via email to