Hi ,
We have currently upgraded to a product that internally uses Saxon8.9.Earlier version used Saxon 8.4. One of the XSLT files is throwing an exception 'net.sf.saxon.trans.DynamicError: Illegal HTML character: decimal 137 ' with Saxon8.9 but it worked fine with Saxon8.4.
The xml that is being used is:
<ORIGINALMESSAGE>ST[28]RUSROSLH[29]TranType[28]01[29]CallType[28]2[29]CallerPhone[28]495-363 02 90[29]CallerName[28]avis รยทรยดร&#137;รยดรยฝร&#128;รยป &#132;รยฒรยฐร&#131;[29]AssetID[28]S1ATM003[29]CallRef[28]ROAV031703[29]ProblemDesc[28]ร&#132;ร&#131;รยทร&#137;รยปรยดรยณร&#132;ร&#139;รยฒรยบร&#131;รยฟรยผร&#129;รยฒร&#132;รยฐร‘&#131; รยธร&#132;รยฐรยฒรยบร‘&#131; &#132;รยฒร&#139;รยบร&#134;รยทร‘&#137; รยดรยปรยดร‘&#137; รยทร&#137;รยดรยปรยณรยพรยปรยฒ[29]Text[28]Additional Problem Description &#131;ร&#139;ร&#132;รยฒรยบ รยทร&#137;รยดร&#136;รยป[29]Priority[28]2[29]StatusBytes[28]D12*000**G0*2*0002000000*2111[29]SE[28]RUSROSLH[29]</ORIGINALMESSAGE>
The XSLT code is :
<xsl:variable name="ORIGINALMESSAGE" select="//ORIGINALMESSAGE"/>
<TRANSACTION_MSG type="CLOB" dir="IN">
        <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
                <xsl:copy-of select="$ORIGINALMESSAGE"/>
        <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
</TRANSACTION_MSG>
 
Please let me know what is done wrong here.
Thanks,
Divya