ISSUE-20

Extension of collections

State:
CLOSED
Product:
Advanced
Raised by:
Paul Downey
Opened on:
2006-02-21
Description:
The input document offers the following pattern for a collection
which is open to extension, thereby being useful when evolving
or extending a schema during versioning:

"""
<xs:complexType name="CustomerType">
  <xs:sequence>
    <xs:element name="firstName" type="xs:string" />
    <xs:element name="lastName" type="xs:string" />
    <xs:element name="extension" type="tns:CustomerExtensionType" minOccurs="0" />
  </xs:sequence>
  <xs:anyAttribute/>
</xs:complexType>

<xs:complexType name="CustomerExtensionType">
  <xs:sequence>
    <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"
          namespace="##targetNamespace"/>
    </xs:sequence>
</xs:complexType>

"""

How well is this pattern supported by tools - does it belong in
the Basic patterns document?

Are there authoring issues with this pattern we should warn about?
Related emails:
  1. ISSUE-20: Extension of collections (from dean+cgi@w3.org on 2006-02-21)
  2. Re: ISSUE-20: Extension of collections (from edday@obj-sys.com on 2006-02-21)
  3. Re: ISSUE-20: Extension of collections (from petexmldev@tech-know-ware.com on 2006-02-22)
  4. Re: ISSUE-20: Extension of collections (from petexmldev@tech-know-ware.com on 2006-02-22)
  5. RE: ISSUE-20: Extension of collections (from paul.downey@bt.com on 2006-02-22)
  6. Re: ISSUE-20: Extension of collections (from petexmldev@tech-know-ware.com on 2006-02-22)
  7. RE: ISSUE-20: Extension of collections (from erikj@epicor.com on 2006-02-22)
  8. RE: ISSUE-20: Extension of collections (from paul.downey@bt.com on 2006-02-22)
  9. Minutes from XML Schema Patterns for Databinding call 21 February 2006 (from paul.downey@bt.com on 2006-02-22)
  10. Agenda: XML Schema Patterns for Databinding F2F 27-28 February 2006 (from paul.downey@bt.com on 2006-02-22)
  11. Revised Agenda: XML Schema Patterns for Databinding F2F 27-28 February 2006 (from paul.downey@bt.com on 2006-02-27)
  12. Minutes from XML Schema Patterns for Databinding F2F 27-28 Feb 2006 (from paul.downey@bt.com on 2006-03-12)
  13. Re: Minutes from XML Schema Patterns for Databinding F2F 27-28 Feb 2006 (from petexmldev@tech-know-ware.com on 2006-03-13)
  14. ISSUE-38: xs:any processContents value of \\'skip\\' (from dean+cgi@w3.org on 2006-04-25)
  15. Re: ISSUE-38: xs:any processContents value of \\'skip\\' (from Paul.V.Biron@kp.org on 2006-04-26)
  16. Re: ISSUE-38: xs:any processContents value of \\'skip\\' (from petexmldev@tech-know-ware.com on 2006-04-26)
  17. Agenda: XML Schema Patterns for Databinding Telcon 8 August 2006 (from paul.downey@bt.com on 2006-08-07)
  18. Minutes: XML Schema Patterns for Databinding Telcon 8 August 2006 (from paul.downey@bt.com on 2006-08-08)
  19. Agenda: XML Schema Patterns for Databinding Telcon 22 August 2006 (from paul.downey@bt.com on 2006-08-21)
  20. Agenda: XML Schema Patterns for Databinding Telcon 5 September 2006 (from paul.downey@bt.com on 2006-09-03)
  21. Minutes: XML Schema Patterns for Databinding F2F 5th-6th October 2006 (from paul.downey@bt.com on 2006-10-07)

Related notes:

2006-10-05: closed as Advanced