Apache Velocity: Is there a standard way of verifying the correctness of a template from the command line?

前端 未结 3 824
忘了有多久
忘了有多久 2021-01-05 13:50

Our website uses the Apache Velocity template language. Our Content Management System already checks any generated XML documents for well-formedness. We\'ve been asked to

3条回答
  •  一个人的身影
    2021-01-05 14:20

    In December 2010 someone published a tool for validating Velocity. I tried it out and it works fine. It uses Velocity 1.6.4, but maybe that can be swapped out for a different version if needed.

    http://code.google.com/p/velocity-validator/

提交回复
热议问题