[Bug 20784] A top-level xs:annotation in a schema that's being overridden causes override.xsl to fail

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20784

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
I fixed this for Saxon by changing the f:componentName function to:

<xsl:function name="f:componentName" as="xs:QName?">
    <xsl:param name="component" as="element()"/>
    <xsl:sequence select="if ($component/@name) then
QName($component/ancestor::xs:schema/@targetNamespace, $component/@name) else
()"/>
  </xsl:function>

And I also had to add an xs:import for the XML namespace to the overriding
schema document.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 27 January 2013 18:54:44 UTC