You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Peter Ansell (JIRA)" <ji...@apache.org> on 2012/06/26 05:06:44 UTC

[jira] [Commented] (ANY23-1) Error on prefix conflict in sesame RDFWriter

    [ https://issues.apache.org/jira/browse/ANY23-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401127#comment-13401127 ] 

Peter Ansell commented on ANY23-1:
----------------------------------

I would say that this is not a valid bug unless someone has a concrete example. Internally the org.openrdf.model.URI interface is not able to attach itself to prefixes. Basically, once the URI object is created it is independent of the prefixes in the document that it was derived from. To persist the syntactic-sugar-prefixes, you need to manually copy them into the writer. The writer then writes the URI using its prefix map, which could be different to the one that was used to parse in the document which created the prefix, but will be consistent, and will not introduce errors in the RDF triples that you could source from the representation.
                
> Error on prefix conflict in sesame RDFWriter
> --------------------------------------------
>
>                 Key: ANY23-1
>                 URL: https://issues.apache.org/jira/browse/ANY23-1
>             Project: Apache Any23
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Lewis John McGibbney
>             Fix For: 0.8.0
>
>
> It seems there are no checks whether the RDFWriter receives different URIs associated to the same prefixes. This can introduce errors and must be further investigated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira