Quodatum / xqlint

XQuery Quality Checker
https://www.npmjs.com/package/@quodatum/xqlint
Apache License 2.0
1 stars 0 forks source link

Missing catalog functions #45

Closed apb2006 closed 1 year ago

apb2006 commented 1 year ago

with v0.3.3

...\download.xqm
let $data:= bin:encode-string(fn:serialize((fn:doc($dbUri))))
                                   ^ [XPST0008] "encode-string#1": undeclared function

...\jobs.xqm
    700 |   let $job := jobs:invoke('backup-shedular.xq',(),map { 'start': '23:30:00', 'interval': 'P1D' })
                      ^ [XPST0008] "invoke#3": undeclared function
        392 |               let $schematron := schematron:compile(db:open($config:CoreDatabase, fn:concat($config:ValidationDir,$config:TaxonomySchematron)))
                                ^ [XPST0008] "compile#1": undeclared function
    393 |               let $validate   := schematron:validate($taxonomyXml, $schematron)
                               ^ [XPST0008] "validate#2": undeclared function
    395 |                   if(schematron:is-valid($validate))
                 ^ [XPST0008] "is-valid#1": undeclared function

Schematron errors require repository concept, others expected to be xq-catalog issues

apb2006 commented 1 year ago

jobs:invoke 'removed' in 9.2 https://docs.basex.org/wiki/Job_Module#Changelog 'bin:encode-string' is a BaseX wiki error now fixed https://docs.basex.org/index.php?title=Binary_Module&curid=637&diff=16616&oldid=16433