configurationengine/source/plugins/common/ConeRulePlugin/ruleplugin/tests/ruleproject/rules/implml/container_with_rules.ruleml
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
equal deleted inserted replaced
2:87cfa131b535 3:e7e0ae78773e
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <container xmlns="http://www.symbianfoundation.org/xml/implml/1">
     2 <container xmlns="http://www.symbianfoundation.org/xml/implml/1">
     3     <container>
     3     <container>
     4         <phase name="pre"/>
     4         <phase name="pre"/>
     5         <rules:ruleml xmlns:rules="http://www.s60.com/xml/ruleml/1">
     5         <rules:ruleml xmlns:rules="http://www.s60.com/xml/ruleml/3">
     6           <rules:rule>imaker.imagetarget configures imakerapi.outputLocation = imaker.imagetarget</rules:rule>
     6           <rules:rule>{% dummy_function(${imakerapi.PRODUCT_NAME}) %} configures ${imakerapi.PRODUCT_NAME} = "test product"</rules:rule>
     7           <rules:rule>True configures StringConcatenationTest.Result1 = "Test " + "test"</rules:rule>
     7           <rules:rule>${imaker.imagetarget} configures ${imakerapi.outputLocation} = ${imaker.imagetarget}</rules:rule>
     8           <rules:rule>True configures StringConcatenationTest.Result2 = StringConcatenationTest.Value1 + " Literal 2"</rules:rule>
     8           <rules:rule>True configures ${StringConcatenationTest.Result1} = "Test " + "test"</rules:rule>
       
     9           <rules:rule>True configures ${StringConcatenationTest.Result2} = ${StringConcatenationTest.Value1} + " Literal 2"</rules:rule>
       
    10           <eval_globals>
       
    11 def dummy_function(ref):
       
    12     return ref
       
    13         </eval_globals>
     9         </rules:ruleml>
    14         </rules:ruleml>
    10     </container>
    15     </container>
    11     <container>
    16     <container>
    12         <phase name="normal"/>
    17         <phase name="normal"/>
    13         <rules:ruleml xmlns:rules="http://www.s60.com/xml/ruleml/1">
    18         <rules:ruleml xmlns:rules="http://www.s60.com/xml/ruleml/3">
    14           <rules:rule>True configures StringConcatenationTest.Result3 = "Literal 1 " + StringConcatenationTest.Value2</rules:rule>
    19           <rules:rule>True configures ${StringConcatenationTest.Result3} = "Literal 1 " + ${StringConcatenationTest.Value2}</rules:rule>
    15           <rules:rule>True configures StringConcatenationTest.Result4 = StringConcatenationTest.Value1 + StringConcatenationTest.Value2</rules:rule>
    20           <rules:rule>True configures ${StringConcatenationTest.Result4} = ${StringConcatenationTest.Value1} + ${StringConcatenationTest.Value2}</rules:rule>
    16           <rules:rule>True configures StringConcatenationTest.Result5 = StringConcatenationTest.Value1 + " &amp; " + StringConcatenationTest.Value2</rules:rule>
    21           <rules:rule>True configures ${StringConcatenationTest.Result5} = ${StringConcatenationTest.Value1} + " &amp; " + ${StringConcatenationTest.Value2}</rules:rule>
    17           <rules:rule>True configures StringConcatenationTest.Result6 = StringConcatenationTest.Value1 + u" € カタカナ"</rules:rule>      
    22           <rules:rule>True configures ${StringConcatenationTest.Result6} = ${StringConcatenationTest.Value1} + u" € カタカナ"</rules:rule>      
    18         </rules:ruleml>
    23         </rules:ruleml>
    19     </container>
    24     </container>
    20 </container>
    25 </container>