They will all disappear. Thanks.
geir
jeff wrote:
>
> I just did some testing with latest from CVS and discovered the
> following problems
>
> 1) The basic $$ problem: (I have mentioned this before)
>
> #set ( $a = "2.99" )
>
> Today's special sale price: $$a
>
> renders as
> Today's special sale price: $$a
>
> 2) The ${ problem:
>
> ${
> $a{
> $$a{
> \${
>
> Any of the above cause an exception that looks something like this:
> org.apache.velocity.exception.ParseErrorException: Encountered "\r\n" at line 5,
>column 12.
> Was expecting:
> <IDENTIFIER> ...
>
> at org.apache.velocity.Template.process(Template.java:169)
> at
>org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceManager.java:336)
> at org.apache.velocity.runtime.Runtime.getTemplate(Runtime.java:666)
>
> 3) The disappearing } problem:
>
> #set( $z = "foo" )
>
> $z}
>
> renders as
>
> foo
>
> I have workarounds for all these but I thought I should report them.
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Developing for the web? See http://jakarta.apache.org/velocity/