<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.web.rdf.redland.devel">
    <title>gmane.comp.web.rdf.redland.devel</title>
    <link>http://blog.gmane.org/gmane.comp.web.rdf.redland.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/781"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/780"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/776"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/775"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/766"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/765"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/764"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/763"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/762"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/761"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/760"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/759"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/758"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/757"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/756"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/755"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/752"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/751"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/748"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/746"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/781">
    <title>Bug in raptor_vsnprintf()</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/781</link>
    <description>&lt;pre&gt;I've found a bug in raptor_vsnprintf2() (raptor2).  Where should I report it?  For anyone who's curious, here's the problem:-


int
raptor_vsnprintf2(char *buffer, size_t size,
                  const char *format, va_list arguments)
{
  size_t len;

  RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(format, char*, 0);

#ifdef CHECK_VSNPRINTF_RUNTIME

  if(vsnprintf_is_c99())
    VSNPRINTF_C99_BLOCK(len, buffer, size, format, arguments) ;
  else
    VSNPRINTF_NOT_C99_BLOCK(len, buffer, size, format, arguments) ;

#else

#ifdef HAVE_C99_VSNPRINTF
  VSNPRINTF_C99_BLOCK(len, buffer, size, format, arguments) ;
#else
  VSNPRINTF_NOT_C99_BLOCK(len, buffer, size, format, arguments) ;
#endif

#endif
  
  return RAPTOR_BAD_CAST(int, len);
}

Note that 'len' is uninitialised when it gets passed to either of the macros (VSNPRINTF_NOT_C99_BLOCK, in my case).  In abbreviated form, the macro translates to this code:-

#define VSNPRINTF_NOT_C99_BLOCK(len, buffer, size, format, arguments)   \
  do {                                                                  \
    if(!buffer || !size) {                                              \
      /* This vsnprintf doesn't return number of bytes required */      \
      size = 2 + strlen(format);                                        \
      len = -1;                                                         \
      /* Do some other stuff (includes setting */                       \
      /* the correct value for 'len')          */                       \
    }                                                                   \
                                                                        \
    if(buffer)                                                          \
      vsnprintf(buffer, len, format, arguments);                        \
  } while(0)

The variable 'len' gets passed to vsnprintf() - but if 'buffer' and 'size' both started off with nonzero values, 'len' will contain a garbage value.

Hope that makes sense.

John_______________________________________________
redland-dev mailing list
redland-dev-cunTk1MwBs+qEqLfThIrmQ&amp;lt; at &amp;gt;public.gmane.org
http://lists.librdf.org/mailman/listinfo/redland-dev&lt;/pre&gt;</description>
    <dc:creator>John Emmas</dc:creator>
    <dc:date>2012-05-22T11:47:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/780">
    <title>[Rasqal RDF Query Library 0000506]: configure.ac hasbash -specific (non-POSIX) == syntax</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/780</link>
    <description>&lt;pre&gt;
The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=506 
====================================================================== 
Reported By:                ssuominen
Assigned To:                
====================================================================== 
Project:                    Rasqal RDF Query Library
Issue ID:                   506
Category:                   portability
Reproducibility:            always
Severity:                   trivial
Priority:                   high
Status:                     new
Query Language:              
====================================================================== 
Date Submitted:             2012-05-19 20:53
Last Modified:              2012-05-19 20:53
====================================================================== 
Summary:                    configure.ac has bash -specific (non-POSIX) ==
syntax
Description: 
Line 1124 of configure.ac has this:

if test "$random_approach" == none; then

But it should have this:

if test "$random_approach" = none; then

As in, change the == to =

This was reported downstream here,

http://bugs.gentoo.org/416659

This will cause problems for example, if /bin/sh is dash
Or BSD systems
Or any Unix system with /bin/sh not bash



Steps to Reproduce: 
.

Additional Information: 
.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-19 20:53 ssuominen      New Issue                                    
======================================================================
&lt;/pre&gt;</description>
    <dc:creator>Mantis Bug Tracker</dc:creator>
    <dc:date>2012-05-19T20:53:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/776">
    <title>[Raptor RDF Syntax Library 0000505]: Parsing certainescaped unicode strings in Turtle cases an error</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/776</link>
    <description>&lt;pre&gt;
The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=505 
====================================================================== 
Reported By:                swh
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   505
Category:                   api
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Syntax Name:                Turtle 
====================================================================== 
Date Submitted:             2012-05-14 12:57
Last Modified:              2012-05-14 12:57
====================================================================== 
Summary:                    Parsing certain escaped unicode strings in Turtle
cases an error
Description: 
Trying to parse the following Turtle document causes an error:

   &amp;lt; at &amp;gt;prefix rdfs: &amp;lt;http://www.w3.org/2000/01/rdf-schema#&amp;gt; .
   
   &amp;lt;x&amp;gt; rdfs:label "\ud801\udc69" .

Both of the unicode codepoints are "unusual", they're surrogates, but should be
legal in Turtle.

The error is:

$ rapper -i turtle /tmp/foo.ttl 
rapper: Parsing URI file:///tmp/foo.ttl with parser turtle
rapper: Serializing with serializer ntriples
rapper: Error - URI file:///tmp/foo.ttl:3 - turtle_copy_string_token failed
rapper: Error - URI file:///tmp/foo.ttl:3 - syntax error
rapper: Parsing returned 0 triples

Steps to Reproduce: 
rapper -i turtle /tmp/foo.ttl

Additional Information: 
It fails with 2.0.4 as well, not tried other versions.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-14 12:57 swh            New Issue                                    
======================================================================
&lt;/pre&gt;</description>
    <dc:creator>Mantis Bug Tracker</dc:creator>
    <dc:date>2012-05-14T12:57:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/775">
    <title>ANNOUNCEMENT: Rasqal RDF Query Library 0.9.29</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/775</link>
    <description>&lt;pre&gt;-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

   Rasqal RDF Query Library 0.9.29
      http://librdf.org/rasqal/

Rasqal is a free software / Open Source C library that handles Resource
Description Framework (RDF) query language syntaxes, query construction
and execution of queries returning results as bindings, boolean, RDF
graphs/triples or syntaxes. The supported query languages are:
  SPARQL 1.0[3], RDQL (will be removed in 0.9.30),
  SPARQL Query 1.1[4], SPARQL Update 1.1[5] (no executing) and
  Experimental SPARQL extensions (LAQRS).
Rasqal can write binding query results in the following formats:
  SPARQL XML, SPARQL JSON, CSV, TSV, HTML, ASCII tables, RDF/XML and
  Turtle / N3
and read them in:
  SPARQL XML, RDF/XML and Turtle / N3.

Rasqal was designed to work closely with the Redland librdf[1] RDF
library and the Raptor[2] RDF Syntax Library but is entirely separate
from both.

This is a beta quality library - the code is mature, the API is
mostly stable but changing slowly.  Rasqal supports all of SPARQL 1.0
query and most of SPARQL 1.1 query.  It is a portable library and has
been tested on multiple POSIX systems and architectures.  Rasqal has
no known memory leaks.

The main changes in this version since the last release 2011-11-17 are:
 * Supports all of SPARQL 1.0 by passing 100% of the approved tests
 * Added support for XSD date
 * Made XSD dateTime and XSD date equality and comparison work
 * Make limit and offset check work properly in a subquery
 * Correctly handle errors during aggregation expressions evaluation
 * Fix blank node generation when made in a CONSTRUCT to match SPARQL
 * Added SPARQL 1.1 draft UUID() and STRUUID() support
 * Requires Raptor 2.0.7+
 * RDQL support will be removed in the next release (0.9.30)
 * Made other fixes and improvements including fixing reported issues:
   0000493, 0000494 and 0000504

For full details see the Rasqal 0.9.29 release notes at
 http://librdf.org/rasqal/RELEASE.html#rel0_9_29

  rasqal-0.9.29.tar.gz
  MD5    49e4b75a0c67465edf55dd20606715fa
  SHA256 8b218dc51b77b99f33103a9251218a4439748f73ee30fa8ee549ab6d150e7c53

The Rasqal API reference manual section on API changes at
http://librdf.org/rasqal/docs/api/raptor-changes.html provides
detailed function, enum, macro and type changes.

Rasqal 0.9.29 requires Raptor 2.0.7[2] or newer to provide RDF
syntax, web, XML and URI support.  Optional requirements are a POSIX
regular expression library such as PCRE or one built into the C
library to handle regex matching / replacing; a multi-precision
decimal library such as GNU MP or MPFR for handling XSD decimals;
a UUID library for generating unique IDs.

Binary deb packages for Debian unstable will be made available
later via the standard Debian archive.

The http://librdf.org/ site lets you browse and check out the latest
version of the sources in GIT and try out Rasqal (as part of Redland)
in a web demonstration at http://librdf.org/query and as part of
Triplr http://triplr.org/

For more information on Redland, Raptor or Rasqal please join
the redland-dev list by visiting http://librdf.org/lists/
or visit IRC channel #redland on irc.freenode.net

Issues should be reported to http://bugs.librdf.org/

Dave

[1] Redland librdf RDF API library
http://librdf.org/

[2] Raptor RDF Syntax Library
http://librdf.org/raptor/

[3] SPARQL Query W3C Recommendation 2008-01-15
http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/

[3] SPARQL 1.1 Query W3C Working Draft of 2012-01-05
http://www.w3.org/TR/2012/WD-sparql11-query-20120105/

[4] SPARQL 1.1 Update W3C Working Draft of 2012-01-05
http://www.w3.org/TR/2012/WD-sparql11-update-20120105/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)

iD8DBQFPsIHNQ+ySUE9xlVoRAtRcAJ4rSc4hhODNdNq2LV/1un1d4KEY5wCdG0ar
5pjQUccXNSAOP6++GHRRr2w=
=qg/H
-----END PGP SIGNATURE-----
&lt;/pre&gt;</description>
    <dc:creator>Dave Beckett</dc:creator>
    <dc:date>2012-05-14T03:53:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/766">
    <title>storage in mysql on kubuntu 12.04</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/766</link>
    <description>&lt;pre&gt;_______________________________________________
redland-dev mailing list
redland-dev-cunTk1MwBs+qEqLfThIrmQ&amp;lt; at &amp;gt;public.gmane.org
http://lists.librdf.org/mailman/listinfo/redland-dev&lt;/pre&gt;</description>
    <dc:creator>bakowski-S0/GAf8tV78&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-07T10:30:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/765">
    <title>First use of raptor2 (Windows)</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/765</link>
    <description>&lt;pre&gt;Hello,

I've just installed the raptor2 source code (2.0.7) which I'll be building for Windows.  Fortunately the tarball seems to include some projects for building with Visual C++ 8.  Unfortunately, they seem to be quite out of date.  In fact AFAICT they're the same projects that originally came with raptor1.  Some of the files from raptor1 are no longer supplied with raptor2 (e.g. n3_lexer.c and n3_parser.c) whilst (presumably) some new files might have been added.

I appreciate that the VC++ projects have been contributed by a third party but is there anyone who can help me in getting some up-to-date VC++ projects?

Also, the file "raptor.h" simply seems to #include "raptor2.h" - but no such file exists in the tarball.  Do I need to create it using some pre-build step or something?

John
&lt;/pre&gt;</description>
    <dc:creator>John Emmas</dc:creator>
    <dc:date>2012-05-07T07:22:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/764">
    <title>fix and proposed patch for rdfproc --results</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/764</link>
    <description>&lt;pre&gt;I found that 'rdfproc --results' always fails, no matter what result type
is given:

It fails with these packages:
 http://download.librdf.org/source/raptor2-2.0.7.tar.gz
 http://download.librdf.org/source/rasqal-0.9.28.tar.gz
 http://download.librdf.org/source/redland-1.0.15.tar.gz
 http://download.librdf.org/source/redland-bindings-1.0.14.1.tar.gz

The same bug appears in the earlier versions currently in the Ubuntu
Oneiric repository.

Here is how it fails:

    $ rdfproc -s postgresql -t
"host='localhost',database='red',user='red',password='*'" test query
sparql - 'select ?s,?p,?o where { ?s ?p ?o}'  --results rdfxml
    rdfproc: invalid argument `rdfxml' for `-r / --results'
    Try 'rdfproc -r / --results help' for a list of valid query result
formats
    Try `rdfproc -h / --help' for more information.


If you ask for the list it gives an OK list:

    $ rdfproc -s postgresql --results help
    rdfproc: Valid query result formats are:
      xml                   SPARQL XML Query Results
      json                  SPARQL JSON Query Results
      table                 Table
      csv                   Comma Separated Values (CSV)
      tsv                   Tab Separated Values (TSV)
      html                  HTML Table
      turtle                Turtle Query Results
      rdfxml                RDF/XML Query Results


I believe the problem is in redland-1.0.15/src/rdf_query_results.c, where
it specifies READER rather than WRITER flags for format:

    $ diff redland-1.0.15/src/rdf_query_results.c
redland-1.0.15.new/src/rdf_query_results.c
    960c960
    &amp;lt;   int flags = RASQAL_QUERY_RESULTS_FORMAT_FLAG_READER;
    ---
    &amp;gt;   int flags = RASQAL_QUERY_RESULTS_FORMAT_FLAG_WRITER;



With this patch I am able to get rdfproc to accept the --results argument
and produce results for
  json, table, csv, tsv, and html.
It still won't produce results in xml, turtle, or rdfxml, but perhaps
those serializers are unimplemented.

Leigh.
&lt;/pre&gt;</description>
    <dc:creator>Leigh L. Klotz, Jr.</dc:creator>
    <dc:date>2012-04-25T21:36:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/763">
    <title>[Rasqal RDF Query Library 0000504]:rasqal_regex_replace() is not public</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/763</link>
    <description>&lt;pre&gt;
The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=504 
====================================================================== 
Reported By:                swh
Assigned To:                
====================================================================== 
Project:                    Rasqal RDF Query Library
Issue ID:                   504
Category:                   api
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     new
Query Language:             SPARQL 1.1 
====================================================================== 
Date Submitted:             2012-04-25 21:11
Last Modified:              2012-04-25 21:11
====================================================================== 
Summary:                    rasqal_regex_replace() is not public
Description: 
It would be great if rasqal_regex_replace() appeared in the public header, so it
could be used elsewhere.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-25 21:11 swh            New Issue                                    
======================================================================
&lt;/pre&gt;</description>
    <dc:creator>Mantis Bug Tracker</dc:creator>
    <dc:date>2012-04-25T21:11:43</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/762">
    <title>Compile Raptor for iOS</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/762</link>
    <description>&lt;pre&gt;Hello,
Is there a way to compile raptor so that I can include it in iOS applications?
I am using Xcode and have raptor installed on my Mac, it works in OS X projects.
Cheers,
Jens

Sent from my iPhone
&lt;/pre&gt;</description>
    <dc:creator>Jens Ortmann</dc:creator>
    <dc:date>2012-04-25T09:01:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/761">
    <title>problem with transactions with mysql storage</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/761</link>
    <description>&lt;pre&gt;Hello,

I am having problem when using transactions with a mysql storage.
Everything is ok when I don't use transactions, but when I do,
librdf_storage_mysql_find_statements_with_options seems not to find some
statements previously inserted in the transaction.

I don't have a small test example ready, but can someone tell me where I
should have a look at (in the librdf code) to find a possible reason for
this ?

Regards,

Maxence
&lt;/pre&gt;</description>
    <dc:creator>Maxence Guesdon</dc:creator>
    <dc:date>2012-04-03T19:48:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/760">
    <title>[Raptor RDF Syntax Library 0000503]: rapper does notproperly parse ntriples files with utf-8 strings</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/760</link>
    <description>&lt;pre&gt;
The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=503 
====================================================================== 
Reported By:                j_a_w_bone
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   503
Category:                   utilities
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Syntax Name:                 
====================================================================== 
Date Submitted:             2012-04-03 10:31
Last Modified:              2012-04-03 10:31
====================================================================== 
Summary:                    rapper does not properly parse ntriples files with
utf-8 strings
Description: 
Trying to convert an ntriples file containing utf-8 strings into rdfxml,
rapper outputs errors about non-printable characters like:

lt-rapper: Error - URI file:/home/kiefer/Downloads/test.nt:426 column 104 

Besides, the output xml is missing characters.

Steps to Reproduce: 
rapper -i ntriples -o rdfxml test.nt &amp;gt; test.xml

Additional Information: 
The following patch for ntriples_parse.c fixes the problem:

669c669
&amp;lt;                                 '"', RAPTOR_TERM_CLASS_STRING, 0)) {
---

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-03 10:31 j_a_w_bone     New Issue                                    
2012-04-03 10:31 j_a_w_bone     File Added: test.nt                          
======================================================================
&lt;/pre&gt;</description>
    <dc:creator>Mantis Bug Tracker</dc:creator>
    <dc:date>2012-04-03T10:31:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/759">
    <title>[Raptor RDF Syntax Library 0000502]:librdf_new_node_from_node (raptor_term_copy) does not make adeep copy</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/759</link>
    <description>&lt;pre&gt;
The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=502 
====================================================================== 
Reported By:                zoggy
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   502
Category:                   api
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Syntax Name:                 
====================================================================== 
Date Submitted:             2012-04-02 13:27
Last Modified:              2012-04-02 13:27
====================================================================== 
Summary:                    librdf_new_node_from_node (raptor_term_copy) does
not make a deep copy
Description: 
raptor_term_copy (called by librdf_new_node_from_node) does not make a deep
copy, for example it does not copy uri.

So when the node is freed, it results in original node having a null URI.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-02 13:27 zoggy          New Issue                                    
======================================================================
&lt;/pre&gt;</description>
    <dc:creator>Mantis Bug Tracker</dc:creator>
    <dc:date>2012-04-02T13:27:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/758">
    <title>Posing queries to Virtuoso</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/758</link>
    <description>&lt;pre&gt;Hi!
I'm using librdf with Virtuoso. It seems that I have successfully built
everything but I would like to pose queries directly to Virtuoso and this
feature is not working.

According to
http://www.openlinksw.com/dataspace/dav/wiki/Main/VirtRDFDriverRedland in
order to bypass Rasqal 'vsparql' has to be used as the query language.

If I do so, I get no results at all.

Is anybody using this feature?

thanks in advance
Lorena

ps: I´m including a small working example based on Redland test.php

&amp;lt;?php

$world=librdf_php_get_world();

print "&amp;lt;p&amp;gt;Redland world opened\n&amp;lt;/p&amp;gt;";

$options = "dsn='Local Virtuoso',user='dba',password='dba'";
$storage_name = "virtuoso";
$name = "http://example.org/salesInstancesSmall#";


# An existing store
$storage=librdf_new_storage($world, $storage_name, $name, $options);
if(!$storage) die("Failed to create new storage\n");

print "&amp;lt;p&amp;gt;Redland storage created&amp;lt;/p&amp;gt;";

$model=librdf_new_model($world,$storage,'');
print "&amp;lt;p&amp;gt;Redland model created&amp;lt;/p&amp;gt;";


$query = librdf_new_query($world, 'sparql', null, 'PREFIX
fn:&amp;lt;http://www.w3.org/2005/xpath-functions#&amp;gt; select
distinct(fn:substring-after ( "tatoo", "ta") as ?part) where { ?s ?p
?o}', null);

print "&amp;lt;p&amp;gt;Querying : &amp;lt;/p&amp;gt;";
$results=librdf_model_query_execute($model, $query);
$count=1;
while($results &amp;amp;&amp;amp; !librdf_query_results_finished($results)) {
 print "&amp;lt;p&amp;gt; result $count: {";
 for ($i=0; $i &amp;lt; librdf_query_results_get_bindings_count($results); $i++)
 {
   $val=librdf_query_results_get_binding_value($results, $i);
   if ($val){
     $nval=librdf_node_to_string($val);
   }
   else
     $nval='(unbound)';
   print "  ".librdf_query_results_get_binding_name($results, $i)."=".$nval;
 }
 print "}&amp;lt;/p&amp;gt;";
 librdf_query_results_next($results);
 $count++;
}
if ($results) print "Returned $count results\n";
print "Done\n";
?&amp;gt;

And this is the output produced by the code above:

Redland world opened

Redland storage created

Redland model created

Querying :

result 1: { part="false"^^}
Returned 2 results Done

If I replace "sparql" with "vsparql" I get the following output:


Redland world opened

Redland storage created

Redland model created

Querying :
Done

Thanks
Lorena





On Tue, Mar 20, 2012 at 9:56 PM, lorena &amp;lt;lorenae-6CFqe/ZG/KCO52ekkHWlcQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:
http://librdf.org/docs/api/redland-storage-module-virtuoso.html



--
Lorena Etcheverry



&lt;/pre&gt;</description>
    <dc:creator>lorena</dc:creator>
    <dc:date>2012-03-31T21:25:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/757">
    <title>[Rasqal RDF Query Library 0000501]: error appearedwhen trying to make check the library rasqal</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/757</link>
    <description>&lt;pre&gt;
The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=501 
====================================================================== 
Reported By:                boutheina
Assigned To:                
====================================================================== 
Project:                    Rasqal RDF Query Library
Issue ID:                   501
Category:                   installation
Reproducibility:            always
Severity:                   block
Priority:                   urgent
Status:                     new
Query Language:              
====================================================================== 
Date Submitted:             2012-03-26 11:16
Last Modified:              2012-03-26 11:16
====================================================================== 
Summary:                    error appeared when trying to make check the library
rasqal
Description: 
PASS: sparql_parser_test
========================================
1 of 24 tests failed
Please report to http://bugs.librdf.org/
========================================
make[2]: *** [check-TESTS] Erreur 1
make[2]: quittant le répertoire « /home/stagiaire/Redland/rasqal-0.9.28/src »
make[1]: *** [check-am] Erreur 2
make[1]: quittant le répertoire « /home/stagiaire/Redland/rasqal-0.9.28/src »
make: *** [check-recursive] Erreur 1

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-03-26 11:16 boutheina      New Issue                                    
======================================================================

_______________________________________________
redland-dev mailing list
redland-dev&amp;lt; at &amp;gt;lists.librdf.org
http://lists.librdf.org/mailman/listinfo/redland-dev&lt;/pre&gt;</description>
    <dc:creator>Mantis Bug Tracker</dc:creator>
    <dc:date>2012-03-26T11:16:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/756">
    <title>[Raptor RDF Syntax Library 0000500]: bug appearedwhen installing raptor library</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/756</link>
    <description>&lt;pre&gt;
The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=500 
====================================================================== 
Reported By:                boutheina
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   500
Category:                   installation
Reproducibility:            have not tried
Severity:                   minor
Priority:                   urgent
Status:                     new
Syntax Name:                 
====================================================================== 
Date Submitted:             2012-03-25 06:59
Last Modified:              2012-03-25 06:59
====================================================================== 
Summary:                    bug appeared when installing raptor library
Description: 
ibtool: link: gcc -g -O2 -o .libs/roqet roqet.o  ../src/.libs/librasqal.so
/usr/lib/libraptor2.so /usr/lib/libxml2.so -lm /usr/lib/libgmp.so 
../src/.libs/librasqal.so: undefined reference to
`raptor_bnodeid_ntriples_write' 
../src/.libs/librasqal.so: undefined reference to `raptor_vasprintf' 
../src/.libs/librasqal.so: undefined reference to `raptor_unicode_utf8_substr' 
../src/.libs/librasqal.so: undefined reference to `raptor_unicode_utf8_strlen' 
collect2: ld returned 1 exit status 
make[1]: *** [roqet] Erreur 1 
make[1]: quittant le répertoire « /home/boutheina/REdLand/rasqal-0.9.28/utils
» 
make: *** [all-recursive] Erreur 1 

Additional Information: 
I should inform you that i had done the installation of rasqal yet and it was
successful and ther is no error after neither make, nor make install. but when i
am trying to compile raptor with make, erros mentionned have appeared to me. Any
help please, it's so urgent. 
Thank you very much.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-03-25 06:59 boutheina      New Issue                                    
======================================================================

_______________________________________________
redland-dev mailing list
redland-dev&amp;lt; at &amp;gt;lists.librdf.org
http://lists.librdf.org/mailman/listinfo/redland-dev&lt;/pre&gt;</description>
    <dc:creator>Mantis Bug Tracker</dc:creator>
    <dc:date>2012-03-25T06:59:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/755">
    <title>ANNOUNCEMENT: Raptor RDF Syntax Library 2.0.7</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/755</link>
    <description>&lt;pre&gt;-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

   Raptor RDF Syntax Library 2.0.7
                      http://librdf.org/raptor/

Raptor is a free software / Open Source C library that provides a set
of Resource Description Framework (RDF) parsers and serializers that
both generate RDF triples by parsing syntaxes and serialize RDF
triples into a syntax.  It is a mature, portable and high performance
library that works across many systems and architectures.

It parses the following syntax into RDF triples:
  RDF/XML, N-Triples, TRiG, Turtle, GRDDL (including microformats
  hCard and hCal), N-Quads, RDF/JSON resource-format &amp;amp; triples-format
  and RSS tag soup for RSSes, Atom 0.3 and Atom 1.0.
and serializes RDF triples into the following syntaxes:
  RDF/XML, RDF/XML abbreviated, RDF/XML XMP, N-Quads, N-Triples,
  Atom 1.0, RSS 1.0, Graphviz DOT, HTML, Turtle and JSON.

The changes since the last release on 2011-11-27 are:
 * CVE-2012-0037 fixed
 * Removed Expat support
 * Removed internal Unicode NFC code for better and optional ICU
 * Added options for denying file requests and XML entity loading
 * Added options for SSL certificate verifying
 * Fixed reported issues: 0000448 and 0000469

For full details of the changes see the Raptor 2.0.7 release notes at
  http://librdf.org/raptor/RELEASE.html#rel2_0_7

  raptor2-2.0.7.tar.gz
  MD5    699073463467dc8eded2ca89de2ab2ea
  SHA256 d546588f2fc7d1f7c8da7865cec6d9b7d0a95ef6a4393cc9136f3eeb55f28442

The Raptor 2 API reference manual section on API changes at
http://librdf.org/raptor/api/raptor2-changes.html provides
detailed function, enum, macro and type changes. The upgrading
document at http://librdf.org/UPGRADING.html explains how to upgrade
existing code from Raptor V1 to the new APIs and points to a helper
perl script.

Binary deb packages for Debian unstable will be made available
via the standard Debian archive.

The http://librdf.org/ site lets you browse and check out the latest
version of the sources in GIT and use Raptor in various demos
as part of Redland such as Triplr http://triplr.org/

For more information on Redland, Raptor or Rasqal please join
the redland-dev list by visiting http://librdf.org/lists/
or visit IRC channel #redland on irc.freenode.net

Dave
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iD8DBQFPa1P7Q+ySUE9xlVoRAsQHAJ0UP7vwKheBHZ7HLj1QzTQLz3GcCgCfRbXg
iXFeRkpImXT8Xc00qBmKpas=
=eEwK
-----END PGP SIGNATURE-----
&lt;/pre&gt;</description>
    <dc:creator>Dave Beckett</dc:creator>
    <dc:date>2012-03-22T16:31:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/752">
    <title>[Raptor RDF Syntax Library 0000499]: Turtle parserfails to correctly parse valid syntax</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/752</link>
    <description>&lt;pre&gt;
The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=499 
====================================================================== 
Reported By:                normang
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   499
Category:                   api
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Syntax Name:                Turtle 
====================================================================== 
Date Submitted:             2012-03-21 15:49
Last Modified:              2012-03-21 15:49
====================================================================== 
Summary:                    Turtle parser fails to correctly parse valid syntax
Description: 
(yes, this is against a not-quite-up-to-date release; apologies if this has been
fixed in the interim)

A Turtle IRIref can be of the form "PNAME_NS PN_LOCAL" (see
http://www.w3.org/TR/turtle/#sec-grammar-grammar).  Following this through, we
find

[100s]   &amp;lt;PN_LOCAL&amp;gt;   ::=   ( PN_CHARS_U | [0-9] ) ( ( PN_CHARS | "." )*
PN_CHARS )?

PN_CHARS_U is [A-Za-z_], and PN_CHARS is [A-Za-z0-9-_]

An IRIref of "x:Type.dot" is therefore a valid IRIref, but rapper doesn't accept
it.

Steps to Reproduce: 
% cat try.ttl
&amp;lt; at &amp;gt;prefix x: &amp;lt;urn:example.org#&amp;gt;.

&amp;lt;#foo&amp;gt; a x:Type.dot .
% rapper -iturtle try.ttl
rapper: Parsing URI file:///path/try.ttl with parser turtle
rapper: Serializing with serializer ntriples
&amp;lt;file:///path/try.ttl#foo&amp;gt; &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&amp;gt;
&amp;lt;urn:example.org#Type&amp;gt; .
rapper: Error - URI file:///path/try.ttl:3 - syntax error
rapper: Parsing returned 1 triple
% 

Additional Information: 
The file
    &amp;lt; at &amp;gt;prefix x: &amp;lt;urn:example.org#&amp;gt;.
    &amp;lt;#foo&amp;gt; a x:Type.dot.
should work, too, with the last IRIref being &amp;lt;urn:example.org#Type.dot&amp;gt;
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-03-21 15:49 normang        New Issue                                    
======================================================================
&lt;/pre&gt;</description>
    <dc:creator>Mantis Bug Tracker</dc:creator>
    <dc:date>2012-03-21T15:49:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/751">
    <title>DELETE WHERE failing</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/751</link>
    <description>&lt;pre&gt;Hello,

I'm trying to execute a DELETE WHERE query. Since it does not do anything,
I'm trying to find the problem using roqet.

I'm trying the example from
  http://www.w3.org/TR/sparql11-update/#deleteWhere

# cat &amp;gt; t.ttl
&amp;lt; at &amp;gt;prefix foaf:  &amp;lt;http://xmlns.com/foaf/0.1/&amp;gt; .

&amp;lt;http://example/william&amp;gt; a foaf:Person .
&amp;lt;http://example/william&amp;gt; foaf:givenName "William" .
&amp;lt;http://example/william&amp;gt; foaf:mbox  &amp;lt;mailto:bill&amp;lt; at &amp;gt;example&amp;gt; .

&amp;lt;http://example/fred&amp;gt; a foaf:Person .
&amp;lt;http://example/fred&amp;gt; foaf:givenName "Fred" .
&amp;lt;http://example/fred&amp;gt; foaf:mbox  &amp;lt;mailto:fred&amp;lt; at &amp;gt;example&amp;gt; .
^D

#  roqet -W 100 -i sparql11-update -D t.ttl -e "PREFIX foaf:  &amp;lt;http://xmlns.com/foaf/0.1/&amp;gt;
DELETE WHERE { ?person foaf:givenName 'Fred';
                       ?property      ?value }"

But all I get is:
roqet: Running query 'PREFIX foaf:  &amp;lt;http://xmlns.com/foaf/0.1/&amp;gt;

DELETE WHERE { ?person foaf:givenName 'Fred';
                       ?property      ?value }'
roqet: Query execution failed

Do you know how I could know what's wrong ? I tried searching for DELETE in
bug tracker but did not find anything.

Regards,

Maxence
&lt;/pre&gt;</description>
    <dc:creator>Maxence Guesdon</dc:creator>
    <dc:date>2012-03-21T15:27:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/748">
    <title>is librdf really posing SPARQL queries againstVirtuoso?</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/748</link>
    <description>&lt;pre&gt;Hi:

I'm trying to use librdf to execute SPARQL queries over Virtuoso.
But, after getting errors trying to use some functions such as
fn:substring (having the fn prefix declared inside the query) I've
decided to take a look at Virtuoso's log (after enabling Virtuoso log
features using trace_on())

To my surprise, although I successfully retrieve results, some of the
queries I perform are not logged at all, and other queries are similar
to the ones I intend to pose but are not the same.
Moreover, I've tested my queries using Virtuoso Conductor web client
and they run as expected.

So, my questions are the following: is librdf doing some parsing or
re-writing on my queries? Is it somehow "loading" the model from
Virtuoso and using its own querying capabilities to execute my
queries? If so, how can I skip this step in order to force Virtuoso to
process the queries?

thanks in advance
Lorena

&lt;/pre&gt;</description>
    <dc:creator>lorena</dc:creator>
    <dc:date>2012-03-21T00:40:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/746">
    <title>Error showing while compiling xml into sqlite usingrdfproc</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/746</link>
    <description>&lt;pre&gt;Dear All,
          I have created and parsing the xml database into sqlite database
using bellow command.


# rdfproc -s sqlite database_name parse file:/home/guest/Documents/sample.xml


after firing the following command, the following big error message is
generating. so please any one could help to get out of this problem.


errror:

rdfproc: Error - SQLite database database_name SQL exec 'SELECT 1 FROM
triples WHERE subjectUri=-1 AND predicateUri=-1 AND objectUri=-1 LIMIT 1;'
failed - no such table: triples (1)
rdfproc: Error - SQLite database database_name SQL exec 'SELECT id FROM
uris WHERE uri =
'file:/home/odtone/Documents/MIHF/odtone/odtone/app/miis_rdf_server/URL_TO_BE_ASSIGNED#ie_poa_subnet_info';'
failed - no such table: uris (1)
rdfproc: Error - SQLite database database_name SQL exec 'SELECT id FROM
uris WHERE uri = 'URL_TO_BE_ASSIGNEDie_identifier';' failed - no such
table: uris (1)
rdfproc: Error - SQLite database database_name SQL exec 'SELECT id FROM
literals WHERE text = '0x10000204' AND language IS NULL AND datatype IS
NULL ;' failed - no such table: literals (1)
rdfproc: Error - SQLite database database_name SQL exec 'SELECT 1 FROM
triples WHERE subjectUri=-1 AND predicateUri=-1 AND objectLiteral=-1 LIMIT
1;' failed - no such table: triples (1)





Best Regards
   BaBu

&lt;/pre&gt;</description>
    <dc:creator>Baba Prasad</dc:creator>
    <dc:date>2012-03-20T18:41:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/745">
    <title>[Redland Language Bindings 0000498]:'parse_string_into_model' calls 'parse_string_as_stream' withan incorrect number of parameters in Ruby binding</title>
    <link>http://comments.gmane.org/gmane.comp.web.rdf.redland.devel/745</link>
    <description>&lt;pre&gt;
The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=498 
====================================================================== 
Reported By:                jmfernandez
Assigned To:                
====================================================================== 
Project:                    Redland Language Bindings
Issue ID:                   498
Category:                   api
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Binding Language (java, perl, php, python, ruby, tcl): ruby 
====================================================================== 
Date Submitted:             2012-03-07 15:47
Last Modified:              2012-03-07 15:47
====================================================================== 
Summary:                    'parse_string_into_model' calls
'parse_string_as_stream' with an incorrect number of parameters in Ruby binding
Description: 
In Ruby binding, instance method 'parse_string_into_model', from Redland::Parser
class, internally calls method 'parse_string_as_stream' with an incorrect number
of parameters when:

a) parse_string_into_model is called with the 'context' parameter set to
something which is not nil.
b) Redland::Parser instance has a context.

The relevant error messages are:

/usr/lib64/ruby/1.8/rdf/redland/parser.rb:142:in `parse_string_as_stream': wrong
number of arguments (3 for 2) (ArgumentError)
        from /usr/lib64/ruby/1.8/rdf/redland/parser.rb:142:in
`parse_string_into_model'


Steps to Reproduce: 
Try any of these code snippets:

require 'rdf/redland'

storage=Redland::TripleStore.new("memory")
model=Redland::Model.new(storage)
parser=Redland::Parser.new()
content='&amp;lt;rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/&amp;gt;'
parser.parse_string_into_model(model,content,'file:/','http://www.nowhere.org/')


The other code snippet:


require 'rdf/redland'

storage=Redland::TripleStore.new("memory")
model=Redland::Model.new(storage)
parser=Redland::Parser.new()
parser.context='http://www.nowhere.org/'
content='&amp;lt;rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/&amp;gt;'
parser.parse_string_into_model(model,content,'file:/')

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-03-07 15:47 jmfernandez    New Issue                                    
======================================================================
&lt;/pre&gt;</description>
    <dc:creator>Mantis Bug Tracker</dc:creator>
    <dc:date>2012-03-07T15:47:03</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.web.rdf.redland.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.web.rdf.redland.devel</link>
  </textinput>
</rdf:RDF>

