On 11/13/07, Jim Wilson wilson.jim.r@gmail.com wrote:
Templates complicate the "is this valid" test. Multiple templates can contain invalid syntax which when used together form proper syntax.
The same applies to a variety of other constructs, like <noinclude> and probably some parser hooks. It's therefore already been concluded that the parser must be two-pass: one to substitute all conditional and remote stuff, like templates, and the second to convert to HTML (or whatever).