> -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of [email protected] > Sent: Tuesday, June 22, 2010 2:49 PM > To: rsyslog-users > Subject: Re: [rsyslog] any concerns about libxml > > On Tue, 22 Jun 2010, Rainer Gerhards wrote: > > > As a question related to the config issue: does anyone have concerns > about > > the libxml library? After what I have seen, it seems to be fairly > portable, > > stand-alone and widely used. But I have zero experience selecting XML > > toolkits, thus I ask... > > the gold standard in portability and speed is still expat as far as I > know. It's fallen out of favor in recent years as it really wants to > process the entire XML document in one pass (but it does have callbacks > so > that it can handle learning about new tags as you go along). with > multi-meg/gig XML documents you really need to have an incramental > parser, > but rsyslog shouldn't need to deal with such large entities ;-)
And as a related note, speed is NOT something I am concerned about. After the config file is processed, the parser will never be used again. But dependencies (what does it drag in to a minimal system) is probably a concern. Rainer _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

