<?xml version="1.0" encoding="UTF-8" ?>




<!--  RSS generated by JIRA 108 at Sun May 19 04:16:34 CEST 2013 -->
<rss version="0.92">





<channel>
    <title>openRDF.org Issue Tracker</title>
    <link>http://www.openrdf.org/issues</link>
    <description>This file is an XML representation of some issues</description>
    <language>en</language>

    
<item>

    







<title>[RIO-69] N3 and Turtle media types need updating</title>
<link>http://www.openrdf.org/issues/browse/RIO-69</link>

    
        <description>The MIME / media / content types for N3 and Turtle are currently defined as text/rdf+n3 and application/x-turtle respectively: &lt;a href=&quot;http://repo.aduna-software.org/svn/org.openrdf/sesame/trunk/core/rio/api/src/main/java/org/openrdf/rio/RDFFormat.java&quot;&gt;http://repo.aduna-software.org/svn/org.openrdf/sesame/trunk/core/rio/api/src/main/java/org/openrdf/rio/RDFFormat.java&lt;/a&gt; .&lt;br/&gt;
&lt;br/&gt;
They need to be updated to text/n3 and text/turtle. For Turtle see the latest specification at &lt;a href=&quot;http://www.w3.org/TeamSubmission/turtle/#sec-mediaReg&quot;&gt;http://www.w3.org/TeamSubmission/turtle/#sec-mediaReg&lt;/a&gt; . The N3 specification is a bit buggy with regard to that, it switches between text/rdf+n3 and text/n3: &lt;a href=&quot;http://www.w3.org/TeamSubmission/n3/&quot;&gt;http://www.w3.org/TeamSubmission/n3/&lt;/a&gt; . However see also &lt;a href=&quot;http://www.w3.org/blog/SW/2008/01/15/w3c_team_submission_on_n3_and_turtle&quot;&gt;http://www.w3.org/blog/SW/2008/01/15/w3c_team_submission_on_n3_and_turtle&lt;/a&gt; , &lt;a href=&quot;http://chatlogs.planetrdf.com/swig/2009-04-01.html#T14-00-16&quot;&gt;http://chatlogs.planetrdf.com/swig/2009-04-01.html#T14-00-16&lt;/a&gt; and some more discussion on &lt;a href=&quot;http://lists.w3.org/Archives/Public/semantic-web/2009May/0021.html&quot;&gt;http://lists.w3.org/Archives/Public/semantic-web/2009May/0021.html&lt;/a&gt; .&lt;br/&gt;
&lt;br/&gt;
Since RDFFormat accepts a collection of MIME types perhaps it would be even better to add the old ones as well so that the right parser can be selected for data served with the old types. For Turtle the type application/turtle could be added to such a collection as well, as it was the primary type mentioned on &lt;a href=&quot;http://www.dajobe.org/2004/01/turtle/2007-11-20/#sec-mime&quot;&gt;http://www.dajobe.org/2004/01/turtle/2007-11-20/#sec-mime&lt;/a&gt; .</description>
    
    
        <environment></environment>
    
        <key id="11310">RIO-69</key>
        <summary>N3 and Turtle media types need updating</summary>
        <type id="4">Improvement</type>
    
        <priority id="4">Minor</priority>
    
        <status id="1">Open</status>
        
        <resolution>Unresolved</resolution>
        
    
        
        <assignee username="arjohn">Arjohn Kampman</assignee>
        
    

    
        
        <reporter username="simonr">Simon Reinhardt</reporter>
        
    

        
        <created>Tue, 7 Jul 2009 19:00:29 +0200 (CEST)</created>
    <updated>Tue, 7 Jul 2009 19:00:29 +0200 (CEST)</updated>

    
        
        
    

    
        
        
    

    
        
        
            
            
                
                    <component>Rio API</component>
                
            
        
    

    
    
        <due></due>
    
    
        <votes>0</votes>
    
    

    
    
    

    




    
    
    

</item>
    
<item>

    







<title>[RIO-72] There is no way to specify &quot;preserveBNodeIDs&quot; property when doing RDF import</title>
<link>http://www.openrdf.org/issues/browse/RIO-72</link>

    
        <description>* There is now way to pass pre-created to RepositoryConnection.add(Reader|InputStream|File) method with this option enabled.&lt;br/&gt;
* Both RDFParserBase and RDFInserter have preserveBNodeIDs property. In the first class it is false by default, in the second is true by default. There should be a single place for this functionality.&lt;br/&gt;
&lt;br/&gt;
Nice to have feature:&lt;br/&gt;
- renumerateBNodeIDs property for RDFWriter, which should re-number nodes like &amp;quot;n1&amp;quot;, &amp;quot;n2&amp;quot;, &amp;quot;n3&amp;quot; ([see forum|&lt;a href=&quot;http://sourceforge.net/mailarchive/forum.php?thread_name=4B139FB4.5080809%40mail.ru&amp;forum_name=sesame-general&quot;&gt;http://sourceforge.net/mailarchive/forum.php?thread_name=4B139FB4.5080809%40mail.ru&amp;amp;forum_name=sesame-general&lt;/a&gt;])</description>
    
    
        <environment></environment>
    
        <key id="11490">RIO-72</key>
        <summary>There is no way to specify &quot;preserveBNodeIDs&quot; property when doing RDF import</summary>
        <type id="1">Bug</type>
    
        <priority id="4">Minor</priority>
    
        <status id="1">Open</status>
        
        <resolution>Unresolved</resolution>
        
    
        
        <assignee username="arjohn">Arjohn Kampman</assignee>
        
    

    
        
        <reporter username="dma_k">Dmitry Katsubo</reporter>
        
    

        
        <created>Tue, 1 Dec 2009 18:35:05 +0100 (CET)</created>
    <updated>Tue, 1 Dec 2009 18:35:05 +0100 (CET)</updated>

    
        
        
    

    
        
        
    

    
        
        
            
            
                
                    <component>Rio API</component>
                
            
        
    

    
    
        <due></due>
    
    
        <votes>0</votes>
    
    

    
    
    

    




    
    
    

</item>
    
<item>

    







<title>[RIO-76] RdfParserRegistry prints error to logs when it doesn&apos;t find a built-in parser factory</title>
<link>http://www.openrdf.org/issues/browse/RIO-76</link>

    
        <description>I have only imported the rio packages that I require using Maven, however, there are errors printed for the missing packages, ie, Trig and Trix. These should be warnings or informational at most, as the package still operates properly without the missing parser factories.&lt;br/&gt;
&lt;br/&gt;
See below for a stack trace.&lt;br/&gt;
&lt;br/&gt;
ERROR (org.openrdf.rio.RDFParserRegistry:58) Failed to instantiate service&lt;br/&gt;
sun.misc.ServiceConfigurationError: org.openrdf.rio.RDFParserFactory: Provider org.openrdf.rio.trig.TriGParserFactory not found&lt;br/&gt;
	at sun.misc.Service.fail(Service.java:129)&lt;br/&gt;
	at sun.misc.Service.access$000(Service.java:111)&lt;br/&gt;
	at sun.misc.Service$LazyIterator.next(Service.java:273)&lt;br/&gt;
	at info.aduna.lang.service.ServiceRegistry.&amp;lt;init&amp;gt;(ServiceRegistry.java:42)&lt;br/&gt;
	at info.aduna.lang.service.FileFormatServiceRegistry.&amp;lt;init&amp;gt;(FileFormatServiceRegistry.java:20)&lt;br/&gt;
	at org.openrdf.rio.RDFParserRegistry.&amp;lt;init&amp;gt;(RDFParserRegistry.java:33)&lt;br/&gt;
	at org.openrdf.rio.RDFParserRegistry.getInstance(RDFParserRegistry.java:26)&lt;br/&gt;
	at org.openrdf.rio.Rio.createParser(Rio.java:167)&lt;br/&gt;
	at org.openrdf.rio.Rio.createParser(Rio.java:188)&lt;br/&gt;
	at org.openrdf.repository.base.RepositoryConnectionBase.addInputStreamOrReader(RepositoryConnectionBase.java:373)&lt;br/&gt;
	at org.openrdf.repository.base.RepositoryConnectionBase.add(RepositoryConnectionBase.java:277)&lt;br/&gt;
&lt;br/&gt;
I would prefer not to have to filter these messages, as I would like to see Sesame/Rio errors in my logs if they are legitimate.</description>
    
    
        <environment>sesame-2.4.0</environment>
    
        <key id="12260">RIO-76</key>
        <summary>RdfParserRegistry prints error to logs when it doesn&apos;t find a built-in parser factory</summary>
        <type id="1">Bug</type>
    
        <priority id="4">Minor</priority>
    
        <status id="6">Closed</status>
        
        <resolution id="2">Won&apos;t Fix</resolution>
        
    
        
        <assignee username="arjohn">Arjohn Kampman</assignee>
        
    

    
        
        <reporter username="pansell">Peter Ansell</reporter>
        
    

        
        <created>Mon, 20 Jun 2011 08:31:58 +0200 (CEST)</created>
    <updated>Fri, 24 Jun 2011 13:22:19 +0200 (CEST)</updated>

    
        
        
    

    
        
        
    

    
        
        
            
            
                
                    <component>Rio API</component>
                
            
        
    

    
    
        <due></due>
    
    
        <votes>0</votes>
    
    

    
    
        <comments>
            
            <comment author="arjohn" created="Tue, 21 Jun 2011 11:28:33 +0200 (CEST)" level="">These errors are printed because your classpath contains a file that specifies the availability of this parser. Please make sure that the file(s) called /META-INF/services/org.openrdf.rio.RDFParserFactory only specify the parsers that are available.</comment>
            
            <comment author="pansell" created="Fri, 24 Jun 2011 01:24:41 +0200 (CEST)" level="">Thanks for that knowledge! &lt;br/&gt;
&lt;br/&gt;
I went and looked at my imported files and found the file in the common-1.2.jar file that is published by &lt;a href=&quot;https://github.com/joshsh/sesametools&quot;&gt;https://github.com/joshsh/sesametools&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I am using that package for its rdf-json parser and writer, and didn&apos;t realise that it was including other parser regitry entries that it doesn&apos;t provide. I have filed a bug with that project to remove the unnecessary files. &lt;br/&gt;
&lt;br/&gt;
It is a very neat way of publishing this information by the way!</comment>
            
        </comments>
    
    

    




    
    
    

</item>
    
<item>

    







<title>[RIO-78] RDFFormat.register(RDFFormat) is not thread-safe</title>
<link>http://www.openrdf.org/issues/browse/RIO-78</link>

    
        <description>This is obvious by inspection.&lt;br/&gt;
&lt;br/&gt;
The backing data structure is an array list. That list is not wrapped with a Collections.synchronizedList().&lt;br/&gt;
&lt;br/&gt;
	private static List&amp;lt;RDFFormat&amp;gt; RDF_FORMATS = new ArrayList&amp;lt;RDFFormat&amp;gt;(8);&lt;br/&gt;
&lt;br/&gt;
The register() method also does not use any synchronization.&lt;br/&gt;
&lt;br/&gt;
	public static void register(RDFFormat rdfFormat) {&lt;br/&gt;
		RDF_FORMATS.add(rdfFormat);&lt;br/&gt;
	}&lt;br/&gt;
&lt;br/&gt;
As a consequence, concurrent modification exceptions are possible with this API.</description>
    
    
        <environment></environment>
    
        <key id="13190">RIO-78</key>
        <summary>RDFFormat.register(RDFFormat) is not thread-safe</summary>
        <type id="1">Bug</type>
    
        <priority id="3">Major</priority>
    
        <status id="1">Open</status>
        
        <resolution>Unresolved</resolution>
        
    
        
        <assignee username="arjohn">Arjohn Kampman</assignee>
        
    

    
        
        <reporter username="thompsonbry">Bryan Thompson</reporter>
        
    

        
        <created>Mon, 27 Feb 2012 16:36:18 +0100 (CET)</created>
    <updated>Mon, 27 Feb 2012 16:36:18 +0100 (CET)</updated>

    
        
        
    

    
        
        
    

    
        
        
            
            
                
                    <component>Rio API</component>
                
            
        
    

    
    
        <due></due>
    
    
        <votes>0</votes>
    
    

    
    
    

    




    
    
    

</item>
    
</channel>
</rss>  

