From: Steve Fosdick <lists@pelvoux.nildram.co.uk>
To: qemu-devel@nongnu.org
Subject: RE: [Qemu-devel] Machine description, an alternativ using XML
Date: Thu, 26 Feb 2009 13:24:49 +0000 [thread overview]
Message-ID: <1235654689.5894.132.camel@ecrins.fosdick.home.net> (raw)
In-Reply-To: <004d01c99809$fbcacf70$f3606e50$@tt@home.se>
On Thu, 2009-02-26 at 13:01 +0100, Torbjörn Andersson wrote:
> Very readable. But, I dislike the complex DTD, which needs to be maintained
> when new machine designs arrive. I believe that Classes and Objects, with
> relationships, is enough.
To me the complex DTD is, instead, an advantage.
XML already has a way of describing objects (elements) attributes of
those objects (attributes) and objects nested within those objects
(nested elements).
When you use XML in this way to natively map your data as Microsoft did
in the example you get more value from tools like the XML parser which
can do much better checking on the input. The resulting file is also
much more readable for a human.
If neither the value from the XML tools or human readability are
important then why use XML at all?
Regards,
Steve.
next prev parent reply other threads:[~2009-02-26 13:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-26 9:36 [Qemu-devel] Machine description, an alternativ using XML Jamie Lokier
2009-02-26 12:01 ` Torbjörn Andersson
2009-02-26 13:24 ` Steve Fosdick [this message]
2009-02-26 18:48 ` Andreas Färber
2009-02-26 21:47 ` Jamie Lokier
2009-02-26 19:41 ` Blue Swirl
-- strict thread matches above, loose matches on Subject: below --
2009-02-26 13:09 Jamie Lokier
2009-02-26 6:49 Torbjörn Andersson
2009-02-26 16:06 ` Paul Brook
2009-02-26 22:14 ` Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1235654689.5894.132.camel@ecrins.fosdick.home.net \
--to=lists@pelvoux.nildram.co.uk \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).