Hello,
My environment has BaseX 11.6 installed.
The XQuery is called in c# via REST HTTP call: string REQUESTURL = $"http://%7BHOST%7D:%7BPORT%7D/rest?run=%7BXQUERY%7D&$xml=%7BxmlFile%7D&am...";
XQuery is using XSD validation with caching, along the following: let $result := validate:xsd-report($xml, $xsd, map { 'http://apache.org/xml/features/validation/cta-full-xpath-checking': true(), 'cache': true() })
It seems that the cache invalidation call stopped working ?! It is not picking up the latest XSD.
I launch it from the BaseX GUI as follows: validate:xsd-init()
Just restart of the HTTP listener picks up the latest/modified XSD.
Please advise.
Regards, Yitzhak Khabinsky
Hi Yitzhak,
A self-contained example would be helpful.
Thanks in advance, Christian
On Thu, Dec 26, 2024 at 4:07 PM ykhabins@bellsouth.net wrote:
Hello,
My environment has BaseX 11.6 installed.
The XQuery is called in c# via REST HTTP call: string REQUESTURL = $"http://%7BHOST%7D:%7BPORT%7D/rest?run=%7BXQUERY%7D&$xml=%7BxmlFile%7D&am...";
XQuery is using XSD validation with caching, along the following: let $result := validate:xsd-report($xml, $xsd, map { 'http://apache.org/xml/features/validation/cta-full-xpath-checking': true(), 'cache': true() })
It seems that the cache invalidation call stopped working ?! It is not picking up the latest XSD.
I launch it from the BaseX GUI as follows: validate:xsd-init()
Just restart of the HTTP listener picks up the latest/modified XSD.
Please advise.
Regards, Yitzhak Khabinsky
basex-talk@mailman.uni-konstanz.de