Re: Constraint validation for huge documents

Liam R E Quin <[email protected]> Tue, 05 Jan 2021 20:35:53 -0500
Newsgroups gmane.comp.gnome.lib.xml.general
Message-ID <[email protected]>
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 https://www.fromoldbooks.org/
with fabulous vintage art and fascinating texts to read.
Click here to have the slave beaten.