<div dir="ltr">Yeah, everything is iterated over, even if there is only a single result. The problem here is that for some reason no result frames are being passed to the operations. Not so much an architectural issue, rather a bug.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 10, 2014 at 9:57 AM, Brad Davis <span dir="ltr">&lt;<a href="mailto:bdavis@redhat.com" target="_blank">bdavis@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think maybe the processor itself would be aware of whether it should be iterative or single.  For example, Classification should know &quot;I may get a set of results, but I only need one result to properly classify this resource&quot;.  While, Hints should know &quot;If I get a set of results, I should add it to each one.&quot;<br>
<br>
That is my thought anyway.<br>
<br>
Brad Davis<br>
Senior Manager, Red Hat Consulting<br>
Email: <a href="mailto:bdavis@redhat.com">bdavis@redhat.com</a> | c: <a href="tel:980.226.7865" value="+19802267865">980.226.7865</a> | <a href="http://www.redhat.com" target="_blank">http://www.redhat.com</a><br>
<div><div class="h5"><br>
<br>
----- Original Message -----<br>
From: &quot;Lincoln Baxter, III&quot; &lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt;<br>
To: &quot;Matej Briskar&quot; &lt;<a href="mailto:mbriskar@redhat.com">mbriskar@redhat.com</a>&gt;, &quot;Windup-dev List&quot; &lt;<a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>&gt;<br>
Sent: Tuesday, December 9, 2014 11:50:58 PM<br>
Subject: [windup-dev] Problems with XML<br>
<br>
<br>
<br>
Matej,<br>
<br>
This XML is repeated in almost all the rules we have so far...<br>
<br>
&lt;perform&gt;<br>
&lt;iteration&gt;<br>
&lt;hint .... &gt;<br>
&lt;/iteration&gt;<br>
&lt;/perform&gt;<br>
<br>
This XML mayactually be creating a nested iteration over no elements. One iteration created by default in the &lt;perform&gt; method, the next one by the subsequent &lt;iteration&gt;...<br>
<br>
Iteration is implied if omitted, so this may be the problem, not sure.<br>
I am going to look into this more tomorrow. But if you get to it before I do, this may be a place to start looking. Try removing the &lt;iteration&gt; tags and putting the child nodes into &lt;perform&gt; directly.<br>
<br>
--<br>
Lincoln Baxter, III<br>
<a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>
&quot;Simpler is better.&quot;<br>
<br>
</div></div>_______________________________________________<br>
windup-dev mailing list<br>
<a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/windup-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
_______________________________________________<br>
windup-dev mailing list<br>
<a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/windup-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;</div>
</div>