Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Correct XSD Syntax? [Thread Next] Re: Correct XSD Syntax?To: NULL Date: 3/8/2009 9:52:00 AM That's what I thought, and therefore a gSOAP bug, because it generated this apparently incorrect code. Thanks. "Mukul Gandhi" <gandhi.mukul@g...> wrote in message news:c956e05c-3585-4d81-aeed-79c36e87fddf@x...... On Mar 3, 11:38 pm, PeteOlcott <PeteOlc...@gmail.com> wrote: > (1) <complexType name="ScriptQueueItem"> > (2) <element name="ScriptQueueItem"> > (3) <element name="scriptQueue" type="sq:ScriptQueueItem" > minOccurs="1" maxOccurs="unbounded"/> > > Is it correct to refer to an XML element as a type, such > as the > reference from line (3) to line (2) or must this type be > specified as > a type such as the reference from line (3) to line (1)? An element declaration cannot be treated as a type declaration. They are different things, and one cannot be interchanged for the other. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
