Branch: Tag:

2010-04-26

2010-04-26 22:24:10 by Martin Stjernholm <mast@lysator.liu.se>

Added a few tests for _.contents behavior that only got correct in
5.0rel3.

Rev: server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1.103

1179:    </equal>   </test>    + <test> +  <rxml type="string"> +  <define container="tag"> +  <if variable="_.contents">"&_.contents;"</if> +  </define> +  [<tag/>, +  <tag></tag>, +  <tag> </tag>] +  </rxml> +  <!-- Note: This produced [,," "] in 4.5 and 5.0 release 1 and 2. --> +  <result>["",""," "]</result> + </test>    -  + <test> +  <rxml type="string"> +  <define container="tag"> +  <if sizeof="_.contents &gt; 0">"&_.contents;"</if> +  </define> +  [<tag/>, +  <tag></tag>, +  <tag> </tag>] +  </rxml> +  <result>[,," "]</result> + </test> +  +    <!-- ............................................................ -->   <comment>Type tests</comment>