You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2006/10/04 11:00:34 UTC

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

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 (sichen@opensourcestrategies.com)
 -->
 <?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