evolvedbinary / fusiondb-server

FusionDB Server
https://www.fusiondb.com
21 stars 0 forks source link

httpclient #3

Closed pwin closed 5 years ago

pwin commented 5 years ago

I'm getting an error with

import module namespace httpclient="http://exist-db.org/xquery/httpclient";

Is this missing from the Alpha build?

adamretter commented 5 years ago

Hi @pwin eXist-db's legacy HTTP Client has been deprecated for some years now. It was removed from eXist-db 5, which we maintain compatibility with.

Instead it is recommended to migrate to the EXPath HTTP Client which has also been present in eXist-db for some years now.

Let me know if you need any further guidance on that...

pwin commented 5 years ago

Hi Adam I'm clearly working with old codebases. A pointer to the best refactoring approach would be helpful Cheers Peter

On Thu, 22 Aug 2019, 23:30 Adam Retter, notifications@github.com wrote:

Hi @pwin https://github.com/pwin eXist-db's legacy HTTP Client has been deprecated for some years now. It was removed from eXist-db 5, which we maintain compatibility with.

Instead it is recommended to migrate to the EXPath HTTP Client which has also been present in eXist-db for some years now.

Let me know if you need any further guidance on that...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/evolvedbinary/fusiondb-server/issues/3?email_source=notifications&email_token=AAIFYTDIVTP7PFUWGACDPVLQF4HPZA5CNFSM4IOZZNMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD46SU2Y#issuecomment-524102251, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIFYTBZTN5QLLWXYOIW6ETQF4HPZANCNFSM4IOZZNMA .

adamretter commented 5 years ago

@pwin Sure. If I recall correctly you are migrating from eXist-db 2.2?

FusionDB Alpha 1 is backwards compatible with eXist-db 5.0.0-RC8.

The release notes for eXist-db 5.0.0-RC8, in particular the Removed section, will be useful for you - http://www.exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500RC8 . From there you will also find a link to a Perl script from Craig Berry, which you can run against XQuery code to identify migration issues.

pwin commented 5 years ago

That's really helpful. Thanks

On Thu, 22 Aug 2019, 23:39 Adam Retter, notifications@github.com wrote:

@pwin https://github.com/pwin Sure. If I recall correctly you are migrating from eXist-db 2.2?

FusionDB Alpha 1 is backwards compatible with eXist-db 5.0.0-RC8.

The release notes for eXist-db 5.0.0-RC8, in particular the Removed section, will be useful for you - http://www.exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500RC8 . From there you will also find a link to a Perl script from Craig Berry, which you can run against XQuery code to identify migration issues.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/evolvedbinary/fusiondb-server/issues/3?email_source=notifications&email_token=AAIFYTE43JCN475M4LBEGQTQF4IRRA5CNFSM4IOZZNMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD46TGHI#issuecomment-524104477, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIFYTBSROF5GAEJU7YQTTDQF4IRRANCNFSM4IOZZNMA .