Pour contourner : j'écris en RelaxNG compact, puis je convertis la grammaire avec Trang.
La forme compact de RelaxNG compact n'est pas du XML mais est très simple à écrire. La forme non compact est du XML. Il me semble (à vérifier) que tout ce qu'on peut exprimer en XML Schema est exprimable en RelaxNG.
# RelaxNG
Posté par _alex . En réponse au message Valider l'XML : DTD contre Schemas. Évalué à 1.
Pour contourner : j'écris en RelaxNG compact, puis je convertis la grammaire avec Trang.
La forme compact de RelaxNG compact n'est pas du XML mais est très simple à écrire. La forme non compact est du XML. Il me semble (à vérifier) que tout ce qu'on peut exprimer en XML Schema est exprimable en RelaxNG.
RelaxNG : http://www.relaxng.org/(...)
Forme compact : http://www.relaxng.org/compact-20021121.html(...)
Intro à RelaxNG: http://www-106.ibm.com/developerworks/library/x-matters25.html(...)
Validateur JAXP pour RelaxNG : http://www.apache.org/~andyc/neko/doc/relaxng/index.html(...)
Trang : http://www.thaiopensource.com/relaxng/trang.html(...)
NB: pour faire un RelaxNG à partir d'une instance XML : http://examplotron.org/(...)