cyberborean / rdfbeans

Java persistence with RDF
Other
11 stars 12 forks source link

URIs marshalled as Literals #6

Closed wherget closed 8 years ago

wherget commented 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).

The issue is probably just the order of the checks, where special URI handling should come before conversion to a literal.

wherget commented 8 years ago

Closing, seeing as a fix landed with #7.