"\u0061" causes lexer exception
-------------------------------

                 Key: VELOCITY-520
                 URL: https://issues.apache.org/jira/browse/VELOCITY-520
             Project: Velocity
          Issue Type: Bug
    Affects Versions: 1.5 beta2
            Reporter: Stepan Koltsov
            Priority: Minor


The test:

===
    public void testU() throws Exception {
        VelocityEngine ve = new VelocityEngine();
        ve.init();
        Context context = new VelocityContext();

        StringWriter writer;

        writer = new StringWriter();
        ve.evaluate(context, writer, "test","#set($v = \"\\u0061\")$v");
        //assertEquals("a", writer.toString());
    }
===

I think "\u0061" shoud produce "a", see VELOCITY-519. But if not, this should 
produce string "\u0061", literally, but not exception, as now.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to