You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Oliver Kohll <ol...@gtwebmarque.com> on 2006/01/03 14:30:59 UTC

Maximum parse depth

Hi,

The user guide says that "the parse_directive.maxdepth line of the  
velocity.properties allows users to customize maximum number of  
#parse referrals that can occur from a single template".

The developer guide calls it directive.parse.maxdepth

In fact the key that works for me is neither of the above but  
directive.parse.max.depth, as reported by  
RuntimeConstants.PARSE_DIRECTIVE_MAXDEPTH (http://jakarta.apache.org/ 
velocity/docs/api/org/apache/velocity/runtime/RuntimeConstants.html)

Perhaps both sets of docs should be updated.

Best regards,

Oliver Kohll

oliver@gtwebmarque.com / 0845 456 1810 / 07814 828608
Furze Bank, 34 Hanover Street, SWANSEA UK, SA1 6BA


NOTE
No contracts may be concluded on behalf of GT webMarque by means of e- 
mail
communications. The contents of this e-mail are confidential to the
intended recipient at the e-mail address to which it has been addressed;
it may not be disclosed to or used by anyone other than this addressee,
nor may it be copied in any way. If received in error please return to
sender via e-mail.

DISCLAIMER
Please note that neither GT webMarque Ltd nor the sender accept any
responsibility for viruses transmitted via e-mail. It is your
responsibility to scan attachments (if any).



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: Maximum parse depth

Posted by Will Glass-Husain <wg...@forio.com>.
Thanks, Oliver.

I've fixed this in the docs stored in source control.  Will be updated on 
the
web site with the 1.5-beta release.

Best, WILL


----- Original Message ----- 
From: "Oliver Kohll" <ol...@gtwebmarque.com>
To: "Velocity Users List" <ve...@jakarta.apache.org>
Sent: Tuesday, January 03, 2006 5:30 AM
Subject: Maximum parse depth


> Hi,
>
> The user guide says that "the parse_directive.maxdepth line of the
> velocity.properties allows users to customize maximum number of  #parse
> referrals that can occur from a single template".
>
> The developer guide calls it directive.parse.maxdepth
>
> In fact the key that works for me is neither of the above but
> directive.parse.max.depth, as reported by
> RuntimeConstants.PARSE_DIRECTIVE_MAXDEPTH (http://jakarta.apache.org/
> velocity/docs/api/org/apache/velocity/runtime/RuntimeConstants.html)
>
> Perhaps both sets of docs should be updated.
>
> Best regards,
>
> Oliver Kohll
>
> oliver@gtwebmarque.com / 0845 456 1810 / 07814 828608
> Furze Bank, 34 Hanover Street, SWANSEA UK, SA1 6BA
>
>
> NOTE
> No contracts may be concluded on behalf of GT webMarque by means of e-
> mail
> communications. The contents of this e-mail are confidential to the
> intended recipient at the e-mail address to which it has been addressed;
> it may not be disclosed to or used by anyone other than this addressee,
> nor may it be copied in any way. If received in error please return to
> sender via e-mail.
>
> DISCLAIMER
> Please note that neither GT webMarque Ltd nor the sender accept any
> responsibility for viruses transmitted via e-mail. It is your
> responsibility to scan attachments (if any).
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org