From richard at ex-parrot.com Mon Sep 2 08:53:27 2013 From: richard at ex-parrot.com (Richard Smith) Date: Mon, 2 Sep 2013 13:53:27 +0100 (BST) Subject: [redland-dev] Entities in RDFa In-Reply-To: References: Message-ID: Is this list dead? Should I be posting elsewhere? Richard Richard Smith wrote: > > Last January I submitted a patch to raptor that added a added a new parser > option called 'loadDTD'. The patch hasn't been applied and there's been no > subsequent discussion that I've seen. Perhaps it's my fault for going about > submitting the patch in the wrong way or the wrong place, and if so, > apologies. > > However I still feel that the patch is of definite advantage to raptor, in > particular in its handling of entities in RDFa where it's very common to see > an example like this: > > "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> > version="XHTML+RDFa 1.0" xml:lang="en"> > > Test > > >

This page was written by > property="dc:creator">José.

> > > > Note the use of the HTML eacute entity in the name Jos?. (This got mangled in > the web archive last time round.) When I submitted the patch, rapper 2.0.6 > couldn't parse this, and testing today with 2.0.9 it is still the case. If > Redland is to be of use with real-world RDFa, without an otherwise > unnecessary additional pre-procesing stage, this needs fixing. > > The argument that W3 add a 30s delay in serving the DTDs is largely > irrelevant. With the patch, DTD loading only happens only if you > specifically request it, and if you have a suitable XML catalog, libxml2 > won't fetch the DTD from the W3 but from a local copy on your machine. > (Under Debian, the w3c-sgml-lib package installs such a catalog for you.) And > in any case, if you really need to parse the entity, there will be cases when > the 30s delay is quite acceptable. > > Is it worth me reworking the patch so that it applies cleanly against the > current code base? > > Richard From mantis-bug-sender at librdf.org Sat Sep 21 11:44:58 2013 From: mantis-bug-sender at librdf.org (Mantis Bug Tracker) Date: Sat, 21 Sep 2013 15:44:58 +0000 Subject: [redland-dev] [Redland librdf RDF API 0000550]: configure not detecting BerkeleyDB libraries in certain distros on x86_64 architectures Message-ID: The following issue has been SUBMITTED. ====================================================================== http://bugs.librdf.org/mantis/view.php?id=550 ====================================================================== Reported By: wasabiwimp Assigned To: ====================================================================== Project: Redland librdf RDF API Issue ID: 550 Category: configuration Reproducibility: always Severity: major Priority: high Status: new ====================================================================== Date Submitted: 2013-09-21 15:44 Last Modified: 2013-09-21 15:44 ====================================================================== Summary: configure not detecting BerkeleyDB libraries in certain distros on x86_64 architectures Description: The configure script does not detect BerkeleyDB libraries correctly for certain distributions running on x86_64 architectures. Includes are detected correctly. Architecture: x86_64 Distributions likely affected: - CentOS 6.4 (tested) - LinuxMint 13 (tested) - RHEL 6.4 - any distributions in which the directory containing the BDB libs is not called "lib" (e.g. some distros have them in a "lib64" directory) Additional Information: workarounds include: - creating an appropriate /lib directory with a symlink to the appropriate /lib64 library I have found the issue in the configure file and will follow up with a patch in less than a day. As such I have given it a high priority so as to get quick confirmation and a patch applied and tested. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-09-21 15:44 wasabiwimp New Issue ====================================================================== From mantis-bug-sender at librdf.org Wed Sep 25 09:32:08 2013 From: mantis-bug-sender at librdf.org (Mantis Bug Tracker) Date: Wed, 25 Sep 2013 13:32:08 +0000 Subject: [redland-dev] [Redland librdf RDF API 0000551]: I get the following compilation error when make-ing libRDF Message-ID: The following issue has been SUBMITTED. ====================================================================== http://bugs.librdf.org/mantis/view.php?id=551 ====================================================================== Reported By: ericatai Assigned To: ====================================================================== Project: Redland librdf RDF API Issue ID: 551 Category: installation Reproducibility: have not tried Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-09-25 13:32 Last Modified: 2013-09-25 13:32 ====================================================================== Summary: I get the following compilation error when make-ing libRDF Description: I've compiled installed the new releases of Raptor and Rasqal, but I get the following compilation error when make-ing libRDF. Raptor and Rasqal failed some test, but I don't know if that is expected. Thanks for any help you could give! -Eric [elpete2 at athene redland-1.0.11]$ sudo make [sudo] password for elpete2: Making all in libltdl make[1]: Entering directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/libltdl' make all-am make[2]: Entering directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/libltdl' make[2]: Leaving directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/libltdl' make[1]: Leaving directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/libltdl' Making all in src make[1]: Entering directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/src' make all-recursive make[2]: Entering directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/src' Making all in win32 make[3]: Entering directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/src/win32' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/src/win32' make[3]: Entering directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../libltdl -I/usr/local/include/raptor2 -I/usr/local/include/rasqal -I/usr/local/include/raptor2 -DPKGDATADIR="\"/usr/local/share/redland\"" -I../libltdl -I/usr/local/include/raptor2 -I/usr/local/include/rasqal -I/usr/local/include/raptor2 -DREDLAND_MODULE_PATH="\""/usr/local/lib/redland"\"" -DLIBRDF_INTERNAL=1 -g -O2 -MT rdf_parser_raptor.lo -MD -MP -MF .deps/rdf_parser_raptor.Tpo -c -o rdf_parser_raptor.lo rdf_parser_raptor.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../libltdl -I/usr/local/include/raptor2 -I/usr/local/include/rasqal -I/usr/local/include/raptor2 -DPKGDATADIR=\"/usr/local/share/redland\" -I../libltdl -I/usr/local/include/raptor2 -I/usr/local/include/rasqal -I/usr/local/include/raptor2 -DREDLAND_MODULE_PATH=\"/usr/local/lib/redland\" -DLIBRDF_INTERNAL=1 -g -O2 -MT rdf_parser_raptor.lo -MD -MP -MF .deps/rdf_parser_raptor.Tpo -c rdf_parser_raptor.c -fPIC -DPIC -o .libs/rdf_parser_raptor.o rdf_parser_raptor.c: In function ?librdf_parser_raptor_constructor?: rdf_parser_raptor.c:1588: error: ?raptor_syntax_description? has no member named ?uri_string? make[3]: *** [rdf_parser_raptor.lo] Error 1 make[3]: Leaving directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/Redlands/RedlandLibraries/redland-1.0.11/src' make: *** [all-recursive] Error 1 [elpete2 at athene redland-1.0.11]$ ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-09-25 13:32 ericatai New Issue ====================================================================== From nixdash at gmail.com Wed Sep 25 13:37:41 2013 From: nixdash at gmail.com (ash nix) Date: Wed, 25 Sep 2013 13:37:41 -0400 Subject: [redland-dev] distributed storage Message-ID: Hi, I have multiple RDF file and I am creating a single storage by parsing all these files. Is there any distributed query processing and storage possible with redland. My goal is fetch a single query result by joining multiple data stores created by redland. -- Thanks, A -------------- next part -------------- An HTML attachment was scrubbed... URL: From mantis-bug-sender at librdf.org Thu Sep 26 11:38:55 2013 From: mantis-bug-sender at librdf.org (Mantis Bug Tracker) Date: Thu, 26 Sep 2013 15:38:55 +0000 Subject: [redland-dev] [Redland Language Bindings 0000552]: make test-php has problem finding librdf.so.0 Message-ID: <6166beb1af0cafab8bc26bcafdcb327d@bugs.librdf.org> The following issue has been SUBMITTED. ====================================================================== http://bugs.librdf.org/mantis/view.php?id=552 ====================================================================== Reported By: ericatai Assigned To: ====================================================================== Project: Redland Language Bindings Issue ID: 552 Category: installation Reproducibility: always Severity: crash Priority: high Status: new Binding Language (java, perl, php, python, ruby, tcl): php ====================================================================== Date Submitted: 2013-09-26 15:38 Last Modified: 2013-09-26 15:38 ====================================================================== Summary: make test-php has problem finding librdf.so.0 Description: It feels like I'm on the cusp of victory here. With the following flags, I was able to get it to configure and compile: ./configure --with-php CPPFLAGS="-I/usr/local/include/php/Zend -I/usr/local/include/php/main -I/usr/local/include/php/TSRM" PKG_CONFIG_PATH=/usr/local/lib/pkgconfig But the test had a problem. I seem to be using a different php than you - or else why the need for different include paths. Maybe that's why I get the following library problem at php runtime: [root at athene php]# make test-php php -d enable_dl=On -c . ./test.php Testing Redland... Warning: dl(): Unable to load dynamic library './redland.so' - librdf.so.0: cannot open shared object file: No such file or directory in /usr/local/src/Redlands/RedlandBindings/redland-bindings-1.0.16.1/php/test.php on line 32 Fatal error: Call to undefined function librdf_php_get_world() in /usr/local/src/Redlands/RedlandBindings/redland-bindings-1.0.16.1/php/test.php on line 36 make: *** [test-php] Error 255 [root at athene php]# Thanks for any help you could give. The problem is probably obvious to the maven. I'm really excited to use this functionality! ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-09-26 15:38 ericatai New Issue ======================================================================