svn commit: r452800 - /incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r452800 - /incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl

jacopoc
Author: jacopoc
Date: Wed Oct  4 02:00:33 2006
New Revision: 452800

URL: http://svn.apache.org/viewvc?view=rev&rev=452800
Log:
The <#escape x as x?xml> directive will escape all the ${} interpolations with the ?xml directive to avoid problem with special characters such as the one reported by Eriks Dobelis in OFBIZ-357.

Modified:
    incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl

Modified: incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl?view=diff&rev=452800&r1=452799&r2=452800
==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl (original)
+++ incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl Wed Oct  4 02:00:33 2006
@@ -17,6 +17,7 @@
  *@author     Si Chen ([hidden email])
 -->
 <?xml version="1.0" encoding="UTF-8" ?>
+<#escape x as x?xml>
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
     <#-- master layout specifies the overall layout of the pages and its different sections. -->
     <fo:layout-master-set>
@@ -257,3 +258,4 @@
        </fo:flow>
     </fo:page-sequence>
 </fo:root>
+</#escape>
\ No newline at end of file