<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/sdsre/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/sdsre/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/sdsre/bugs/</id><updated>2011-05-24T14:08:04Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Documentation Needed</title><link href="https://sourceforge.net/p/sdsre/bugs/6/" rel="alternate"/><published>2011-05-24T14:08:04Z</published><updated>2011-05-24T14:08:04Z</updated><author><name>Melvin Petties</name><uri>https://sourceforge.net/u/pettmel/</uri></author><id>https://sourceforge.neta4dc34226d28bfcd730fd6f5cf909a84c88cebab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm not sure if this is a bug or that I'm just blind, but I can't seem to find an example xml document to base my rule off of.  I scoured the web and found this site (http://www.pcreview.co.uk/forums/sre-simple-rule-engine-free-open-source-rule-engine-written-net-t2234014.html#post14091583) that contained a decent walk-through, however the xml was not up-to-date, which caused the .Compile() command to fail.  I've been tweaking the xml document here and there, to get around the errors I'm receiving, but  a quick sample or updated schema would be great.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Thanks so much!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>.NET 2003 Support</title><link href="https://sourceforge.net/p/sdsre/bugs/5/" rel="alternate"/><published>2009-07-08T10:49:06Z</published><updated>2009-07-08T10:49:06Z</updated><author><name>Sachin Doshi</name><uri>https://sourceforge.net/u/sachinbdoshi/</uri></author><id>https://sourceforge.net24b236582ddea0a9ede41718db8bbddbcc5269a4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello I am using .NET 2003 and would like to know which version of SRE supports this version.&lt;/p&gt;
&lt;p&gt;thanks you.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ExpressionEvaluator treating doubles as strings</title><link href="https://sourceforge.net/p/sdsre/bugs/4/" rel="alternate"/><published>2006-09-06T21:23:27Z</published><updated>2006-09-06T21:23:27Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net4c4ec1b51885521e4c18cd13650af79bfea54f3b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm using code to test some strings and the evaluator &lt;br /&gt;
is treating my Facts as strings. but i have them &lt;br /&gt;
declared as typeof(double). the following &lt;/p&gt;
&lt;p&gt;F1+F2 is ouputing 100200 where it should be 300. I &lt;br /&gt;
think either you should check the valueType from the &lt;br /&gt;
symbol objects or do something like below... &lt;/p&gt;
&lt;p&gt;double o1, o2;&lt;/p&gt;
&lt;p&gt;object replacement;&lt;br /&gt;
try&lt;br /&gt;
{&lt;br /&gt;
//o1 = op1.value.Value;&lt;br /&gt;
//o2 = op2.value.Value;&lt;/p&gt;
&lt;p&gt;if (double.TryParse&lt;br /&gt;
(op1.value.Value.ToString(), out o1) &amp;amp;&amp;amp; double.TryParse&lt;br /&gt;
(op2.value.Value.ToString(), out o2))&lt;br /&gt;
{&lt;br /&gt;
replacement = o1 + o2;&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
replacement = &lt;br /&gt;
op1.value.Value.ToString() + op2.value.Value.ToString&lt;br /&gt;
();&lt;br /&gt;
}&lt;br /&gt;
/*if (o1 is string || o2 is string)&lt;br /&gt;
replacement = o1.ToString() + &lt;br /&gt;
o2.ToString();&lt;br /&gt;
else if (o1 is double &amp;amp;&amp;amp; o2 is double)&lt;br /&gt;
replacement = (double)o1 + (double)&lt;br /&gt;
o2;&lt;br /&gt;
else&lt;br /&gt;
throw new Exception("only to be &lt;br /&gt;
caught");*/&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;basically im using the double.TryParse to convert to &lt;br /&gt;
strings to see if the symbol values are doubles and if &lt;br /&gt;
they are then adding else concating. I assume you &lt;br /&gt;
might want to do something like this for all the &lt;br /&gt;
operations.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>'output' attribute on facts should have been depreciated</title><link href="https://sourceforge.net/p/sdsre/bugs/3/" rel="alternate"/><published>2005-07-14T22:51:40Z</published><updated>2005-07-14T22:51:40Z</updated><author><name>sierra_digital_solutions_corp</name><uri>https://sourceforge.net/u/userid-1271913/</uri></author><id>https://sourceforge.net2fdab707cdbebd1269200e9ee67a9d00910e6ed9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;'output' attribute on facts should have been depreciated&lt;/p&gt;
&lt;p&gt;This attribute is not needed.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>expression attributes on condition element</title><link href="https://sourceforge.net/p/sdsre/bugs/2/" rel="alternate"/><published>2005-06-20T19:37:07Z</published><updated>2005-06-20T19:37:07Z</updated><author><name>sierra_digital_solutions_corp</name><uri>https://sourceforge.net/u/userid-1271913/</uri></author><id>https://sourceforge.netc42a4a9a5f4279a61dfd6d3f5370ce2e6bc0fb1d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Attribute is dififcult to read when contains greater than or &lt;br /&gt;
less than attributes. Should have the expression as element &lt;br /&gt;
text inside cdata?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Incorrect evaluation</title><link href="https://sourceforge.net/p/sdsre/bugs/1/" rel="alternate"/><published>2005-06-20T19:35:01Z</published><updated>2005-06-20T19:35:01Z</updated><author><name>sierra_digital_solutions_corp</name><uri>https://sourceforge.net/u/userid-1271913/</uri></author><id>https://sourceforge.net2d8bfdb74372fb62a7b51251382d8054bcf55ada</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;in 1.04 this does not evaluate correctly. problem evaluating &lt;br /&gt;
R1=true&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;br /&gt;
&amp;lt;RuleEngine&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Rules&amp;gt;&lt;br /&gt;
&amp;lt;Rule id="R1"&amp;gt;&lt;br /&gt;
&amp;lt;Condition &lt;br /&gt;
expression="true=true" /&amp;gt;&lt;br /&gt;
&amp;lt;/Rule&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Rule id="R2" desc="credit score &lt;br /&gt;
threshold"&amp;gt;&lt;br /&gt;
&amp;lt;Condition &lt;br /&gt;
expression="R1=true" /&amp;gt;&lt;br /&gt;
&amp;lt;/Rule&amp;gt;&lt;br /&gt;
&amp;lt;/Rules&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Facts&amp;gt;&lt;br /&gt;
&amp;lt;Fact id="true" output="false" &lt;br /&gt;
xpath="boolean('true')"&amp;gt;&amp;lt;/Fact&amp;gt;&lt;br /&gt;
&amp;lt;/Facts&amp;gt;&lt;br /&gt;
&amp;lt;/RuleEngine&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>