one more libxslt bug
That’s not funny. Again the namespaces, again a libxslt bug. Libxslt is confused when XSLT and XML use the same prefix with different URI.
The following stylesheet adds attribute “y:foo” to each element, the
full name of the attribute is “{y:y:y}foo”.
Apply the stylesheet to the following XML.
þškz[ZÆig³*®¢Ü¶Ël¶ªê-‚Ùmo,!Š×ªº‹p†+^ªê-‚Ùms&åiÉ*º‹[•§$ªê-þe·öà¶[j¦·©
Result is the following.
The full name of the “foo” attribute is “{y2:y2:y2}foo”, but should be
“{y:y:y}foo”.
By the way, saxon generates the following:
I’ve submitted the bug to the libxslt team.