-
- Downloads
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
Showing
- libxslt/pattern.c 19 additions, 4 deletionslibxslt/pattern.c
- libxslt/xsltInternals.h 3 additions, 0 deletionslibxslt/xsltInternals.h
- tests/REC/test-5.5-1.out 7 additions, 0 deletionstests/REC/test-5.5-1.out
- tests/REC/test-5.5-1.xml 7 additions, 0 deletionstests/REC/test-5.5-1.xml
- tests/REC/test-5.5-1.xsl 14 additions, 0 deletionstests/REC/test-5.5-1.xsl
Loading
Please register or sign in to comment