Branch: Tag:

2009-07-13

2009-07-13 09:27:07 by Martin Stjernholm <mast@lysator.liu.se>

A new attempt, this time without the bug that caused the content to be
replaced with the empty value in internally generated tags (e.g. through
RXML.make_tag).

Rev: server/etc/modules/RXML.pmod/module.pmod:1.408
Rev: server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1.99
Rev: server/modules/configuration/roxen_test.pike:1.81

3962:         <!-- ............................................................ --> - <comment>Attribute tests</comment> + <comment>Missing nonsequential values tests</comment>      <test>    <rxml type="any">
4034:    </rxml>    <glob>[Error (parse): No value given for nonsequential type int*]</glob>   </test> +  + <test> +  <rxml type="any"> +  <test-required-content> +  <value type="int">17</value> +  </test-required-content> +  </rxml> +  <equal>17</equal> + </test> +  + <test> +  <rxml> +  <test-required-content/> +  </rxml> +  <glob>[Error (parse): Missing value for nonsequential content*]</glob> + </test> +  + <test> +  <rxml> +  <test-required-content> +  </test-required-content> +  </rxml> +  <glob>[Error (parse): Missing value for nonsequential content*]</glob> + </test>