You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/05/02 09:28:38 UTC

[jira] Created: (CAMEL-1582) SimpleLanguage - Add better syntax error detection

SimpleLanguage - Add better syntax error detection
--------------------------------------------------

                 Key: CAMEL-1582
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1582
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.0-M1
            Reporter: Claus Ibsen
             Fix For: 2.0.0


When using the simple language with expressions (eg with ${ } placeholders) we should add improved syntax error detection if the expression is invalid.

Also add that {{null}} is special so we can add is null test. Maybe just add support for {{is null}} and {{is not null}} and even the {{ == null}} or {{!= nulll}} so we got this covered.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-1582) SimpleLanguage - Add better syntax error detection

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1582.
--------------------------------

    Resolution: Fixed

trunk :772927.

improved syntax validation for file and simple language, now reporting error if you misspell a ${ } placeholder.

> SimpleLanguage - Add better syntax error detection
> --------------------------------------------------
>
>                 Key: CAMEL-1582
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1582
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> When using the simple language with expressions (eg with ${ } placeholders) we should add improved syntax error detection if the expression is invalid.
> Also add that {{null}} is special so we can add is null test. Maybe just add support for {{is null}} and {{is not null}} and even the {{== null}} or {{!= nulll}} so we got this covered.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-1582) SimpleLanguage - Add better syntax error detection

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-1582:
----------------------------------

    Assignee: Claus Ibsen

> SimpleLanguage - Add better syntax error detection
> --------------------------------------------------
>
>                 Key: CAMEL-1582
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1582
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> When using the simple language with expressions (eg with ${ } placeholders) we should add improved syntax error detection if the expression is invalid.
> Also add that {{null}} is special so we can add is null test. Maybe just add support for {{is null}} and {{is not null}} and even the {{== null}} or {{!= nulll}} so we got this covered.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1582) SimpleLanguage - Add better syntax error detection

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51483#action_51483 ] 

Claus Ibsen commented on CAMEL-1582:
------------------------------------

See nabble:
http://www.nabble.com/stopping-a-route-in-spring-dsl-td23322604s22882.html


> SimpleLanguage - Add better syntax error detection
> --------------------------------------------------
>
>                 Key: CAMEL-1582
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1582
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>             Fix For: 2.0.0
>
>
> When using the simple language with expressions (eg with ${ } placeholders) we should add improved syntax error detection if the expression is invalid.
> Also add that {{null}} is special so we can add is null test. Maybe just add support for {{is null}} and {{is not null}} and even the {{== null}} or {{!= nulll}} so we got this covered.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1582) SimpleLanguage - Add better syntax error detection

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51485#action_51485 ] 

Claus Ibsen commented on CAMEL-1582:
------------------------------------

My bad == null and != null is already there.

Only think left I kinda recall is better syntax error detection. Before closing this ticket take a look again and check the state. 

> SimpleLanguage - Add better syntax error detection
> --------------------------------------------------
>
>                 Key: CAMEL-1582
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1582
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>             Fix For: 2.0.0
>
>
> When using the simple language with expressions (eg with ${ } placeholders) we should add improved syntax error detection if the expression is invalid.
> Also add that {{null}} is special so we can add is null test. Maybe just add support for {{is null}} and {{is not null}} and even the {{== null}} or {{!= nulll}} so we got this covered.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-1582) SimpleLanguage - Add better syntax error detection

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-1582:
-------------------------------

    Description: 
When using the simple language with expressions (eg with ${ } placeholders) we should add improved syntax error detection if the expression is invalid.

Also add that {{null}} is special so we can add is null test. Maybe just add support for {{is null}} and {{is not null}} and even the {{== null}} or {{!= nulll}} so we got this covered.

  was:
When using the simple language with expressions (eg with ${ } placeholders) we should add improved syntax error detection if the expression is invalid.

Also add that {{null}} is special so we can add is null test. Maybe just add support for {{is null}} and {{is not null}} and even the {{ == null}} or {{!= nulll}} so we got this covered.


> SimpleLanguage - Add better syntax error detection
> --------------------------------------------------
>
>                 Key: CAMEL-1582
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1582
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>             Fix For: 2.0.0
>
>
> When using the simple language with expressions (eg with ${ } placeholders) we should add improved syntax error detection if the expression is invalid.
> Also add that {{null}} is special so we can add is null test. Maybe just add support for {{is null}} and {{is not null}} and even the {{== null}} or {{!= nulll}} so we got this covered.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.