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: "New, Cecil (GE Infra, US)" <cecil.new AT ge.com>
  • To: "Michael Kay" <mike AT saxonica.com>, "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 14:49:15 -0400

No one mentioned ASF Jakarta Commons Configuration
http://jakarta.apache.org/commons/configuration/

-----Original Message-----
From: xom-interest-bounces AT lists.ibiblio.org
[mailto:xom-interest-bounces AT lists.ibiblio.org] On Behalf Of Michael Kay
Sent: Friday, October 20, 2006 1:34 PM
To: 'Nils Kilden-Pedersen'; xom-interest AT lists.ibiblio.org
Subject: Re: [XOM-interest] Reading a config file

>
> 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/

_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest




Archive powered by MHonArc 2.6.24.

Top of Page