-
- Downloads
Fix attribute precedence with xsl:use-attribute-sets
Commit 05f70130 broke the precedence of attributes on literal result elements and attributes from xsl:use-attribute-sets. Process xsl:use-attribute-sets first. Then if any attributes were added to the target node, use xmlSetNsProp to copy the remaining attributes, replacing the previous values. Thanks to Alexey Neyman for the report.
Showing
- libxslt/templates.c 70 additions, 62 deletionslibxslt/templates.c
- tests/REC/test-7.1.4.out 1 addition, 1 deletiontests/REC/test-7.1.4.out
- tests/docbook/result/fo/gdp-handbook.fo 93 additions, 93 deletionstests/docbook/result/fo/gdp-handbook.fo
- tests/docs/bug-217.xml 1 addition, 0 deletionstests/docs/bug-217.xml
- tests/general/bug-217.out 2 additions, 0 deletionstests/general/bug-217.out
- tests/general/bug-217.xsl 24 additions, 0 deletionstests/general/bug-217.xsl
Loading
Please register or sign in to comment