Hi Scott,
Could you elaborate on that? Why can't we use the XMLReaderFactory?
Thanks,
Charles
--
Charles Ng
Senior Internet Developer
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Databeacon Inc.
1565 Carling Ave., Suite 300
Ottawa, Ontario Canada K1Z 8R1
Tel: (613) 729-4480 x305
Toll Free: 888-921-8360
Fax: (613) 729-6711
Get Insight Out at www.Databeacon.com <http://www.Databeacon.com>
-----Original Message-----
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] ClassLoader exception
Date: Mon, 11 Jun 2001 09:14:52 -0700
Reply-To: [EMAIL PROTECTED]
You need to use the JAXP api for obtaining an xml parser.
----- Original Message -----
From: "Schouten, Andreas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 11, 2001 8:31 AM
Subject: [JBoss-user] ClassLoader exception
> Hello,
>
> I try parsing a XML document in the same way as I do it in my applets, but
> whithin jBoss I get a classloader exception when I try o instantiate my
> class extention of DefaultHandler.
>
> I import:
> import org.xml.sax.helpers.DefaultHandler;
> import org.xml.sax.Attributes;
> import org.xml.sax.SAXException;
> import org.xml.sax.XMLReader;
> import org.xml.sax.helpers.XMLReaderFactory;
>
> and use
> XMLReader xr =
> XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
>
> The server.policy file don't make any restrictions.
>
> Has anybody experience with xml parsing in ejb's?
> Are there conflickts with other parsers. Which classes can I use for
parsing
> XML docs?
>
> Thanks
> Andreas
>
>
> [CorrelationEntity] at
> java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>
> [CorrelationEntity] at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.j
> ava:313)
[snipped]
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user