You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2002/03/07 12:55:58 UTC
DO NOT REPLY [Bug 6955] New: -
parsing VTL directives
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6955
parsing VTL directives
Summary: parsing VTL directives
Product: Velocity
Version: 1.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Source
AssignedTo: velocity-dev@jakarta.apache.org
ReportedBy: djp@togethersoft.com
If the template contains the javadoc tag "@see package.class#member", and the
member begins with a VTL directive name (SessionBean#setSessionContext, for
example) the parser produces the following exception.
org.apache.velocity.runtime.parser.ParseException: Encountered "SessionContext"
at line 31, column 34.
Was expecting one of:
"(" ...
<WHITESPACE> ...
at org.apache.velocity.runtime.parser.Parser.generateParseException(Parser.java:3409)
at org.apache.velocity.runtime.parser.Parser.jj_consume_token(Parser.java:3293)
at org.apache.velocity.runtime.parser.Parser.SetDirective(Parser.java:1511)
at org.apache.velocity.runtime.parser.Parser.Statement(Parser.java:300)
at org.apache.velocity.runtime.parser.Parser.process(Parser.java:248)
at org.apache.velocity.runtime.parser.Parser.parse(Parser.java:103)
at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:669)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>