Hello,
It looks like calling xlst_process as follows causes a crash:
select xslt_process('<root xml_tb_version=3D"2.0" type=3D"struct" >
<ttm type=3D"int32" >60</ttm>
<delta type=3D"double" >0.75</delta>
<ttm2 type=3D"int32" >30</ttm2>
<delta2 type=3D"double" >0.75</delta2>
<expMonthNum type=3D"int32" >1</expMonthNum>
<assetComb type=3D"cell" >
<item type=3D"char" >calendar spread</item>
</assetComb>
</root>','<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<xsl:stylesheet xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform" version=
=3D"1.0">
<xsl:output method=3D"xml" indent=3D"yes"/>
<xsl:template match=3D"//root/*">
<elem type=3D"{@type}" name=3D"{name()}">
<xsl:value-of select=3D"."/>
<xsl:attribute name=3D"href">
result.asp?value=3D<xsl:value-of select=3D"."/>
</xsl:attribute>
</elem>
</xsl:template>
</xsl:stylesheet>','')
After the crash pglog contains the following records:
2012-06-04 16:32:40.927 MSDLOG: server process (PID 4512) was terminated b=
y exception 0xC0000005
2012-06-04 16:32:40.927 MSDHINT: See C include file "ntstatus.h" for a des=
cription of the hexadecimal value.
2012-06-04 16:32:40.927 MSDLOG: terminating any other active server proces=
ses
Could you please help to figure out how it can be fixed?
Thanks,
Peter
Peter Gagarinov | Head of Modelling and Analytics
Allied Testing