[Bug 15854] New: Skip wildcards not valid in complex types with implicit complex content

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

           Summary: Skip wildcards not valid in complex types with
                    implicit complex content
           Product: XML Schema
           Version: 1.1 only
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: David_E3@VERIFONE.com
        ReportedBy: am_spamfaenger@gmx.at
         QAContact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com


I'm not sure if I'm wright with my interpretation of clause 3 of
derivation-ok-restriction. In special the following sentence:

"...and for every attribute information item A in E.[attributes], B's default
binding for A subsumes that defined by T."

As I read it the following complex type is invalid:

<xs:complexType name="T">
   <xs:anyAttribute namespace="##any" processContents="skip"/>
</xs:complexType>

In this case the base type definition B would be xs:anyType and T would be the
complex type T. The default binding for any potential attribute information
item would be skip for T and lax for B (xs:anyType has a lax attribute
wildcard). So B's default binding for A (lax) will not subsume T's default
binding for A (skip).

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 2 February 2012 11:37:03 UTC