Re: [basex-talk] HTTPServer + gzip compression

2019-12-13 Thread Stefan Koch
Hi,GZIP once again. It works fine with 9.3. However: http://docs.basex.org/wiki/Options#GZIP"Sane defaults" - so if you click on the link: _methods.include(HttpMethod.GET.asString());So only for GET - not POST. Our current Webservices rely heavily on POST (+Response) though :( So my question is -

Re: [basex-talk] BaseX and validating the entire database

2019-12-13 Thread Christian GrĂ¼n
Hi Luke, > It would be nice to have some sort of pre-commit hook for validating > modifications to the database so that we are not restricted to only allowing > modifications through XQuery. It looks as though this is the point of > https://github.com/BaseXdb/basex/issues/1082, but it looks as

Re: [basex-talk] BaseX and validating the entire database

2019-12-13 Thread Zimmel, Daniel
I would second that using Schematron here seems more complicated than actually writing the code in XQuery; it is even shorter. We do this kind of checks in XQuery all the time, similar to the examples below. Schema validation can also be quite slow when compared to optimized queries in

Re: [basex-talk] BaseX and validating the entire database

2019-12-13 Thread Hans-Juergen Rennau
Hi Luke, I would like to emphasize (or simply remind you) of two key features of XPath (and XML technology in general). The FIRST one is that treating the information in a single document or in a collection of documents or a collection of document fragments is identical. So, for example,