Hi Mark,<br><br>I&#39;ll go and escape those characters (thought I got most of them).<br><br>Happy to contribute this to the integration documentation with a docbook version - there are a few trivial classes (such as the Contraint annotation, ConstraintValdiator etc) that are needed which could be included as an optional module? Or users can just recreate them from the document of course.<br>
<br>Cheers<br><br>Pat<br><br><div class="gmail_quote">2011/1/13 Mark Proctor <span dir="ltr">&lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  
    
  
  <div text="#000000" bgcolor="#ffffff"><div class="im">
    On 13/01/2011 01:49, Mark Proctor wrote:
    <blockquote type="cite">
      
      On 12/01/2011 20:20, Patrick van Kann wrote:
      <blockquote type="cite">Hi Mark,<br>
        <br>
        I&#39;m not sure if this the kind of example you mean, but here is a
        blog article I wrote describing how I integrated Drools, JSR 303
        and Spring to deliver rules-based bean validation for use in a
        Spring MVC web app, for example.<br>
        <br>
        <a href="http://nonrepeatable.blogspot.com/2010/11/rules-based-validation-using-drools.html" target="_blank">http://nonrepeatable.blogspot.com/2010/11/rules-based-validation-using-drools.html</a>
        <br>
        <br>
        Maybe this could be useful to some users.<br>
      </blockquote>
      That would probably be good for the integration documentation:<br>
      <a href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-integration/html_single/index.html" target="_blank">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-integration/html_single/index.html</a><br>

      <br>
      I&#39;ll reference in our blog for now, would be great if you could
      write this up in docbook for us,  so we can commit it as part of
      the main documentation build:<br>
      <a href="https://github.com/droolsjbpm/droolsjbpm/tree/master/drools-docs/drools-docs-integration" target="_blank">https://github.com/droolsjbpm/droolsjbpm/tree/master/drools-docs/drools-docs-integration</a><br>
    </blockquote></div>
    Was in the process of reposting this on our blog. However I notice
    that some of the code snippets are wrong, I looked at the source.
    You need to escape any &lt; and &gt; for things like xml, less than
    and generics.<br>
    <br>
    Otherwise you get things like:<br>
    <div><code>    </code><code>public</code> <code>Collaborators(Map&lt;string,
        object=</code><code>&quot;&quot;</code><code>&gt; collaborators) {<br><font color="#888888">
        <br>
        Mark<br>
      </font></code></div><div class="im">
    <br>
    <blockquote type="cite"> <br>
      Thanks<br>
      <br>
      Mark<br>
      <blockquote type="cite"> <br>
        Cheers,<br>
        <br>
        Pat<br>
        <br>
        <div class="gmail_quote">On Wed, Jan 12, 2011 at 7:06 PM, Mark
          Proctor <span dir="ltr">&lt;<a href="mailto:mproctor@codehaus.org" target="_blank">mproctor@codehaus.org</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> We often get complaints about not
            enough real world examples in Drools.<br>
            We have a large community now, so surely a few of you must
            be able to<br>
            write up examples based on your work? So please, please,
            please, please<br>
            take the time to help us here.<br>
            <br>
            Thanks<br>
            <br>
            Mark<br>
            <br>
            _______________________________________________<br>
            rules-users mailing list<br>
            <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
            <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
          </blockquote>
        </div>
        <br>
        <pre><fieldset></fieldset>
_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
      </blockquote>
      <br>
      <pre><fieldset></fieldset>
_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </div></div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>