Commit in servicemix/base/src/test/resources/org/servicemix/components/xslt on MAIN
router.xsl+7-71.3 -> 1.4
Fix: used to "." instead of ":" when accessing methods of the class configured as xalan class. e.g "jbi.forward".

servicemix/base/src/test/resources/org/servicemix/components/xslt
router.xsl 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- router.xsl	5 Aug 2005 12:48:16 -0000	1.3
+++ router.xsl	17 Aug 2005 02:54:21 -0000	1.4
@@ -12,26 +12,26 @@
 
       <!-- lets forward the inbound message to a service -->
       <xsl:when test="@id = '4'">
-        <jbi:forward service="foo:trace"/>
+        <jbi.forward service="foo:trace"/>
       </xsl:when>
 
       <!-- lets generate the output XML to use as input, copy the input properties and define some new propertes -->
       <xsl:when test="@id = '12'">
-        <jbi:invoke service="foo:script">
-          <jbi:copyProperties/>
-          <jbi:setOutProperty name="foo" select="@sent"/>
+        <jbi.invoke service="foo:script">
+          <jbi.copyProperties/>
+          <jbi.setOutProperty name="foo" select="@sent"/>
           <cheese code="[EMAIL PROTECTED]">
             <description>This is some content generated from the routing XSL</description>
           </cheese>
-        </jbi:invoke>
+        </jbi.invoke>
       </xsl:when>
 
       <xsl:when test="@id != '2'">
-        <jbi:forward service="foo:receiver"/>
+        <jbi.forward service="foo:receiver"/>
       </xsl:when>
 
       <xsl:otherwise>
-        <jbi:forward service="foo:trace"/>
+        <jbi.forward service="foo:trace"/>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
CVSspam 0.2.8



Reply via email to