I am suddenly thinking that this issue will turn out to be an internal CXF issue. CXF is building XmlSchema representation for types as part of mapping from Java to WSDL with JAXB. The resulting structures never have the type fields filled in. I'm reasonable sure that what CXF is doing is not parsing a .xsd file but rather building objects on the fly, and simply not setting these values. In which case I will apologize for bothering you.
I would ask for the following question: generally, a type lives in a schema. In the 'read an xsd' file paradigm, what schema do the basic types live in? > -----Original Message----- > From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] > Sent: Monday, October 29, 2007 11:21 AM > To: [email protected] > Subject: Re: getType() for an element > > Hi > Is i possible for you to show us a schema which has this behavior ? > > Ajith > On 10/29/07, Benson Margulies <[EMAIL PROTECTED]> wrote: > > I'm finding that XmlSchemaElement.getType() routinely returns null for > > me. getTypeName() returns the appropriate QName. I'm imagining that this > > is something basic, could someone deconfuse me, please? > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Ajith Ranabahu > > Reading, after a certain age, diverts the mind too much from its > creative pursuits. Any man who reads too much and uses his own brain > too little falls into lazy habits of thinking - Albert Einstein > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
