Sorry, I mistyped. It's
FileManager.readModel(Model model, String filenameOrURI)
The offending filenames were all Windows style, in fact mixed slashes and
backslashes, such as:
C:\X\base\sub/file.rdf
That used to work. Even "cleaning" the filename to:
c:/X/base/sub/file.rdf
didn't work.
I hope this helps.
Dave
-----Original Message-----
From: Andy Seaborne [mailto:[email protected]]
Sent: Wednesday, May 01, 2013 9:01 AM
To: [email protected]
Subject: Re: Jena 2.10.1 / SDB 1.3.6 -- testing for next release
On 30/04/13 22:10, Lebling, David (US SSA) wrote:
> Andy,
>
> I was able to get some time today and managed to install and run with
> jena-sdb-1.3.6-SNAPSHOT on top of apache-jena-2.10.1-SNAPSHOT.
>
> I ran a bunch of our integration tests and one of our stress tests
> (not the one that uses the transaction isolation code, yet -- maybe
> tomorrow). All of them ran fine.
>
> The only potential issue I found was that FileManager.readModel(String
> uri, String filenameOrUri) now seems to actually require that the
> second argument be a URI. I was running on Windows and before calling
> the IRI code FileManager apparently isn't detecting and converting
> file names to URIs. It may also be that the Javadoc hasn't caught up
> with a change to the readModel contract, if it now requires a URI. I
> just forced a URI to work around the issue.
>
> Dave
>
Hi Dave,
Thanks for the report.
Which FileManager operation did you mean ?
(there isn't a readModel(String, String))
FileManager.loadModel(String filenameOrURI, String rdfSyntax)
FileManager.readModel(Model model, String filenameOrURI)
FileManager.readModel(Model model, String filenameOrURI, String rdfSyntax)
and they seem to work for me.
Andy