RE: [xsl] Priority and import precedence

Subject: RE: [xsl] Priority and import precedence
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Mon, 31 Jan 2005 17:36:42 -0000
> >  "if you use my stylesheet, you have to use this template as I
> > designed it".
>
> Might be useful, do you have in mind a compile time check
> (you can' have a higher priority/import prec that _could_
> match the same nodes as this one, or a run time one (only get
> a warning if the input has a node that _does_ match this
> template and a higher priority one)?
>
> run time one is probably less confusing but might? be expensive test?

I would say it's a halting error at compile time - a recoverable runtime
error would make it ineffective (and leave the subtle bugs in).

cheers
andrew

Current Thread