velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wgl...@apache.org
Subject svn commit: r365675 - in /jakarta/velocity/core/trunk/xdocs/docs: developer-guide.xml user-guide.xml
Date Tue, 03 Jan 2006 16:23:57 GMT
Author: wglass
Date: Tue Jan  3 08:23:55 2006
New Revision: 365675

URL: http://svn.apache.org/viewcvs?rev=365675&view=rev
Log:
Fixed typo for property directive.parse.max.depth.  Thanks to Oliver Kohll for the catch.

Modified:
    jakarta/velocity/core/trunk/xdocs/docs/developer-guide.xml
    jakarta/velocity/core/trunk/xdocs/docs/user-guide.xml

Modified: jakarta/velocity/core/trunk/xdocs/docs/developer-guide.xml
URL: http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/xdocs/docs/developer-guide.xml?rev=365675&r1=365674&r2=365675&view=diff
==============================================================================
--- jakarta/velocity/core/trunk/xdocs/docs/developer-guide.xml (original)
+++ jakarta/velocity/core/trunk/xdocs/docs/developer-guide.xml Tue Jan  3 08:23:55 2006
@@ -1537,7 +1537,7 @@
 (next) tag are defined.
 </p>
 <p>
-<code>directive.parse.maxdepth = 10</code><br/>
+<code>directive.parse.max.depth = 10</code><br/>
 Defines the allowable parse depth for a template. A template may #parse()
 another template which itself may have a #parse() directive.  This value
 prevents runaway #parse() recursion.

Modified: jakarta/velocity/core/trunk/xdocs/docs/user-guide.xml
URL: http://svn.apache.org/viewcvs/jakarta/velocity/core/trunk/xdocs/docs/user-guide.xml?rev=365675&r1=365674&r2=365675&view=diff
==============================================================================
--- jakarta/velocity/core/trunk/xdocs/docs/user-guide.xml (original)
+++ jakarta/velocity/core/trunk/xdocs/docs/user-guide.xml Tue Jan  3 08:23:55 2006
@@ -920,11 +920,11 @@
  <p>
     If the RHS is a property or method reference that evaluates to
     <em>null</em>, it will <b>not</b> be assigned to the LHS.  
-	Depending on how Velocity is configured, it is usually not
+    Depending on how Velocity is configured, it is usually not
     possible to remove an existing reference from the context via
     this mechanism.  
-	(Note that this can be permitted by changing one of the Velocity configuration properties).
-	This can be confusing for
+    (Note that this can be permitted by changing one of the Velocity configuration properties).
+    This can be confusing for
     newcomers to Velocity.  For example:
  </p>
 
@@ -1166,8 +1166,8 @@
     <p>Note that the semantics of <em>==</em> are slightly different than
Java where <em>==</em> 
     can only be used to test object equality.  In Velocity the equivalent operator 
     can be used to directly compare numbers, strings, or objects.  When the objects
-	are of different classes, the string representations are obtained by calling
-	<code>toString()</code> for each object and then compared.
+    are of different classes, the string representations are obtained by calling
+    <code>toString()</code> for each object and then compared.
     </p>
 
     <p>
@@ -1420,10 +1420,10 @@
     <p>
     VTL templates can have <em>#parse</em> statements referring to
     templates that in turn have <em>#parse</em> statements. By default
-    set to 10, the <em>parse_directive.maxdepth</em> line of the
+    set to 10, the <em>directive.parse.max.depth</em> line of the
     <code>velocity.properties</code> allows users to customize maximum
     number of <em>#parse</em> referrals that can occur from a single
-    template. (Note: If the <em>parse_directive.maxdepth</em> property
+    template. (Note: If the <em>directive.parse.max.depth</em> property
     is absent from the <code>velocity.properties</code> file, Velocity
     will set this default to 10.) Recursion is permitted, for example,
     if the template <code>dofoo.vm</code> contains the following lines:



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


Mime
View raw message