David Bertoni <dbertoni <at> apache.org> writes: > > > > > <?xml version="1.0" encoding="UTF-8"?> > > <!-- edited with XMLSpy v2007 (http://www.altova.com) by Vijay S. Bajwa > > (Citigroup) --> > > <xs:schema xmlns:oas="http://citigroup.com/gts/oasys" > > xmlns:xs="http://www.w3.org/2001/XMLSche > > ma" elementFormDefault="unqualified" attributeFormDefault="unqualified"> > > <xs:element name="gtsEquityBlock"> > > <xs:annotation> > > <xs:documentation>Bundled eqty block plus all allocs (upto 10,000) > > </xs:documentati > > on> > > </xs:annotation> > > <xs:complexType> > > <xs:sequence> > > <xs:element name="msgHdr" type="MsgHdrType"/> > > <xs:element name="eqtyBlock" type="EquityBlockType"/> > > <xs:element name="eqtyAlloc" type="EquityAllocType" > > maxOccurs="10000"/> > > </xs:sequence> > > </xs:complexType> > > </xs:element> > > <xs:complexType name="MsgHdrType"> > > ... > > </xs:schema>
The problem was the maxOccurs="10000". Even the SAXPrint had a problem with this, just hung there for a long time, but SAXPrint eventually came back and walked thru the XML. So, I changed maxOccurs="10000" to maxOccurs="unbounded" and voila! everything started working. Thanks for all your help David. I learned a lot from it. Regards, Vijay --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
