W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2013

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 27 Jan 2013 18:54:43 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-20784-703-5uTCdAW6js@http.www.w3.org/Bugs/Public/>

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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:12 UTC