comp.lang.ada
 help / color / mirror / Atom feed
From: Wes Groleau <wesgroleau@despammed.com>
Subject: Re: XML generator
Date: Wed, 15 May 2002 11:05:47 -0500
Date: 2002-05-15T11:05:47-05:00	[thread overview]
Message-ID: <3CE2875B.F2A54C0D@despammed.com> (raw)
In-Reply-To: zakE8.2533$gD6.4485@sccrnsc01



> > On second thought, it can be used to WRITE
> > XML only if I provide the callbacks--which
> > are the very parts I was trying to avoid writing.
> 
> I belive this is only true if you're using SAX.  I think with DOM you can
> create the structures in memory and then make a single call to write the
> tree.

DOM is merely an allegedly language-independent
specification of features that must be available
in the internal representation.  Nothing about
writing out that I could see in the DOM spec.

And XML/Ada docs say that you'd have to write
callbacks to get anything out of a DOM tree.

What I am trying to do is avoid future bugs
in a tool that currently writes XML as little
independent pieces.  It has no concept of nesting
or of matching beginnings to ends, and so it's
very easy for a change to unintentionally make
the results invalid or malformed.

-- 
Wes Groleau
http://freepages.rootsweb.com/~wgroleau



  reply	other threads:[~2002-05-15 16:05 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13 21:23 XML generator Wes Groleau
2002-05-13 21:51 ` Ingo Marks
2002-05-13 22:00   ` Wes Groleau
2002-05-14 16:57     ` Wes Groleau
2002-05-15  2:59       ` Steve Doiel
2002-05-15 16:05         ` Wes Groleau [this message]
2002-05-15 16:44           ` Pascal Obry
2002-05-15 16:59             ` Marin David Condic
2002-05-15 22:20             ` Wes Groleau
2002-05-16 13:50               ` news.realtime.net
2002-05-16 14:30               ` Marin David Condic
2002-05-17  1:15                 ` Aidan Skinner
2002-05-17 13:40                   ` Marin David Condic
2002-05-18  2:32                     ` Aidan Skinner
2002-05-20 14:38                       ` Marin David Condic
2002-05-20 16:20                       ` Stephen Leake
2002-05-20 17:11                       ` Wes Groleau
2002-05-20 18:13                         ` Marin David Condic
2002-05-21 14:59                           ` Pascal Obry
2002-05-21 17:43                             ` Marin David Condic
2002-05-17 13:47                 ` Wes Groleau
2002-05-22  9:43                   ` Georg Bauhaus
2002-05-22 17:31                     ` Wes Groleau
2002-05-16  1:55           ` Steve Doiel
2002-05-16  9:49             ` Emmanuel Briot
2002-05-16 17:09             ` Wes Groleau
2002-05-19  2:54       ` David Botton
2002-05-19 20:26         ` achrist
replies disabled

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