Hi Mukul, Sorry. I mean "array type" is a complex type with a sequence of elements.
ElementPSVI is the object I figured that could get me the information. However, I have two issues; one is that I could not have "simpletype.DatatypeInterfaceUsage" working for some reason. The 2nd is I don't know how to apply "PSVIProvider" into your "jaxp.TypeInfoWriter" sample. Many thanks, David On Tue, Jun 23, 2009 at 8:40 AM, Mukul Gandhi <gandhi.mu...@gmail.com>wrote: > On Tue, Jun 23, 2009 at 4:56 PM, govelogo<govel...@gmail.com> wrote: > > My ultimate goal is to be able to tell if a schema type associated to an > > element is a simple type or an array type while parsing an xml. > > I don't understand, what do you mean by "array type". We only have > simple type or a complex type. > > Once you have the ElementPSVI object for the element, you can access > the element type information using the available APIs. > > > -- > Regards, > Mukul Gandhi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org > For additional commands, e-mail: j-users-h...@xerces.apache.org > >