Velocity
  1. Velocity
  2. VELOCITY-280

Parsing of braces after a reference fails

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Later
    • Affects Version/s: 1.4
    • Fix Version/s: 2.x
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: All

      Description

      Parsing of braces '{}' after a reference fails in all cases:
      $foo

      {bar}
      produces
      $foo{

      \$foo{bar}

      produces
      \$foo{

      #set ($foo = 'foo')
      $foo

      {bar}
      produces
      foo{

      \$foo{bar}

      produces
      $foo{

        Activity

        Ilkka Priha created issue -
        Jeff Turner made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 30064 12315150
        Hide
        Will Glass-Husain added a comment -

        Possibly this is related to Velocity-264?
        We should fix this for v1.5.

        Show
        Will Glass-Husain added a comment - Possibly this is related to Velocity-264? We should fix this for v1.5.
        Will Glass-Husain made changes -
        Description Parsing of braces '{}' after a reference fails in all cases:
        $foo{bar}
        produces
        $foo{

        \$foo{bar}
        produces
        \$foo{

        #set ($foo = 'foo')
        $foo{bar}
        produces
        foo{

        \$foo{bar}
        produces
        $foo{
        Parsing of braces '{}' after a reference fails in all cases:
        $foo{bar}
        produces
        $foo{

        \$foo{bar}
        produces
        \$foo{

        #set ($foo = 'foo')
        $foo{bar}
        produces
        foo{

        \$foo{bar}
        produces
        $foo{
        Fix Version/s 1.5 [ 12310253 ]
        Assignee Velocity-Dev List [ velocity-dev@jakarta.apache.org ]
        Bugzilla Id 30064
        Priority Major [ 3 ] Minor [ 4 ]
        Environment Operating System: Windows XP
        Platform: All
        Operating System: Windows XP
        Platform: All
        Hide
        Henning Schmiedehausen added a comment -

        This problem is related to the complicated parser structure that tries to resolve references. While I'm able to patch the parser to actually let these elements pass through, this leads to other side effects. Really fixing this stuff needs probably some rewrite of the Parser.jj file; if anyone is willing to do this for 1.5, I'd be more than willing to put that in, else it will get postponed to 2.0

        Show
        Henning Schmiedehausen added a comment - This problem is related to the complicated parser structure that tries to resolve references. While I'm able to patch the parser to actually let these elements pass through, this leads to other side effects. Really fixing this stuff needs probably some rewrite of the Parser.jj file; if anyone is willing to do this for 1.5, I'd be more than willing to put that in, else it will get postponed to 2.0
        Henning Schmiedehausen made changes -
        Resolution Later [ 7 ]
        Fix Version/s 2.0 [ 12310291 ]
        Fix Version/s 1.5 [ 12310253 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mark Thomas made changes -
        Workflow jira [ 12325155 ] Default workflow, editable Closed status [ 12551789 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12551789 ] jira [ 12552613 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        821d 8h 2m 1 Henning Schmiedehausen 12/Oct/06 21:41

          People

          • Assignee:
            Unassigned
            Reporter:
            Ilkka Priha
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development