From: Eduard D. <ed...@fr...> - 2017-04-03 20:10:55
|
Additional: I did not use the api functions though, just edited documents and saw versioning working Eduard Drenth, Software Architekt ed...@fr... Doelestrjitte 8 8911 DX Ljouwert +31 58 234 30 47 gpg: https://sks-keyservers.net/pks/lookup?op=get&search=0x065EF82A1E02CC43 ________________________________ From: Eduard Drenth Sent: Monday, April 3, 2017 10:08 PM To: Ludovic Heitz; exi...@li... Subject: Re: [Exist-open] [xquery-versioning-module] Include module versioning.xqm Hi, I have the versioning module working, just installed it, no need to add anything to conf.xml. Eduard Drenth, Software Architekt ed...@fr... Doelestrjitte 8 8911 DX Ljouwert +31 58 234 30 47 gpg: https://sks-keyservers.net/pks/lookup?op=get&search=0x065EF82A1E02CC43 ________________________________ From: Ludovic Heitz <lud...@gm...> Sent: Friday, March 31, 2017 10:31 AM To: exi...@li... Subject: [Exist-open] [xquery-versioning-module] Include module versioning.xqm Hello guys, I installed the package xquery-versioning-module-1.1.2.xar from the package manager into my eXist 3.1 instance. I would to use functions from the versioning.xqm API (namespace = http://exist-db.org/versioning) To do so, I think I need to add the module into the conf.xml file (into <builtin-modules>)? I tried unsuccessfully with: <module uri="http://exist-db.org/versioning" src="resource:org/exist/versioning/xquery/versioning.xqm" /> <module uri="http://exist-db.org/versioning" src="resource:org/exist/versioning/versioning.xqm" /> <module uri="http://exist-db.org/versioning" src="resource:versioning.xqm" /> To test this, I try to call v:doc but I still got the following error: Cannot compile xquery: err:XQST0059 error found while loading module v: Source for module 'http://exist-db.org/versioning' not found module location hint URI 'resource:org/exist/versioning/versioning.xqm'. Thanks for attention Ludovic |