[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: Re: SchemaTypes
From: "mg" <mg () subscribe ! audumla ! net>
Date: 2004-01-15 22:53:15
Message-ID: 20040115225315.30FE3784B4 () server2 ! messagingengine ! com
[Download RAW message or body]
Ahh yes .. I have all of these bits bundled into eclipse plugins. I just
hadnt set the threads class loader to the eclipse plugin.
Thanks,
Marius Gleeson
On Thu, 15 Jan 2004 09:52:22 -0500, "David Bau" <david.bau@bea.com> said:
> What you're doing _should_ work - unless you've misspelled the name or
> omitted the jar from your classpath (or have other classloader issues).
>
> Another thing you can try, if the compiled class is "MyFooType"...
>
> You can try saying
>
> SchemaType sType = MyFooType.type.
>
> If you can get things working that way, you can make sure that
>
> sType.getName() is equal to the QName that you're using etc.
>
> David
>
> ----- Original Message -----
> From: "mg" <mg@subscribe.audumla.net>
> To: <xmlbeans-dev@xml.apache.org>
> Sent: Thursday, January 15, 2004 1:06 AM
> Subject: [xmlbeans-dev] SchemaTypes
>
>
> > I am trying to get the SchemaType implementation that maps to a
> > particular namespace but cannot find how to do this,
> > I have tried the following,
> >
> > XmlBeans.getContextTypeLoader().findType(new
> > javax.xml.namespace.QName(namespaceURI,localName));
> >
> > But this returns null.
> >
> > Any ideas?
> > Thanks,
> > Marius Gleeson
> >
> > - ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xmlbeans-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
> > Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
> >
> >
>
>
> - ---------------------------------------------------------------------
> To unsubscribe, e-mail: xmlbeans-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic