forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Re: Xinclude and (in)validation
Date Fri, 07 Feb 2003 13:52:29 GMT
Nicola Ken Barozzi wrote:
> How the heck is xinclude to work in the real world with validation?

welcome to the world of stupid non-infoset-orthogonal validation languages!

DTDs work as long as you don't deal with namespaced content. DTDs 
validate monodimensional infosets. Namespaces add dimensionality and 
DTDs were not designed to cope with that.

XMLSchema partially solves the job, but it's still an 
non-infoset-orthogonal validation language, so you have pre and post 
schema infosets.

RelagNG is the only serious validation language out there and being 
totally infoset-orthogonal, validation can (and must) be placed at a 
different stage than parsing (as we are doing in cocoon).

The concept of parsing+validation is a thing of the SGML past.

The future is pipeline-based SoC-oriented infoset-orthogonal and 
namespace-aware validation and RelaxNG is the *ONLY* validation language 
that does so.

Just be prepared.

Stefano Mazzocchi                               <>
    Pluralitas non est ponenda sine necessitate [William of Ockham]

View raw message