In general, the default for Saxon is that where the XSLT spec describes
something as a recoverable error, Saxon issues a warning and then takes the
recovery action. You can change the policy either to be more strict (to fail
rather than taking the recovery action) or to be more lenient (to take the
recovery action without producing any warning).
> -----Original Message-----
> From: Evan Lenz [mailto:elenz@...]
> Sent: 19 January 2002 00:07
> To: michael.h.kay@...; 'Tim Pritlove'; 'SAXON XSL Discussion
> Subject: RE: [saxon] saxon and conflict resolution
> I thought you had previously changed the bias of Saxon to
> throwing every
> possible static error. Did you change back? Anyway, it seems like the
> easiest way to fix this bug is to throw an error in either
> case, i.e. on
> template rules with the same priority (and import
> precedence). IMHO, you'd
> only be doing people a favor when they upgrade. The
> last-template fallback
> always seemed senseless and error-prone to me. Isn't it the
> last (only)
> vestige of relative-order-being-significant among top-level elements
> (besides requiring xsl:import to come first)?
> > -----Original Message-----
> > From: saxon-help-admin@...
> > [mailto:saxon-help-admin@... Behalf Of
> Michael Kay
> > Sent: Friday, January 18, 2002 3:59 PM
> > To: 'Tim Pritlove'; 'SAXON XSL Discussion List'
> > Subject: RE: [saxon] saxon and conflict resolution
> > > I think the conflict appears because you specify the same priority
> > > explicitly for both rules circumventing the automatic
> > > priority level that
> > > would be applied otherwise. The example works, if you
> leave oout the
> > > priority attributes.
> > Yes, the bug does seem to occur when two rules have the same
> > explicitly-allocated priority, and not when the priority is
> defaulted. I
> > haven't yet worked out why, but I'm not surprised no-one
> has tried this
> > before...
> > Mike Kay
> > _______________________________________________
> > saxon-help mailing list
> > saxon-help@...
> > https://lists.sourceforge.net/lists/listinfo/saxon-help