Re: [xslt] [PATCH] Re: xsl:use-attribute-sets in libxslt not conforming to the XSLT spec

On 12/02/2019 10:05, Alexey Neyman wrote:
I don't think this removed block needs to be restored; instead, I think, the xsltAttrListTemplateProcess() should process the attribute sets first and then, iterating over LRE attributes, override the values if there is a duplicate attribute. Instead of constructing the attribute list itself, it can use xmlSetNsProp() which will either create a new attribute, or set the value on an existing one. xsltAttribute() already uses xmlSetNsProp() for that purpose.

That's also the approach I came up with. Should be fixed with:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]