[
https://issues.apache.org/jira/browse/JEXL-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750969#action_12750969
]
Sebb commented on JEXL-44:
--------------------------
I've just had a look at the Velocity doc -
http://velocity.apache.org/engine/devel/user-guide.html#Comments - and "##" is
a single-line comment.
However, AFAICT, it does not treat double-quote specially, so why does JEXL do
so?
Indeed there seems to be no way to make a valid script once a double-quote is
detected inside a ## comment.
-1 to dropping "##" as a comment marker, that migh break lots of scripts.
> Comments don't allow double-quotes
> ----------------------------------
>
> Key: JEXL-44
> URL: https://issues.apache.org/jira/browse/JEXL-44
> Project: Commons JEXL
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Sebb
> Fix For: 2.0
>
>
> Comment lines should allow any characters; however for some reason
> double-quotes are not allowed.
> Single quotes are OK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.