On 2010-08-07, Nathan Bubna wrote: > On Mon, Aug 2, 2010 at 8:35 PM, Stefan Bodewig <[email protected]> wrote: >> On 2010-08-02, <[email protected]> wrote:
>>> To my knowledge escaping of quotes was never supported by Velocity. >> My guess is it works with Velocity 1.5 or otherwise the doxia folks >> wouldn't be using it that way. At least the parser doesn't choke on the >> template in question. > I'm 99.2% sure this never worked. That's a pretty high confidence 8-) >>> So in the doxia case either use a single quote for the XML attributes, >>> or double-up the quotes, or use the poor-mans-escaping (TM): >>> #set( $Q = '"' ) >> I'll take this advice to the doxia people and see whether they want to >> adapt. "It works for 1.5 and we are not going to upgrade anyway" may be >> an alternative answer. > Only if by "works" you mean "fails with insufficient notice". I > recommend Velocity 1.7 and doubling up the quotes. I had already opened <http://jira.codehaus.org/browse/DOXIA-400> and have now updated it with your advice. Since I'm really not more than an observer in this case, that's all I can do. Thanks again Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
