As it happens, our app uses SAX to parse documents and DOM to construct
them, so we pull in pretty much everything. In theory, if we didn't use the
DOM stuff, the linker would omit it. Even if this is the case, this approach
makes less efficient use of system resources than a DLL, because other apps
on the machine that use Xerces will have their own copy of the same code.

I don't know whether Dean's original design goal of separately buildable
subsystems could be met by revisiting the current code. That goal seems to
have dropped by the wayside some time ago, and dependencies have crept in
that may be difficult to break.

I doubt the core development team is going to take this on, because this
doesn't seem to be an issue for most Xerces users. It makes a difference to
you, so you've got more motivation than most to address the issue. Consider
exploring the issues, posting your thoughts (discussion of the problem
and/or possible solutions), and creating a patch on your own or with the
cooperation of like-minded individuals.

-----Original Message-----
From: Brendan Reville [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 3:14 PM
To: [EMAIL PROTECTED]
Subject: RE: Standalone SAX parser?


> You may need to define what you mean by "standalone SAX parser."
> We have an
> app that statically links Xerces and uses the SAX parser. (Mind you, it's
> based on a very old version of Xerces.) Is that what you mean?

The ultimate goal is to avoid a half-meg overhead in application size, when
all I need is the very simple ability to SAX parse a file.

Going by Dean's comments, I'm guessing that the statically linked app has a
fairly large executable on disk, because all the DOM stuff ends up in there
too?

- Brendan


> -----Original Message-----
> From: Brendan Reville [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 23, 2002 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: Standalone SAX parser?
>
>
>
> hi all,
>
> (I think I'll just ask this every 6 months to see if anything has
> changed :)
>
> Has anybody managed to build a standalone SAX parser?
>
> I'm trying to avoid including a half-megabyte DLL with every
> download of our
> software.
>
> thanks
>
> - Brendan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to