Closed rjyounes closed 9 years ago
I'm working on adding CI support to this project and the command below is one of my unit tests. We will update the documentation to include the bnode parameter.
(And if you don't use maven just replace the .m2 path with the path to your saxonHE9.x jar file.)
java -cp ~/.m2/repository/net/sf/saxon/Saxon-HE/9.6.0-5/Saxon-HE-9.6.0-5.jar net.sf.saxon.Query xbin/saxon.xqy marcxmluri="http://lccn.loc.gov/61008194/marcxml" baseuri="http://bibframe.org/" serialization=rdf.xml usebnodes=true
I found out why this wasn't working - the namespace for saxon was incorrect. If you use a Saxon9HE jar < version 9.5.x it will work now.
Saxon 9.6.x appears to have removed support for defaults in favor of the XQuery 3.0 syntax & I will commit a saxon3.xqy which will support the newer syntax.
I'm looking for the most recent stable version to run bulk conversions with. It might be better to work off a branch rather than the master. Is dewey considered a stable version, or is there a more recent stable revision where you could cut a branch?
the master is the stable version. Dewey was last updated months ago.
Rebecca,
Those are good suggestions but unfortunately we're not doing full SCM with this project so for your purposes you should consider master 'stable' & report any other issues.
I'll do something with the dewey branch since I think it's kind of confusing and consider a release point in the near future so we can work from that point forward with development branches.
Let us know how your bulk tool is working - we might find it useful here too!
Thanks,
On Fri, May 29, 2015 at 4:34 PM, Rebecca Younes notifications@github.com wrote:
I'm looking for the most recent stable version to run bulk conversions with. It might be better to work off a branch rather than the master. Is dewey considered a stable version, or is there a more recent stable revision where you could cut a branch?
— Reply to this email directly or view it on GitHub https://github.com/lcnetdev/marc2bibframe/issues/243#issuecomment-106928153 .
With the latest code from the master, I get the following error:
Error on line 72 of saxon.xqy: XPDY0002: No value supplied for required parameter $usebnodes
The error is not generated on the dewey branch. If the master is not intended to be stable, please let me know and I will continue to use dewey.