[fpc-pascal] sax.pp

Tony Pelton tpelton at gmail.com
Wed Dec 28 01:38:41 CET 2005


On 12/27/05, Sebastian Günther <sguenther at gmx.de> wrote:
> Tony Pelton schrieb:
> > hi all,
> >
> > i'm a pascal noob, but not a new programmer.
> >
> > i've done a fair bit of XML parser work in Java.
> >
> > i was trying to figure out how to do parsing with SAX in pascal last night.
> >
> > i'm very confused.
>
> Okay I can imagine this... ;)
>
> the actual SAX support is for HTML parsing only. The XML parser can only
> create DOM documents, without using the SAX layer.

hmmm ...

ok, let me make sure i understand.

the code in "sax.pp" is not for general use as a sax parser but is in
support of some other code, somewhere else, for doing html parsing ?

ok.

that's kind of a bummer.

i guess i'll have to go back to the drawing board for what i'm trying to do.

marshalling the entire XML document into memory is potentially
problematic for my application.

> Regards,
> Sebastian

thanks,
Tony



More information about the fpc-pascal mailing list