RelaxNG dans 4suite: très limité ?

Stephane Bortzmeyer <[email protected]>
Newsgroups gmane.text.xml.french.tech
Organization NIC France
Message-ID <[email protected]>
J'ai fait quelques tous petits essais du validateur RelaxNG (basé sur
Xvif) qui est inclus dans la bibliothèque Python 4suite
(http://www.4suite.org/) et il semble très limité :

- il ne traite apparemment pas les inclusions :
RngSchemaInvalidException: Named pattern domain undefined
("domain" *est* défini mais dans un fichier inclus)

- il ne connait apparemment pas tous les types W3C Schema. Par
exemple, NMTOKEN:
RngSchemaInvalidException: Invalid type xsd:NMTOKEN for library http://www.w3.org/2001/XMLSchema-datatypes

rnv et xmllint n'ont pas de problèmes avec ces schémas. 

Ces restrictions ne semblent pas documentés en
http://www.4suite.org/docs/CoreManual.xml#RELAXNG et le rendent
inutilisable pour moi (j'ai fini par appeler l'exécutable rnv depuis
mon code Python).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.