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: "Mustard, Sandy" <mustard AT ugs.com>
  • To: <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Reading a config file
  • Date: Fri, 20 Oct 2006 17:12:16 -0400


No, but in private mail, there was mention of using OOTB Java properties
or preferences.

Sandy Mustard

-----Original Message-----
From: xom-interest-bounces AT lists.ibiblio.org
[mailto:xom-interest-bounces AT lists.ibiblio.org] On Behalf Of New, Cecil
(GE Infra, US)
Sent: Friday, October 20, 2006 2:49 PM
To: Michael Kay; Nils Kilden-Pedersen; xom-interest AT lists.ibiblio.org
Subject: Re: [XOM-interest] Reading a config file

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