Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Reading a config file

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Michael Kay" <mike AT saxonica.com>
  • To: "'Nils Kilden-Pedersen'" <nilskp AT gmail.com>, <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Reading a config file
  • Date: Fri, 20 Oct 2006 18:33:33 +0100

>
> The problem with SAX is that you have to keep your own state,
> and you have to read the data in the order it's been
> serialized in. It's just more work than it's worth for
> parsing a config file.
> For arbitrary data streams, it's fine, in fact it's great.

Actually, I would have said it was ideal for config files because they are
usually so simple and there's very little state to maintain.

Michael Kay
http://www.saxonica.com/





Archive powered by MHonArc 2.6.24.

Top of Page