.
its schema definition is as this,
thanks a lot,
David
On Fri, Jul 3, 2009 at 12:45 PM, Michael Glavassevich
wrote:
> govelogo wrote on 07/03/2009 10:44:17 AM:
>
> > Hi there,
>
> >
> > I am running the jaxp.TypeInfoWriter to parse a xml. For one
> >
Hi there,
I am running the jaxp.TypeInfoWriter to parse a xml. For one element, I got
this result,
startElement(name="{
http://crm.testschema.ca/xml/as/ServiceAndOfferMapping/v1-0}associatedWithServices
",type="{http://crm.testschema.ca/xml/as/ServiceAndOfferMapping/v1-0}*
#AnonType_associat
ab
> E-mail: mrgla...@ca.ibm.com
> E-mail: mrgla...@apache.org
>
> govelogo wrote on 06/29/2009 01:39:29 PM:
>
>
> > I used the sample handler in jaxp.TypeInfoWriter. Looks like it
> > should be straight forward; I must have overlooked sth ... Can you
> > just q
; IBM Toronto Lab
> E-mail: mrgla...@ca.ibm.com
> E-mail: mrgla...@apache.org
>
> govelogo wrote on 06/29/2009 01:39:29 PM:
>
>
> > I used the sample handler in jaxp.TypeInfoWriter. Looks like it
> > should be straight forward; I must have overlooked sth .
I used the sample handler in jaxp.TypeInfoWriter. Looks like it should be
straight forward; I must have overlooked sth ... Can you just quickly point
out which object I should use?
thanks a lot,
David
On Mon, Jun 29, 2009 at 2:07 PM, wrote:
> Those are all namespace declarations. If you register
Hi there,
Is it possible to use JAXP API to retrieve schema and prefix name-value
pairs in the root element tag? for example,
http://rules.bellaliant.icn/testing";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:cbebi-v1-5="http://ossj.org
un 28, 2009 at 6:36 PM, Jeff Greif > edu> wrote:
> > > From the ElementPSVI on the root of the document, you can get the
> > > XSModel using getSchemaInformation. From there you can work your way
> > > through the complex type definition to the XSParticle whose term is
> &
or values (maxOccurs and
> minOccurs) of an element declaration.
> Perhaps somebody can correct me..
>
> Just curious, why do you need to retrieve this information using an
> API, as an end user facility?
>
> On Fri, Jun 26, 2009 at 10:59 PM, govelogo wrote:
> > Hi
Hi there,
I am trying to identify a complex type defined in a similar manner as the
following sketch of schema. I was hoping to be able to get the information
from a XSElementDeclaration class retrieved from an ElementPSVI class.
However, it seems I have not found the right method to do it.
Hi Mukul and Michael,
Just out of a quick try, it seems made a difference and should be able to
get me what I want.
thanks a lot,
-david
On Wed, Jun 24, 2009 at 12:30 AM, Mukul Gandhi wrote:
> Hi David,
>
> On Wed, Jun 24, 2009 at 6:35 AM, govelogo wrote:
> > But I got this e
27;s OOB
sample code.
thanks a lot,
-david
On Tue, Jun 23, 2009 at 9:59 AM, Michael Glavassevich
wrote:
> govelogo wrote on 06/23/2009 07:26:55 AM:
>
>
> > Do you mean I can cast "javax.xml.validation.ValidatorHandler" into
> > a "org.apache.xerces.xs.PSVIProv
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 wrote:
> On Tue, Jun 23, 2009 at 4:56 PM, govelogo wrote:
> > My ultimate goal is to be able to tell if a sch
Hi Michael,
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. As to how to
implement it, I am not sure. I was just trying.
Do you mean I can cast "javax.xml.validation.ValidatorHandler" into a
"org.apache.xerces
13 matches
Mail list logo