im trying new Saxon-HE version and im getting error: Required item type of @name attribute of element is xs:string; supplied value has item type xs:QName(in saxon-B it was ok).
In this function:
<xsl:function name="functx:wrap-values-in-elements" as="element()*"
              xmlns:functx="http://www.functx.com" >
  <xsl:param name="values" as="xs:anyAtomicType*"/>
  <xsl:param name="elementName" as="xs:QName"/>
   <xsl:for-each select="$values">
     <xsl:element name="{$elementName}"
       <xsl:sequence select="."/>

i Was looking to w3c recommendation and i saw there, that Qname is ok. So am I missing something?
  name = { qname }
  namespace = { uri-reference }
  use-attribute-sets = qnames>
  <!-- Content: template -->

thank you for your help.