Hi Liam,
On Wednesday, January 6, 2021 2:35:53 AM CET, Liam R E Quin wrote:
Could you do this instead using schematron?
Would you have an example how to do a key identity constraint with
schematron? I am happy to benchmark it.
--
Stefan
___
xml
On Tue, 2021-01-05 at 19:12 +0100, Stefan de Konink wrote:
>
>
> Yesterday I wrote a custom validator in lxml for key/keyref and
> unique
> constraints.
Could you do this instead using schematron?
It may be somewhat slower but easier to maintain.
Liam
--
Liam Quin - web slave for
Hi Nick,
Thanks for your reply. It does have a noticeable impact, while having
compiled libxml2-git yesterday, I oversaw it.
With the single constraint file;
libxml2-2.9.10
User time (seconds): 90.81
Elapsed (wall clock) time (h:mm:ss or m:ss): 1:31.60
libxml2-git
User time (seconds):
The XML Schemas code hasn't been actively maintained for more than 10 years,
so it's unlikely to receive a helpful answer regarding the code.
There was a recent patch which might help:
https://gitlab.gnome.org/GNOME/libxml2/-/commit/faea2fa9b890cc329f33ce518dfa1648e64e14d6
Other than that,
Hello,
I am working in a project that aims for validating open data by an open
standard defined in an XML Schema[1]. The document size varies from 13kB -
2GB[2]. The basic problem I face is key constraint validation, defined as
key, keyref and unique combinations. The special case here is