This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Default XML-parser implementation?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 2. Juni 2004 14:15 schrieb Martin Egholm Nielsen:
> >>>>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
> >>>
> >>>Have you looked at lib-org-w3c-dom.* and lib-org-xml-sax.*
> >>>in the $GCC/lib folder? (Assuming mainline or perhaps GCC
> >>> 3.4.0.) I admit that I don't see a JAR for these, but the
> >>> native libraries are there.
> >
> > These classes are included in libgcj-$version.jar.
>
> So why are these packages present in separate libraries, then?
> None of the other packages are...
To allow usage of these parts natively compile from outside of libgcj
and because of license reasons I think.
With the new BC-ABI this will hopefully don't matter anymore.
> > They provide the implementations for the org.xml.sax and
> > org.w3c.dom packages. They are included in GNU jaxp too. The
> > important parts in javax.xml parts where never merged from GNU
> > jaxp because of copyright reasons and bloat issues (1).
>
> But there is no xmlreader implementation in there - only
> implementation of the factory-classes, right?
I think so, yes.
> > I thinks it really time to rethink this. Users want/need direct
> > XML support and dont wanna hassle with installing extra stuff.
>
> I sure would want it that way :-)
> Or we should put a section into the faq regarding this...
I think Tom Tromey may decide now. He never had a real opinion about
this issue. I will try to convince him after GCC summit.
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAvcg4WSOgCCdjSDsRAv9mAJ9MGm+Uq7bp/rWZ0Y/XK2wi50M0nwCfQnDs
AjoB3/Zp2fAf4czGpSOgpBE=
=mFsh
-----END PGP SIGNATURE-----