W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2005

[Bug 2544] RQ-146: needs clarification re. wildcards

From: <bugzilla@wiggum.w3.org>
Date: Mon, 21 Nov 2005 15:50:49 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EeDwP-0000Lh-To@wiggum.w3.org>

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

           Summary: RQ-146: needs clarification re. wildcards
           Product: XML Schema
           Version: 1.1 only
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: ht@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


Consider the following "tricky" indirect case involving a wildcard referencing 
a global element:

<element name="a" type="string"/>
<complexType name="example-2">
  <sequence>
    <element name="a" type="int"/>
    <element name="whatever"/>
    <any namespace="##targetNamespace" processContents="lax"/>
  </sequence>
</complexType>

Clearly the local <a> and the indirect reference to the global <a> 
are "inconsistent" with each other within the content model of the above 
example but I'm not sure if the "directly, indirectly, or implicitly" language 
in the EDC rule captures this case.

See mail from: David Bau
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0029.html

See reply from: Henry Thompson
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0030.html
Received on Monday, 21 November 2005 15:50:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:10 GMT