Alan McMorran wrote:
>> This release brings several new features and a rewritten internal
>> RDF architecture, which lead us to a drastic reduction in code
>> size, memory consuption, startup time and RDF load time.
>
>
> Just out of interest, why did you move from the Jena parser to the
> OpenRDF one? The Open RDF parser doesn't seem to like my data and
> throws parse exceptions like:
>
> java.lang.IllegalArgumentException: '#_7' is not a legal (absolute)
> URI
I am not sure which version of the Rio parser Welkin 1.1 uses, but
as a brief comment to help fix this: the problem here is that
apparently the parser is not provided a proper base URI to resolve
fragment identifiers and other relative URI references. A well-known
cause is that many users provide the parser with an empty string as
the base URI.
There are two ways to provide a base URI to the parser:
1. by specifying a base URI in the code when RdfXmlParser.parse() is
invoked.
2. by specifying it in your RDF/XML file, by supplying an xml:base
attribute in the root element.
The latter, you could do yourself quite easily, the first will require
some tinkering in the Welkin code I suspect?
HTH.
Jeen
--
Jeen Broekstra Aduna BV
Knowledge Engineer Julianaplein 14b, 3817 CS Amersfoort
http://aduna.biz The Netherlands
tel. +31 33 46599877
Received on Wed Jul 13 2005 - 13:06:23 EDT