comp.lang.ada
 help / color / mirror / Atom feed
From: "björn lundin" <b.f.lundin@gmail.com>
Subject: Re: xml/ada dropping data when pre-defined entities are separated by space?
Date: Mon, 31 Jan 2011 12:17:02 -0800 (PST)
Date: 2011-01-31T12:17:02-08:00	[thread overview]
Message-ID: <99fdb5e5-6030-4569-8780-50cda79345e9@t8g2000vbd.googlegroups.com> (raw)
In-Reply-To: 782436de-8a75-450d-be79-1efe555c4f5e@u3g2000vbe.googlegroups.com

On 31 Jan, 15:56, Emmanuel Briot <briot.emman...@gmail.com> wrote:
> > I was just going to ask what makes xml/ada decide why a textnode is
> > sometimes split into several nodes. I see the pattern now, of course,
> > 'split on predefined entity' but why?
>
> Because XML/Ada tries to be as efficient as possible, and normalizing
> the document takes time that a lot of application have no need for. If
> indeed your application is only able to deal with normalized document
> (it really shouldn't, the XML standard is quite clear that a document
> is not necessarily normalized), then indeed you should call Normalize.

ok. Thanks for the info. This part of xml i did not know; but i see
the need for splitting
Into chunks, but i thought that was most of concern for big
textnodes.
Never take anything for granted iss the lesson learned.
/björn



  reply	other threads:[~2011-01-31 20:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-27 10:06 xml/ada dropping data when pre-defined entities are separated by space? björn lundin
2011-01-27 11:12 ` Georg Bauhaus
2011-01-29 15:36   ` björn lundin
2011-01-29 17:13     ` Simon Wright
2011-01-29 21:49       ` björn lundin
2011-01-29 22:24         ` Simon Wright
2011-01-31  0:22         ` Georg Bauhaus
2011-01-31  8:04           ` björn lundin
2011-01-31 14:56             ` Emmanuel Briot
2011-01-31 20:17               ` björn lundin [this message]
2011-02-01  9:49               ` björn lundin
2011-02-01 18:24                 ` Vadim Godunko
replies disabled

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