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

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

From: <bugzilla@jessica.w3.org>
Date: Sat, 26 Jan 2013 20:01:06 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-20784-703@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20784

            Bug ID: 20784
           Summary: A top-level xs:annotation in a schema that's being
                    overridden causes override.xsl to fail
    Classification: Unclassified
           Product: XML Schema
           Version: 1.1 only
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
          Assignee: David_E3@VERIFONE.com
          Reporter: ndw@nwalsh.com
        QA Contact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com

Created attachment 1320
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1320&action=edit
ZIP file containing schemas to reproduce the bug

If you create a schema that has a top-level xs:annotation and subsequently
attempt to override that schema with an xs:override in another component,
attempting to apply override.xsl will result in an error. The xs:annotation
element doesn't have a name attribute and theat causes f:componentName to
attempt to create a QName with an empty local name.

You can see this in action by attempting to validate 'sample.xml' with
'over.xsd' from the attached ZIP file.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 26 January 2013 20:01:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 26 January 2013 20:01:08 GMT