Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-126

String containing '##' is treated as unterminated String.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.5
    • Engine
    • None
    • Operating System: All
      Platform: All
    • 16087

    Description

      The following template snippet

      ${System_err.println("###############################################")}

      Results in this output:
      [INFO,STDERR] [rrd] 1042589262000 Error in interpolating string literal :
      org.apache.velocity.runtime.parser.ParseException: Lexical error:
      org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 1,
      column 49. Encountered: <EOF> after : ""

      If you're wondering what I'm doing, I've got System.err passed into velocity as
      System_err

      Attachments

        Activity

          People

            Unassigned Unassigned
            apache@jimmywan.com Jimmy Wan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: