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

version» Context lines:

Roxen.git/server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:162:   <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> - <result>10</result> + <glob>1[Error (parse): *]</glob>   </test>      <test>   <rxml><define tag='a'>&_.b;&a.c;</define><a c='2' b='1'/></rxml>   <result>12</result>   </test>      <test>   <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:1530:      <!-- ............................................................ -->   <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> - <result>Y</result> + <glob>[Error (parse): *]</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:2748:   <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> - <result>2</result> + <glob>[Error (parse): *]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> - <result></result> + <glob>[Error (parse): *][Error (parse): *][Error (parse): *]</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:2914:   <rxml><set variable="var.x">&amp;f;&lt;b&gt;</set>&var.x:none;</rxml>   <result>&f;<b></result>   </test>      <test>   <rxml><set variable="var.x">&lt;$</set>&var.x:wml;</rxml>   <result>&lt;$$</result>   </test>      <test> - <rxml><set variable="var.x">&lt;$%a#å</set>&var.x:wml-url;</rxml> + <rxml><set variable="var.x">&lt;$%a#å</set><case case="lower">&var.x:wml-url;</case></rxml>   <!--    Behavior in 4.0 and earlier - strings with only ISO 8859-1 chars are    encoded straight off by the wml-url encoding while wider strings    first are UTF-8 encoded. I don't know what the WAP/WML standard says    about this. /mast       <result>%3c%24%25a%23%e5</result>   -->   <result>%3c%24%25a%23%c3%a5</result>   </test>