Return-Path: Delivered-To: apmail-xml-xmlbeans-dev-archive@www.apache.org Received: (qmail 31426 invoked from network); 15 Jan 2004 22:53:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Jan 2004 22:53:53 -0000 Received: (qmail 58892 invoked by uid 500); 15 Jan 2004 22:53:35 -0000 Delivered-To: apmail-xml-xmlbeans-dev-archive@xml.apache.org Received: (qmail 58843 invoked by uid 500); 15 Jan 2004 22:53:35 -0000 Mailing-List: contact xmlbeans-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: xmlbeans-dev@xml.apache.org Delivered-To: mailing list xmlbeans-dev@xml.apache.org Received: (qmail 58698 invoked from network); 15 Jan 2004 22:53:34 -0000 Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "mg" To: xmlbeans-dev@xml.apache.org Date: Fri, 16 Jan 2004 09:53:15 +1100 X-Sasl-Enc: aHjW+JT1GiAiKNTo1dJGKA 1074207195 Subject: Re: SchemaTypes References: <40048E73.1020709@sun.com> <20040115060637.AA5297A0D9@server2.messagingengine.com> <005301c3db77$2facc9b0$1e00000a@lightbox> In-Reply-To: <005301c3db77$2facc9b0$1e00000a@lightbox> Message-Id: <20040115225315.30FE3784B4@server2.messagingengine.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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" 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" > To: > 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/