You are feeding it the pathname, not the text from the file.<br>-W<br><br><div class="gmail_quote">On 16 March 2011 11:52, FrankVhh <span dir="ltr">&lt;<a href="mailto:frank.vanhoenshoven@agserv.eu">frank.vanhoenshoven@agserv.eu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Wolfgang,<br>
<br>
I was about to report the fact that using drools-verifier 5.2.0 M1 didn&#39;t<br>
help, when I saw your comment about checking the error.<br>
<br>
Apparently there is something wrong:<br>
### Verifier errors ###<br>
[ERR 101] Line 1:1 no viable alternative at input &#39;:&#39;<br>
Verifier could not form a PackageDescr from the resources that it was trying<br>
to verify.<br>
<br>
I do not understand this completely. When I execute the ruleset, it runs as<br>
planned, but this error message seems to imply there is something wrong with<br>
the drl.<br>
<br>
Is it a problem that I feed the verifier with<br>
String ruleText  =<br>
&quot;C:\\Users\\Frank\\Documents\\DroolsWorkSpaces\\EmpiricalExperiments\\Financial<br>
Rules\\src\\main\\rules\\clearancerules.drl&quot;;<br>
                verifier.addResourcesToVerify( ResourceFactory.newReaderResource(<br>
<br>
                          new StringReader( ruleText ) ), ResourceType.DRL );<br>
<br>
Do the inputs need to be in another format or is there definitely something<br>
wrong in the rules themselves?<br>
<br>
Regards,<br>
Frank<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Drools-verifier-tp2681002p2687184.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Drools-verifier-tp2681002p2687184.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br>