RE: Template.merge() doesn't throw ParseErrorException

2007-08-06 Thread Ryan Smith
to the internal list of invalid references? Ryan -Original Message- From: Nathan Bubna [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 10:54 AM To: Velocity Developers List Subject: Re: Template.merge() doesn't throw ParseErrorException On 8/1/07, Nicholas Beckett [EMAIL PROTECTED

Template.merge() doesn't throw ParseErrorException

2007-08-01 Thread Nicholas Beckett
Hi, I'm testing an application that uses the Velocity Template engine. I've deliberately introduced some parse errors in to my .vm file to test error handling in Template.merge(). The error is a $variable that isn't present in the context. According to the API this should cause merge() to

Re: Template.merge() doesn't throw ParseErrorException

2007-08-01 Thread Nathan Bubna
On 8/1/07, Nicholas Beckett [EMAIL PROTECTED] wrote: Hi, I'm testing an application that uses the Velocity Template engine. I've deliberately introduced some parse errors in to my .vm file to test error handling in Template.merge(). The error is a $variable that isn't present in the context.