Roxen.git / server / etc / test / tests / rxml / RoxenTest_BaseRXML.xml

version» Context lines:

Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:202:   <test>   <rxml>a<?comment <b <?comment ?> ?>c</rxml>   <result>a ?>c</result>   </test>         <!-- ............................................................ -->   <comment>Define/undefine</comment>   <test>   <rxml><define if='x'>3</define><if x='3'>1</if><undefine if='x'/><if x='3'>1</if><else>0</else></rxml> - <glob>1[Error (parse): *]0</glob> + <glob>1<br clear='all'/><pre>[Error (parse): *]</pre>0</glob>   </test>      <test no-strip-ws="">   <rxml><define tag='a'>&_.b;&a.c;</define><a c='2' b='1'/></rxml>   <result>12</result>   </test>      <test no-strip-ws="">   <rxml><define tag='q'>&_.args:none;</define><q a='b'/></rxml>   <result>a="b"</result>
Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:760:   <test>    <rxml    ><define container="x"><contents copy-of="a[@foo]/y"/></define    ><x><a foo="bar"><y id="1"/></a><a><y id="2"/></a><a foo="gnu"><y id="3"/></a></x    ></rxml>    <result><y id="1"/><y id="3"/></result>   </test>      <test>    <rxml><define variable="var.i" preparse=""><contents/></define></rxml> -  <glob>[Error (parse): *]</glob> +  <glob><br clear='all'/><pre>[Error (parse): *]</pre></glob>   </test>      <test>    <rxml    ><define tag="x"    ><define variable="var.i" preparse=""><contents/></define    ></define    ><x    /></rxml> -  <glob>[Error (parse): *]</glob> +  <glob><br clear='all'/><pre>[Error (parse): *]</pre></glob>   </test>      <test>    <rxml type="string">    <define container="x" scope="x">    <define variable="var.i" preparse=""><contents scope="x"/></define>    &var.i;    </define>    <x>wox</x>    &var.i;
Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1928:      <!-- ............................................................ -->   <comment>User Ifs</comment>   <test>   <rxml><define if=q><if variable="var.i = 4"></if></define><if q>a</if><set variable=var.i value='3'/><if q>b</if><set variable='var.i' value='4'/><if q>c</if></rxml>   <result>c</result>   </test>      <test>   <rxml><if q>X</if><else>Y</else></rxml> - <glob>[Error (parse): *]Y</glob> + <glob><br clear='all'/><pre>[Error (parse): *]</pre>Y</glob>   </test>      <test>   <rxml><define if=q>a</define><if q=a>x</if><if q=b>b</if><if q>c</if></rxml>   <result>x</result>   </test>      <test>   <rxml><true/><define if=q><false/></define><then>A</then><if q>F</if><if q=1>F</if></rxml>   <result>A</result>
Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:3173:   <result>AA</result>   </test>      <test>   <rxml><use package="test_rxml_package"/>&var.b;.</rxml>   <result>.</result>   </test>      <test>   <rxml><if rxml_test="xyz">1</if><use package="test_rxml_package"/><if rxml_test="xyz">2</if><if rxml_test="a">3</if></rxml> - <glob>[Error (parse): *]2</glob> + <glob><br clear='all'/><pre>[Error (parse): *]</pre>2</glob>   </test>      <test>   <rxml><if rxml_test2="abc">1</if><use package="test_rxml_package"/><if rxml_test2="abc">2</if><if rxml_test2="a">3</if></rxml> - <glob>[Error (parse): *][Error (parse): *][Error (parse): *]</glob> + <glob><br clear='all'/><pre>[Error (parse): *]</pre><br clear='all'/><pre>[Error (parse): *]</pre><br clear='all'/><pre>[Error (parse): *]</pre></glob>   </test>      <test>   <rxml><use packageinfo="1"/></rxml>   <has-value>roxenlogo</has-value>   <has-value>test_rxml_package</has-value>   <has-value>RXML test package</has-value>   </test>      <test>
Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:4125:   <test>    <rxml>    <set variable="var.x" type="mapping">    <value type="mapping">    <value index="1">a</value>    <value index="2.3">b</value>    <value index="3s">c</value>    </value>    </set>    </rxml> -  <glob>[Error (parse): "index" attribute required in mapping context.]</glob> +  <glob><br clear='all'/><pre>[Error (parse): &#34;index&#34; attribute required in mapping context.]</pre></glob>   </test>      <test>    <rxml type="mapping">    <value index="x" type="mapping">    <value index="1">a</value>    <value index="2.3">b</value>    <value index="3s">c</value>    </value>    </rxml>
Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:4220:    "req-string": "x",    "req-int": 1,    "opt-string": "",    ])</equal>   </test>      <test>    <rxml>    <test-args req-string="" req-int=""/>    </rxml> -  <glob>[Error (parse): No value given for nonsequential type int*]</glob> +  <glob><br clear='all'/><pre>[Error (parse): No value given for nonsequential type int*]</pre></glob>   </test>      <test>    <rxml>    <set variable="var.args" type="text/*">    req-string="" req-int=""    </set>    <test-args ::="&var.args;"/>    </rxml> -  <glob>[Error (parse): No value given for nonsequential type int*]</glob> +  <glob><br clear='all'/><pre>[Error (parse): No value given for nonsequential type int*]</pre></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> +  <glob><br clear='all'/><pre>[Error (parse): Missing value for nonsequential content*]</pre></glob>   </test>      <test>    <rxml>    <test-required-content>    </test-required-content>    </rxml> -  <glob>[Error (parse): Missing value for nonsequential content*]</glob> +  <glob><br clear='all'/><pre>[Error (parse): Missing value for nonsequential content*]</pre></glob>   </test>