comp.lang.ada
 help / color / mirror / Atom feed
From: Nick Roberts <nick.roberts@acm.org>
Subject: Re: DOM and SAX parsing in Ada
Date: Sat, 29 Jan 2005 16:54:55 +0000
Date: 2005-01-29T16:54:55+00:00	[thread overview]
Message-ID: <gemini.ib38bj0033jdt0314.nick.roberts@acm.org> (raw)
In-Reply-To: x7vllac5u32.fsf@smaug.pushface.org

Simon Wright <simon@pushface.org> wrote:

> > Regarding objective (1), I need a package that can read a DTD (a very
> > big and hairy one, in fact) and expand the general entities declared in
> > it.
> 
> I'm not completely up to speed on this, but aren't DTDs a bit old-hat? (of
> course there are many varieties of schema, I suppose old-hat-but-standard
> is better than was-current-five-years-back)

You're dead right, Simon, but OASIS uses a DTD (a whopper) for the
validation of DocBook/XML documents (see http://docbook.sourceforge.net/),
presumably because there are still more tools out there, currently, which
support DTD validation (only) rather than XML Schema validation. Perhaps
also of significance is that the DTD is used to declare appropriate default
values for various attributes and all the many DocBook character entities.

There are certain useful things that can be done by DTD (internal or
external) which, to my knowledge, cannot be done any other way. For example,
I have a need to break up a big source document into many files, and then
include them in a (logically single) DocBook document as entities.

I suspect that a lot of other people will need DTD support (if not actual
validation) for a while to come, for various reasons. It probably doesn't
hurt, if an XML processor supports DTDs at all, for it to validate. (It
/must/ also support standalone documents with no DTD!)

-- 
Nick Roberts



  reply	other threads:[~2005-01-29 16:54 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08 23:24 DOM and SAX parsing in Ada Tim Roede
2004-11-09  0:24 ` David Botton
2004-11-09  0:56   ` David Botton
2004-11-09  8:33     ` Martin Krischik
2004-11-09 13:25       ` David Botton
2004-11-09  3:14 ` Steve
2005-01-20 12:16   ` okellogg
2005-01-21 18:09     ` Nick Roberts
2005-01-24 11:26       ` Alex R. Mosteo
2005-01-24 12:16         ` Marius Amado Alves
2005-01-24 20:17           ` Georg Bauhaus
2005-01-24 21:18             ` Pascal Obry
2005-01-24 19:02         ` Marc A. Criley
2005-01-25  9:50           ` Alex R. Mosteo
2005-01-25 15:29         ` Nick Roberts
2005-01-25 18:21           ` Marc A. Criley
2005-01-26  5:39             ` Nick Roberts
2005-01-26  7:37               ` Martin Krischik
2005-01-26 12:24               ` Jeff C
2005-01-26 16:16                 ` Nick Roberts
2005-01-26 16:46                   ` Georg Bauhaus
2005-01-27 19:45                     ` Nick Roberts
2005-01-26 22:14                   ` Brian May
2005-01-27  9:28                     ` Martin Krischik
2005-01-27 19:55                     ` Nick Roberts
2005-01-28 10:05                       ` Stephen Leake
2005-01-26 23:48                   ` Stephen Leake
2005-01-27 20:05                     ` Nick Roberts
2005-01-27 20:57                       ` Marc A. Criley
2005-01-27 22:11                         ` Nick Roberts
2005-01-27 22:24                           ` Pascal Obry
2005-01-28  0:29                             ` Nick Roberts
2005-01-28  7:22                               ` Pascal Obry
2005-01-28  2:56                           ` Steve
2005-01-28 13:32                             ` Georg Bauhaus
2005-01-28 15:25                             ` Nick Roberts
2005-01-28 10:23                           ` Stephen Leake
2005-01-29 11:58                             ` Simon Wright
2005-01-28 13:47                           ` Georg Bauhaus
2005-01-29 17:08                             ` Nick Roberts
2005-01-31 14:24                               ` Marc A. Criley
2005-01-28 13:54                           ` Georg Bauhaus
2005-01-29 11:54                           ` Simon Wright
2005-01-29 16:54                             ` Nick Roberts [this message]
2005-01-28 10:17                       ` Stephen Leake
2005-01-27  4:11                   ` Jeff C
2005-01-27 19:05                     ` Pascal Obry
2005-01-27 20:15                     ` Nick Roberts
2005-01-27 22:28                       ` Pascal Obry
2005-01-28  0:30                         ` Nick Roberts
2005-01-26 14:12               ` Marc A. Criley
2005-01-27  3:59                 ` Steve
2005-01-27  9:32                   ` Martin Krischik
2005-01-27 19:27                     ` Pascal Obry
2005-01-28  3:17                       ` Steve
2005-01-28  7:14                         ` Pascal Obry
2005-01-28 10:00                         ` Stephen Leake
2005-01-28  7:47                       ` Martin Krischik
2005-01-28  9:57                       ` Stephen Leake
2005-01-28 16:36                         ` Pascal Obry
2021-11-22 13:01   ` James Hitch
2021-11-22 13:31     ` Simon Wright
2021-11-22 13:54       ` James Hitch
  -- strict thread matches above, loose matches on Subject: below --
2005-01-25  0:22 amado.alves
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox