Closed wherget closed 8 years ago
I just stumbled upon this, and I think it may not be the right behaviour...
java.net.URIs are (as of the writing of this Issue) marshalled as "http://example.com"^^xsd:anyURI, i.e. as Literals (using the DatatypeMapper).
java.net.URI
"http://example.com"^^xsd:anyURI
DatatypeMapper
The issue is probably just the order of the checks, where special URI handling should come before conversion to a literal.
Closing, seeing as a fix landed with #7.
I just stumbled upon this, and I think it may not be the right behaviour...
java.net.URI
s are (as of the writing of this Issue) marshalled as"http://example.com"^^xsd:anyURI
, i.e. as Literals (using theDatatypeMapper
).The issue is probably just the order of the checks, where special URI handling should come before conversion to a literal.