Hi,

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}"
                  namespace="{namespace-uri-from-QName($elementName)}">
       <xsl:sequence select="."/>
     </xsl:element>
   </xsl:for-each>
 
</xsl:function>

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

thank you for your help.