[Bug 4299] lax wildcard and xsi:type

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4299

           Summary: lax wildcard and xsi:type
           Product: XML Schema
           Version: 1.0/1.1 both
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


Assume that in an instance document, element "e" matches a lax wildcard and
there is no global element declaration for "e" and there is an xsi:type
specified on it. How *valid* does the xsi:type need to be?

Not a qname:
<e xsi:type="a b c d"/>

Not resolve to a type:
<e xsi:type="randomNN:randomName"/>

This doesn't seem to be covered by Schema-Validity Assessment (Element) in
3.3.4. Does this mean it's valid (and should be treated as if xsi:type is not
there)? Is this the intention?

See this exchange (member-only)
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Mar/0098.html

Received on Monday, 5 February 2007 22:07:42 UTC