History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-959
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Arjohn Kampman
Reporter: Robert Lehmann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

RDF/XML parser fails on relative URIs in rdf:datatype for empty nodes

Created: 13/Mar/12 02:55 PM   Updated: 13/Mar/12 03:22 PM
Component/s: Rio
Affects Version/s: 2.6.1
Fix Version/s: None

File Attachments: 1. Java Source File SES959.java (0.9 kb)

Issue Links:
Related
 
This issue is related to:
SES-960 RDF Parsers Incorrectly Resolves Rela... Minor Open


 Description   
Similar to SES-679, Rio fails to parse relative URIs for datatypes when the nodes are empty:

{code:xml}
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://example.com/#">
    <Foo>
        <bar rdf:datatype="hello"></bar>
    </Foo>
</rdf:RDF>
{code}

{noformat}
org.openrdf.rio.RDFParseException: Not a valid (absolute) URI: hello [line 1, column 132]
{noformat}

 All   Comments   Change History      Sort Order:
Comment by Robert Lehmann [13/Mar/12 02:57 PM]
attached minimal reproducible test case