[
https://issues.apache.org/jira/browse/VELOCITY-584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662517#action_12662517
]
Jarkko Viinamäki commented on VELOCITY-584:
-------------------------------------------
The new escaping syntax introduced in VELOCITY-661 now helps with this issue.
> Change the #include directive ignore the SSI version of include
> ---------------------------------------------------------------
>
> Key: VELOCITY-584
> URL: https://issues.apache.org/jira/browse/VELOCITY-584
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Affects Versions: 1.5
> Reporter: Tim White
> Fix For: 2.0
>
>
> When processing a file that happens to have the SSI version of 'include' in
> it, the velocity engine breaks.
> There are many cases where we end up with files that contain both, before
> they are cleaned up.
> <!--#include file="wisdom.inc"-->
> Essentially, if it sees that syntax, it needs to ignore the include. A
> suggestion would be to check for any amount of whitespace after the #include,
> and then "file=". I don't think that will step on proper Velocity include
> syntax.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]