[xep-support] Need help rendering special characters

From: Joyce Huang <Joyce.Huang@vnsny.org>
Date: Thu Jan 20 2005 - 09:19:52 PST

Hello,
 
 My name is Joyce Huang from VNS in New York. I have trouble to escaping
special characters in xml file, such as "&" "<" etc.. Our data source is a
cobal program, which is vert restricted on record length. To escape when the
xml is written is not possible, so I endup with a not well-formed xml with
the task of fixing it before rendering. I am trying to use CDATA in xml
like following. Please pay attention to the highlighted line which deal with
special characters. One of my co-workers ran it through FOP and actually
generated a pdf with the CDATA part "12345678&<<>99" intact, while when I
passed it to renderx, I got a SAXParseException. Does renderX currently
support CDATA? If not, can you recommend a solution?

         
<?xml version="1.0" encoding="UTF-8"?>
<print-job>
        <header>
                <copies>2</copies>
                <duplex>true</duplex>
        </header>
        
<NETPRNT_485_DATA>
        <NETPRNT_485_AGENCY_DATA>
        
<NETPRNT_485_HIC_NUMBER><[!CDATA[12345678&<<>99]]></NETPRNT_485_HIC_NUMBER>
        
<NETPRNT_485_START_OF_CARE_DAT>02/05/03</NETPRNT_485_START_OF_CARE_DAT>
           </NETPRNT_485_AGENCY_DATA>
</NETPRNT_485_DATA>
</print-job>

Thanks.
Joyce Huang

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Thu Jan 20 23:59:49 2005

This archive was generated by hypermail 2.1.8 : Thu Jan 20 2005 - 23:59:49 PST