[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proposal: xml status output

From: Christian Hopp
Subject: Re: proposal: xml status output
Date: Fri, 7 Nov 2003 09:36:09 +0100 (CET)

On Fri, 7 Nov 2003, Jan-Henrik Haukeland wrote:

> Christian Hopp <address@hidden> writes:
> > Do you have a tight xml lib in mind or should we parse it
> > ourselves... shan't be a big deal.
> I simply suggest that we parse it ourself. Either by hand or
> preferably by using bison and a lexer[1], unless we can find a small
> GPL'ed *reentrant* xml parser (libxml is probably out of the question,
> it's to big.)
> Would you like to give it a stab Christian? If not, I can do it after
> I'm done with the 1. version of m/monit (in X weeks).

I can try... but I am absolutely no XML expert.

> [1] NOTE: The parser/lexer will need to be *reentrant* [2] and flex is
> not reentrant last time I checked, bison can be made to be reentrant.
> One option is to hand-code the lexer but use bison as the parser.
> [2] Well since we only use one httpd thread in monit, strictly
> speaking, the parser and lexer does not need to be reentrant (meaning
> that flex could be used), but it is nice to do it properly :)

What about building a parser using REs or perl REs?  REs are anyways
already in.


Christian Hopp                                email: address@hidden
Institut für Elektrische Informationstechnik             fon: +49-5323-72-2113
TU Clausthal, Leibnizstr. 28, 38678 Clausthal-Zellerf.   fax: +49-5323-72-3197

reply via email to

[Prev in Thread] Current Thread [Next in Thread]