Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2000 13:34:57 -0700
From:      Jack Rusher <jar@integratus.com>
To:        Nik Clayton <nik@freebsd.org>, freebsd-arch@FreeBSD.ORG
Subject:   Re: XML configurations
Message-ID:  <39721C71.FD6CB5B2@integratus.com>
References:  <Pine.BSF.4.20.0007121328020.49102-100000@mx.webgiro.com> <20000712144510.A11316@ywing.creative.net.au> <200007130537.WAA29614@apollo.backplane.com> <20000714112117.D17372@ywing.creative.net.au> <xzppuohggib.fsf@flood.ping.uio.no> <20000714053540.A30847@holly.calldei.com> <20000714124327.A64283@mithrandr.moria.org> <396F531F.BBE0D54E@integratus.com> <20000715232447.A21066@kilt.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nik Clayton wrote:
> 
> > etc.  XML seems like the right answer for this.
> 
> Sort of.  You still need to write the DTDs, which is the harder part.

  The DTD syntax is awfully straight forward, and it is certainly easier
to write a DTD (and validating schema) than it is to write a custom
parser from scratch (even with lex and yacc).

  The XML/DTD approach is designed for a constrained problem domain that
more closely matches the needs of most configuration files than the
generalist approach of lex and yacc.

  Yes, this statement does mean that I would be willing to contribute
some time to getting DTDs written for new file formats.

-- 
Jack Rusher, Senior Engineer | mailto:jar@integratus.com
Integratus, Inc.             | http://www.integratus.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39721C71.FD6CB5B2>