W3C

ExtendedSequenceLaxAny Example

  <xs:element name="extendedSequenceLaxAny" type="ex:ExtendedSequenceLaxAny"/>

  <xs:complexType name="ExtendedSequenceLaxAny">
        <xs:sequence>
          <xs:element name="firstElement" type="xs:string"/>
          <xs:element name="lastElement" type="xs:string"/>
          <xs:element name="extension" type="ex:ExtendedSequenceLaxAnyExtension" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

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

The example schema [ExtendedSequenceLaxAny.xsd] has been classified as being "" as it exhibits the following patterns:

Status Name XPath

To facilitate testing, the example schema element has been wrapped in the following descriptions:

The following valid instance documents are provided:

Instance Validity
ExtendedSequenceLaxAny01

  <ex:extendedSequenceLaxAny>
        <ex:firstElement>String</ex:firstElement>
        <ex:lastElement>String</ex:lastElement>
        <ex:extension>
          <ex2:anyElement>Stuff</ex2:anyElement>
        </ex:extension>
      </ex:extendedSequenceLaxAny>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).

Generated from examples.xml $Date$