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 2004/12/21 04:47:52 UTC

DO NOT REPLY [Bug 32786] New: - The encoding cannot be specified in Generator#parse(...). The spelling of a parameter is wrong.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32786>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32786

           Summary: The encoding cannot be specified in
                    Generator#parse(...). The spelling of a parameter is
                    wrong.
           Product: Velocity
           Version: 1.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Texen
        AssignedTo: velocity-dev@jakarta.apache.org
        ReportedBy: sugim@isp.co.jp


"template encoding" cannot be specified in
org.apache.velocity.texen.Generator#parse(String, String, String, String,
String, Object).
The spelling of a parameter "intputEncoding" is wrong.

--
public String parse (String inputTemplate, 
                     String intputEncoding,
                     String outputFile,
                     String outputEncoding,
                     String objectID,
                     Object object)
throws Exception
{
        if (objectID != null && object != null)
        {
            controlContext.put(objectID, object);
        }            
        
        Template template = getTemplate(inputTemplate, inputEncoding != null ?
inputEncoding : this.inputEncoding);

&#65381;&#65381;&#65381;

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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