<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"><<a href="mailto:bdavis@redhat.com" target="_blank">bdavis@redhat.com</a>></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 "I may get a set of results, but I only need one result to properly classify this resource". While, Hints should know "If I get a set of results, I should add it to each one."<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: "Lincoln Baxter, III" <<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>><br>
To: "Matej Briskar" <<a href="mailto:mbriskar@redhat.com">mbriskar@redhat.com</a>>, "Windup-dev List" <<a href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>><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>
<perform><br>
<iteration><br>
<hint .... ><br>
</iteration><br>
</perform><br>
<br>
This XML mayactually be creating a nested iteration over no elements. One iteration created by default in the <perform> method, the next one by the subsequent <iteration>...<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 <iteration> tags and putting the child nodes into <perform> directly.<br>
<br>
--<br>
Lincoln Baxter, III<br>
<a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>
"Simpler is better."<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>"Simpler is better."</div>
</div>