egonw / rrdf

R package for handling RDF data.
Other
29 stars 11 forks source link

Errors not always returned for BadURIException #44

Open dockstreet opened 7 years ago

dockstreet commented 7 years ago

Hi , I eventually got an error, which makes sense - but I didn't get it until a subsequent call? Not sure what causes the errors to bubble up; I was able to write N-TRIPLES and thought it was the format vs what was not getting returned

Error in .jcall("com/github/egonw/rrdf/RJenaHelper", "V", "saveRdf", store, : com.hp.hpl.jena.shared.BadURIException: Only well-formed absolute URIrefs can be included in RDF/XML output: http://semanticweb.com/xxx/example#abc1234#6#8 Code: 0/ILLEGAL_CHARACTER in FRAGMENT: The character violates the grammar rules for URIs/IRIs.

closing , but providing for awareness

egonw commented 7 years ago

I'll reopen, because I think the library should be able to give a bit more guidance...