commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JEXL-44) Comments don't allow double-quotes
Date Thu, 03 Sep 2009 11:07:39 GMT

    [ 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.


Mime
View raw message