Skip to content
Snippets Groups Projects
Commit 71c854a7a5b6 authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Fix conflict resolution for templates with same priority

The spec states in "5.5 Conflict Resolution for Template Rules":

> It is an error if this leaves more than one matching template rule.
> An XSLT processor may signal the error; if it does not signal the
> error, it must recover by choosing, from amongst the matching
> template rules that are left, the one that occurs last in the
> stylesheet.

We don't signal an error, so we must make sure to return the last
template in the stylesheet.

Fixes #55
parent 105f3e2c05d1
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment