This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Default XML-parser implementation?
- From: Michael Koch <konqueror at gmx dot de>
- To: java at gcc dot gnu dot org
- Cc: Martin Egholm Nielsen <martin at egholm-nielsen dot dk>
- Date: Tue, 1 Jun 2004 16:08:40 +0200
- Subject: Re: Default XML-parser implementation?
- References: <c9i1vv$11g$1@sea.gmane.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Dienstag, 1. Juni 2004 15:57 schrieb Martin Egholm Nielsen:
> Hi there,
>
> I've been browsing around the archives for this subject, but I
> don't seem to be able to find the answer.
> Browsing the libgcj.jar archive I've noticed that the "javax.xml.*"
> packages are not present, so I cannot use the
> "javax.xml.parsers.SAXParserFactory" class.
> So I turned to the "org.xml.sax.helpers.XMLReaderFactory"-class
> instead (which I noticed was in jar-archive).
> It compiles fine, however, when I try to execute I get the error:
>
> Exception in thread "main" org.xml.sax.SAXException: Can't create
> default XMLReader; is system property org.xml.sax.driver set?
>
> And to that question I have to admit: No!
> Therefore I ask: Is there an implementation available, or need I
> turn to e.g. Xerces?
I think our preferred implementation is GNU jaxp (part of classpathx
project on savannah.gnu.org).
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAvI3oWSOgCCdjSDsRAu7GAJ9fVALylLHg7Qxfe6lsoOtA7H+4pgCgoHAz
aWDcoqVGlAREEgXFJdfTZvI=
=ayNO
-----END PGP SIGNATURE-----