[ http://issues.apache.org/jira/browse/OFBIZ-466?page=comments#action_12450160 ] Jacopo Cappellato commented on OFBIZ-466: -----------------------------------------
Ray is right, the <#escape x as x?xml> in the reportTemplate.fo.ftl file has no effect (I don't know why); however, if you add the <#escape x as x?xml> tag to each of the order's template it works fine; and iit is a better and quicker option than the one of adding the ?xml tags to all the fields. > PDF view of order crashes depending on customer data such as notes and > address lines. > ------------------------------------------------------------------------------------- > > Key: OFBIZ-466 > URL: http://issues.apache.org/jira/browse/OFBIZ-466 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Environment: N/A > Reporter: Ray Barlow > Assigned To: Jacopo Cappellato > Attachments: order_pdf.patch > > > This patch adds a few more ?xml attributes to the pdf views for orders to > stop crashes when trying to view an order that has xml unfriendly characters > i.e. view the pdf of an order with a customer facing note saying "Merry > Christmas & Happy New Year" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
