From: <tr...@do...> - 2013-12-06 10:15:57
|
<p>A new comment has been added to the following issue.</p> <table border="0"> <tr> <td width="90px" valign="top"><b>Title:</b></td> <td>Store Manager unable to return results when non-printable characters are part of result</td> </tr> <tr> <td><b>Project:</b></td> <td>Toolkit</td> </tr> <tr> <td><b>Created By:</b></td> <td>Rob Vesse</td> </tr> <tr> <td><b>Date:</b></td> <td>2013-12-06 10:12 AM</td> </tr> <tr> <td><b>Comment:</b></td> </tr> <tr> <td colspan="2"><p> Walter</p> <p> The download you reference is in a non-RDF based XML format so I presume you either transform this to RDF somehow or Entagen Extra does this for you? Since I don't have access to the actual data I can't attempt to reproduce myself.</p> <p> </p> <p> However looking at the error message again I believe this is not a bug in dotNetRDF rather an error in the data coming from Entagen Extra, this may either be down to bad data at ingest time or Entagen Extra failing to generate valid XML correctly. From <a href="http://www.w3.org/TR/xml/#charsets">Section 2.2 of the XML Specification</a> only the following characters are considered valid in XML:</p> <table class="scrap" style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: medium;" summary="Scrap"> <tbody> <tr valign="baseline"> <td> <code>Char</code></td> <td> ::= </td> <td> <code>#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]</code><br /> </td> </tr> </tbody> </table> <p> Which makes the character the error references an invalid character since it is not in this range.</p> <p> Assuming that Entagen Extra is producing SPARQL XML Results then dotNetRDF is prefectly correct in rejecting the data since the XML itself is invalid, likely the error is bubbling up from System.Xml. You can confirm if this is the case by viewing the error trace associated with the failed task, right click on the task and select <strong>View Error Trace</strong> or click the equivalent button from the Task Information dialogue for the failed task (which is where you got the query and algebra you pasted into your original report).</p> <p> If this is not the case then I would need to see that error trace (and preferably your actual data as well) to be able to proceed with any further investigation.</p> <p> </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=385" target="_blank">http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=385</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> |