This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: The duplicate class registration problem]
- To: "David Brownell" <david-b at pacbell dot net>, <java at gcc dot gnu dot org>
- Subject: Re: The duplicate class registration problem]
- From: "Anthony Green" <green at redhat dot com>
- Date: Thu, 25 Oct 2001 14:00:43 -0700
- References: <1003994234.3798.ezmlm@gcc.gnu.org> <3BD8770C.9A19C99A@pacbell.net>
David wrote:
> implementations can be shared libraries, loaded on demand
> using
> the existing APIs. (That does work right, yes?)
Yes.
> SAX has always provided bootstrapping APIs, but DOM has yet to standardize
> on
> them ... ergo the need for JAXP support. "org.w3c.*" completely ignores
> SAX.
Oh, right. I meant "org.xml.*", which is also in libgcj.
> > org.xml.sax.XMLReader parser
> > = (XMLReader)
> >
Class.forName(System.getProperty("gnu.java.util.prefs.XMLImplementation").newI
nstance();
>
> NO NO NO!! Do not invent _yet another_ mechanism. Either use the SAX
> mechanism
Well, I didn't invent this -- it came from the Xerces SAX2 example code. If
there's a better way then will should definitely use it.
> I think you misunderstand how the implementation-neutral bootstrapping
> works,
> or were reading "libgcj should include XML support" differently than I meant
> it.
I don't understand what you're saying. What makes you think this?
> And I must say I'm amused at the implication that Xerces is not bloated;
> it's
> a fairly fat monolithic wad of stuff.
Hmm... I don't think I said that. All I said was that we shouldn't force
people into using multiple implementations at the same time.
AG