antlr / stringtemplate4

StringTemplate 4
http://www.stringtemplate.org
Other
956 stars 231 forks source link

The result of rendering is truncated #73

Closed antmednik closed 10 years ago

antmednik commented 10 years ago

I'm using Antlr4.StringTemplate.4.0.6.9004 on .NET (.net3.5, assembly: runtime version - v2.0.50727, version - 4.0.6.9004). I have pretty large context object for template. Rendering is executed and I get the result, but at some moment the rendering of inner elements is not performed and the result is truncated. The size of result file is 284 916 bytes. Maybe there are some restrictions on size of result document? I've tried both Template.Render() and Template.Write() APIs.

If you need I'll attach the template and the result truncated file.

parrt commented 10 years ago

Shouldn't be any limits. So it's random in size and when?

sharwell commented 10 years ago

The C# port of StringTemplate 4 is a different project. You should post this issue in the following repository: https://github.com/antlr/antlrcs/issues

If testing determines that the issue affects the Java version as well, I'll reopen this issue.