Bug #3460
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
XQDY0025 (duplicate attribute) reported under XSLT (with docbook)
100%
Description
Reported on the saxon-help forum here:
https://saxonica.plan.io/boards/3/topics/6990
Reproduced (occurs only on 9.7, with bytecode enabled: fixed in 9.8)
We have upgraded Saxon-EE from 9.6 to 9.7.0.20. Then while performing XSLT transform, we started bumping into this fatal error:
Error on line 206 column 49 of table.xsl:
XQDY0025: Cannot create an element having two attributes with the same name: @width
at xsl:call-template name="adjust-column-widths"
Do I understand correctly that "XQDY0025" is an XQuery error and isn't supposed to occur during an XSLT transform?
We are using a customized flavor of DocBook5 and XSLT2.0. I tried running the XSLT transform with the same DocBook and XSLT files in oXygen 19.0 (which uses Saxon-EE 9.7.0.15), but haven't seen an error.
Please register to edit this issue