[lxml-dev] Compact RelaxNG Validation
Stefan Behnel
stefan_ml at behnel.de
Wed Jul 11 09:47:05 CEST 2007
Leonard J. Reder wrote:
> Does the lxml validation support the compact form of RelaxNG Schema
> language?
No, but that's been on the wish list for a while. There is a patch for libxml2
that supports it and has been waiting for inclusion for ages. Once libxml2
supports it, we can see if we can also support it in lxml (obviously requires
a backwards compatible implementation, as it must still compile on older
libxml2 versions).
The other solution would be to add a separate (Python-)implementation to lxml,
but I am not aware of a spec-compliant Python implementation here. There are
two partial implementations, but they currently fail to handle a larger number
of non-trivial RNC schemas, so there is not much use in integrating them.
Any help is obviously appreciated. It might already help to keep asking on the
libxml2 mailing list.
Stefan
More information about the lxml-dev
mailing list