xsddoc/samples/stress stress.xsd,1.19,1.20

Kurt Riede <[email protected]>
Newsgroups gmane.text.xml.xframe.xsddoc.devel
Message-ID <[email protected]>
Update of /cvsroot/xframe/xsddoc/samples/stress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9283/samples/stress

Modified Files:
	stress.xsd 
Log Message:
Example from colinguthrie for documentation in nested element declarations integrated

Index: stress.xsd
===================================================================
RCS file: /cvsroot/xframe/xsddoc/samples/stress/stress.xsd,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** stress.xsd	3 Sep 2004 08:03:03 -0000	1.19
--- stress.xsd	20 Sep 2004 18:58:38 -0000	1.20
***************
*** 434,436 ****
--- 434,472 ----
      </xsd:all>
    </xsd:complexType>
+   <!--
+     Examples from colinguthrie for documentation of nested element declarations.
+   -->
+   <xs:complexType name="dummyfileType">
+     <xs:sequence>
+       <xs:element name="dummytype" type="st:dummytypeType" minOccurs="1" maxOccurs="unbounded"/>
+     </xs:sequence>
+   </xs:complexType>
+   <xs:complexType name="dummytypeType">
+     <xs:annotation>
+       <xs:documentation>
+         This is the abstract dummytypeType.
+       </xs:documentation>
+     </xs:annotation>
+     <xs:sequence>
+       <xs:element name="name">
+         <xs:annotation>
+           <xs:documentation>The name of the dummy type.</xs:documentation>
+         </xs:annotation>
+         <xs:simpleType>
+           <xs:restriction base="xs:token">
+             <xs:maxLength value="128"/>
+           </xs:restriction>            
+         </xs:simpleType>
+       </xs:element>
+     </xs:sequence>
+   </xs:complexType>
+   <xs:element name="dummyfile" type="st:dummyfileType">
+     <xs:annotation>
+       <xs:documentation>
+         The Dummy File Record.
+ 
+         Interesting doucmentation...        
+       </xs:documentation>
+     </xs:annotation>
+   </xs:element>
  </xsd:schema>



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.