From: <tr...@do...> - 2012-09-24 17:43:34
|
<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>RDF/XML parser may allow undeclared QNames to be resolved depending on how the parser is invoked</td> </tr> <tr> <td><b>Project:</b></td> <td>Core Library (dotNetRDF.dll)</td> </tr> <tr> <td><b>Created By:</b></td> <td>Rob Vesse</td> </tr> <tr> <td><b>Date:</b></td> <td>2012-09-24 06:42 PM</td> </tr> <tr> <td><b>Comment:</b></td> </tr> <tr> <td colspan="2"><p> I believe the key part of the RDF/XML specification that applies is the following text:</p> <p> <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: medium; ">Relative URI references are resolved into </span><a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference" style="color: rgb(102, 0, 153); font-family: sans-serif; font-size: medium; ">RDF URI references</a><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: medium; "> according to the algorithm specified in</span><a href="http://www.w3.org/TR/2001/REC-xmlbase-20010627/" style="color: rgb(102, 0, 153); font-family: sans-serif; font-size: medium; ">XML Base</a><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: medium; "> </span><a href="http://www.w3.org/TR/REC-rdf-syntax/#ref-xml-base" style="color: rgb(102, 0, 153); font-family: sans-serif; font-size: medium; ">[XML-BASE]</a><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: medium; "> (and RFC 2396)</span></p> <p> <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: medium; ">RFC 2396 (</span>http://www.ietf.org/rfc/rfc2396.txt) <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: medium; ">is a document which discusses various properties of URIs, the section of interest is 5.1 which specifies how the Base URI is determined and allows the Base URI to be application determined</span></p> <p> <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: medium; ">This would imply that our behaviour is acceptable since we are using an application defined Base URI when invoked one way but not another. The fix may actually be to be consistent in our behaviour in this regard when invoking parsers directly with a filename and a graph.</span></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=280" target="_blank">http://www.dotnetrdf.org/tracker/Issues/IssueDetail.aspx?id=280</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> |