comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: XML generator
Date: Tue, 21 May 2002 13:43:07 -0400
Date: 2002-05-21T17:43:10+00:00	[thread overview]
Message-ID: <ace0ve$epl$1@nh.pace.co.uk> (raw)
In-Reply-To: usn4l4kdm.fsf@wanadoo.fr

A "patch" in this case would pretty much amount to a rewrite. Its based on a
discriminated record. How could you realize an OO implementation based on a
"Node" class with descendents for all the different XML elements without
pretty much annihilating everything that is already there? Check out the
description of DOM level 1 here:
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core.html#ID-BB
ACDC08 and you'll notice that the XMLAda implementation - while it may
satisfy the requirements - doesn't exactly follow in the spirit of
everything inheriting from a Node class. I'm not criticizing - just
observing that a more OO design could have been done that would line up
better with the spec. Changing something this fundamental would likely
butcher it.

Even if you could somehow re-map the whole thing into tagged records with
inherited operations, you'd be dramatically changing the interface which
would kill anything currently using it. You could certainly salvage large
chunks of code but I'd think it would be better to develop one from bottom
dead center than to try to hammer XMLAda into a whole different mold.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com


"Pascal Obry" <p.obry@wanadoo.fr> wrote in message
news:usn4l4kdm.fsf@wanadoo.fr...
>
> Not a problem, just propose a patch to have XMLAda more OO... No kidding,
> XMLAda is ours, it is up to us to make it better...
>






  reply	other threads:[~2002-05-21 17:43 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
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 [this message]
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