Branch: Tag:

2009-09-02

2009-09-02 11:47:25 by Martin Stjernholm <mast@lysator.liu.se>

Fixed missing type conversion of variable entities when encodings are
specified. E.g. using <foo a="&var.x:url;"/> where TagFoo has declared
"a" as RXML.t_int still gave a string in args["a"].

This problem is not new in 5.0, but it might possibly have compatibility
aspects so it is not fixed in older versions. Also, the problem rarely
manifests itself in older versions since the type system is less exposed
there.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.410
Rev: server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1.100

1242:    <result><TM><TM></result>   </test>    + <test> +  <rxml type="any"> +  <set variable="var.a" type="string">17</set> +  <set variable="var.b" type="int">&var.a:sql;</set> +  &var.b; +  </rxml> +  <equal>17</equal> + </test>    -  + <test> +  <rxml type="any"> +  <set variable="var.a" type="string">17</set> +  <set variable="var.b" type="int">&var.a;</set> +  &var.b; +  </rxml> +  <equal>17</equal> + </test> +  +    <!-- ............................................................ -->   <comment>String number test</comment>   <test>