Proposal: Extended FreemarkerServlet response Content-type and charset logic (Was: Re: Just created content-type and locale issues in JIRA)

2015-10-18 Thread Daniel Dekany
So I have merged this (https://issues.apache.org/jira/browse/FREEMARKER-1) in, but while reviewing the stuff, I have realized that I'm not sure how exactly this should work, especially as OutputFormat-s (the main 2.3.24 feature, mostly used for auto-escaping, but usually also specifies a MIME type)

Re: Adding a new BuiltIn - previousSibling

2015-10-18 Thread Daniel Dekany
Returning the sibling node without skipping stuff is not XML-specific, so certainly that should be ?previous (and a new method in the new TemplateNodeModelEx interface), not a hash key that starts with "@". BTW, of course all of these has an opposite direction variant, like "@next". And "@prev" ma