- From: Rod Hughes <rod_hughes@yahoo.com>
 - Date: Fri, 7 Mar 2008 09:06:14 -0800 (PST)
 - To: public-xml-versioning@w3.org
 
In Section 6.2, there is the following example and text:
"Example 16: ComplexType level open content
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://www.example.org/ns/personName/1" 
      elementFormDefault="qualified" 
      xmlns:namens="http://www.example.org/ns/personName/1"> 
      
  <xs:complexType name="nameType">
    <xs:openContent mode="suffix">
           <xs:any namespace="##any" processContents="lax" 
                  minOccurs="0" maxOccurs="unbounded"/>
    </xs:openContent>
    
    <xs:sequence>
	  <xs:element name="given" type="xs:string"/>
      <xs:element name="family" type="xs:string"/>
    </xs:sequence>
    <xs:anyAttribute/>
  </xs:complexType>
      
   <xs:element name="personName" type="namens:nameType"/>
</xs:schema>
This content allows and validates any extensions before, between or after family. For the nameType type definition, it is very similar to Example #2."
Since the openContent mode="suffix", should the text say the following instead:
"This content allows and validates any extensions after family. For the nameType type definition, it is very similar to Example #2."
Regards,
Rod Hughes
Received on Friday, 7 March 2008 21:16:27 UTC