- From: Databinding Issue Tracker <dean+cgi@w3.org>
- Date: Tue, 21 Feb 2006 14:12:51 +0000 (GMT)
- To: public-xsd-databinding@w3.org
ISSUE-22: Bare Vectors
http://www.w3.org/2005/06/tracker/databinding/issues/22
Raised by: Paul Downey
On product: Basic
The input document provides a simple pattern for representing an ordered
single dimensional list:
"""
<xs:complexType name="ItemListType">
  <xs:sequence>
    <xs:element name="item" type="xs:string" minOccurs=0 maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>
"""
This pattern matches the WSDL Array offered by the WSDL 1.1 specification (later
removed in the Basic Profile). 
However scheam also offers inline, or 'bare' arrays:
"""
 <xs:complexType name="CustomerType">
  <xs:sequence>
    <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="addressLine" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
    <xs:element name="telephoneNumber" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
  <xs:sequence>
</xs:complexType>
"""
What advice should we offer in the Basic patterns document regarding 'bare' arrays?
Received on Tuesday, 21 February 2006 14:13:00 UTC