xml-xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mg" ...@subscribe.audumla.net>
Subject Re: SchemaTypes
Date Thu, 15 Jan 2004 22:53:15 GMT
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/


Mime
View raw message