Re: Is it possible to continue processing instead of throwing a ParseErrorException?

Christopher Schultz <[email protected]>
Newsgroups gmane.comp.jakarta.velocity.user
Message-ID <[email protected]>
Nathan,

On 10/3/12 3:38 PM, Nathan Bubna wrote:
> Velocity uses a JavaCC generated parser.  So far as i know, JavaCC
> doesn't support this kind of soft-fail parsing.

On the other hand, Velocity could fail completely and show the original
template source. That's not a great solution IMO, though because it
could expose all kinds of things to a remote user.

-chris
signature.asc (application/pgp-signature, 304 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCGr8gACgkQ9CaO5/Lv0PAh0QCfZQxOfhRB9LKnwQAwWrb+m1Gx
n1gAoLb4b64jLTBQLudwzDeh507miDMP
=xB1Q
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.