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”.
þškz[q²Ü¥zÈ^zß¾Æig³
Apply the stylesheet to the following XML.
þškz[Zû¥žÌ
Result is the following.
þškz[qš_¯z»"¢
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:
þškz[qš_¯z»"¢
I’ve submitted the bug to the libxslt team.