From: <tr...@do...> - 2012-10-11 18:55:02
|
<p>The following issue has been added to a project that you are monitoring.</p> <table border="0"> <tr> <td width="90px" valign="top"><b>Title:</b></td> <td>Inconsistent parameter requirements for SparqlVariables</td> </tr> <tr> <td><b>Project:</b></td> <td>Core Library (dotNetRDF.dll)</td> </tr> <tr> <td><b>Created By:</b></td> <td>http://tpluscode.myopenid.com/</td> </tr> <tr> <td><b>Milestone:</b></td> <td>none</td> </tr> <tr> <td><b>Category:</b></td> <td>none</td> </tr> <tr> <td><b>Priority:</b></td> <td>Low</td> </tr> <tr> <td><b>Type:</b></td> <td>Refactor</td> </tr> <tr> <td><b>Description:</b></td> </tr> <tr> <td colspan="2"><p> I think the API for creating <strong>SparqlVariables</strong> and <strong>VariablePatterns</strong> is inconsistent.</p> <p> Calling <strong>new SparqlVariable(string)</strong> requires that the name has the leading question mark removed. However the <strong>new VariablePattern(string) </strong>requires the variable to have the question mark included.</p> <p> I think this is counterintuitive. Is there a reason for such design?</p> <p> I would suggest unifying the API</p></td> </tr> </table> <p> More information on this issue can be found at <a href="http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=285" target="_blank">http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=285</a></p> <p style="text-align:center;font-size:8pt;padding:5px;"> If you no longer wish to receive notifications, please visit <a href="http://www.dotnetrdf.org/tracker/Account/UserProfile.aspx" target="_blank">your profile</a> and change your notifications options. </p> |