<html><head><base href="x-msg://4/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>It indeed seems appropriate to change those to be inclusive.</div><div><br></div><div>Fixed in&nbsp;0d5fcf65a0fef932f32874da6f4bdddb69279c53</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><span class="Apple-style-span" style="font-size: 12px; "><div>Mathieu Rene</div><div>Avant-Garde Solutions Inc</div><div>Office: + 1 (514) 664-1044 x100</div><div>Cell: +1 (514) 664-1044 x200</div><div><a href="mailto:mrene@avgs.ca">mrene@avgs.ca</a></div><div><br></div><div><br></div></span></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 2011-01-26, at 3:24 PM, Gilles Depatie wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-CA" link="blue" vlink="purple"><div class="Section1" style="page: Section1; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; ">Hi<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; "><o:p>&nbsp;</o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; ">I’m running into what appears to be a questionable range interpretation issue in switch_xml_config_parse_event function.<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; "><o:p>&nbsp;</o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; ">When enforce_min and enforce_max are TRUE should the value not be inclusive of MIN and MAX?<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; "><o:p>&nbsp;</o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; ">Say a value range of min = ‘0’ and max = ‘1000’, should values of 0 and 1000 not be acceptable?<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; "><o:p>&nbsp;</o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; ">The current statement:<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ((int_options-&gt;enforce_min &amp;&amp; !(intval &gt; int_options-&gt;min)) || (int_options-&gt;enforce_max &amp;&amp; !(intval &lt; int_options-&gt;max)))<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; ">excludes those values presently<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; "><o:p>&nbsp;</o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; ">The error message seems to imply that the range is inclusive of the min and max values<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; "><o:p>&nbsp;</o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="2" face="Arial"><span style="font-size: 10pt; ">I’ve had a look at the latest git version or the file and in this respect nothing has changed from the version I am currently using<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><b><font size="1" color="blue" face="Arial"><span lang="FR-CA" style="font-size: 8pt; color: blue; font-weight: bold; ">GILLES</span></font></b><span lang="FR-CA"><o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><b><font size="1" face="Arial"><span lang="EN-US" style="font-size: 8pt; font-weight: bold; ">Gilles Depatie,<span class="Apple-converted-space">&nbsp;</span></span></font></b><font size="1"><span lang="EN-US" style="font-size: 8pt; ">Senior S/W Designer, MapleWorks Technology<br><b><span style="font-weight: bold; ">O</span></b>: 819-776-6066 x353&nbsp; |&nbsp;<span class="Apple-converted-space">&nbsp;</span><u><font color="blue"><span style="color: blue; "><a href="mailto:gilles.depatie@mapleworks.com" style="color: blue; text-decoration: underline; ">gilles.depatie@mapleworks.com</a></span></font></u></span></font><b><font size="1"><span lang="EN-US" style="font-size: 8pt; font-weight: bold; "><o:p></o:p></span></font></b></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: Arial; "><font size="3" face="Arial"><o:p>&nbsp;</o:p></font></div></div>_______________________________________________<br>FreeSWITCH-dev mailing list<br><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">FreeSWITCH-dev@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br><a href="http://www.freeswitch.org" style="color: blue; text-decoration: underline; ">http://www.freeswitch.org</a><br></div></span></blockquote></div><br></div></body></html>