You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by zi...@apache.org on 2004/03/27 02:02:03 UTC
cvs commit: xml-xmlbeans/v2/test/cases/marshal example_instance2.xml example.xsd
zieg 2004/03/26 17:02:02
Modified: v2/test/cases/marshal example.xsd
Added: v2/test/cases/marshal example_instance2.xml
Log:
add type to example
Revision Changes Path
1.2 +9 -0 xml-xmlbeans/v2/test/cases/marshal/example.xsd
Index: example.xsd
===================================================================
RCS file: /home/cvs/xml-xmlbeans/v2/test/cases/marshal/example.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- example.xsd 18 Mar 2004 23:25:35 -0000 1.1
+++ example.xsd 27 Mar 2004 01:02:02 -0000 1.2
@@ -4,6 +4,15 @@
elementFormDefault="qualified">
<xs:element name="address" type="tns:USAddress"/>
+
+ <xs:element name="ListOfAddresses">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="address" type="tns:USAddress"
+ minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
<xs:complexType name="USAddress">
<xs:sequence>
1.1 xml-xmlbeans/v2/test/cases/marshal/example_instance2.xml
Index: example_instance2.xml
===================================================================
<tns:ListOfAddresses xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://nosuch.domain.name"
xmlns:oth="http://othernosuch.domain.name">
<tns:address>
<tns:name>Somewhere</tns:name>
<tns:zip>54321</tns:zip>
</tns:address>
<tns:address>
<tns:name>Somewhere</tns:name>
<tns:zip>54321</tns:zip>
</tns:address>
<tns:address>
<tns:name>Somewhere</tns:name>
<tns:zip>54321</tns:zip>
</tns:address>
<tns:address>
<tns:name>Somewhere</tns:name>
<tns:zip>54321</tns:zip>
</tns:address>
</tns:ListOfAddresses>
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org