[Bug 22294] New: SchemaImport/emptyUnion11.xsd is not valid

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

            Bug ID: 22294
           Summary: SchemaImport/emptyUnion11.xsd is not valid
    Classification: Unclassified
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: spungi@gmail.com
        QA Contact: public-qt-comments@w3.org

SchemaImport/emptyUnion11.xsd contains an empty union type that is not valid
according to:

http://www.w3.org/TR/xmlschema11-2/#defn-rep-constr
"Either the memberTypes [attribute] of the <union> element must be non-empty or
there must be at least one simpleType [child]."

Here is the error thrown by Xerces when validating the mentioned schema:
E [Xerces] src-union-memberTypes-or-simpleTypes: A <union> element must have
either a non-empty memberTypes [attribute] or at least one <simpleType> element
among its [children].

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

Received on Thursday, 6 June 2013 08:43:25 UTC