comp.lang.ada
 help / color / mirror / Atom feed
From: Emmanuel Briot <briot.emmanuel@gmail.com>
Subject: Re: xml/ada dropping data when pre-defined entities are separated by space?
Date: Mon, 31 Jan 2011 06:56:18 -0800 (PST)
Date: 2011-01-31T06:56:18-08:00	[thread overview]
Message-ID: <782436de-8a75-450d-be79-1efe555c4f5e@u3g2000vbe.googlegroups.com> (raw)
In-Reply-To: c4e6eada-7ca3-4add-9aca-b6ca828ef73a@d21g2000vbf.googlegroups.com

> 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.



  reply	other threads:[~2011-01-31 14:56 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 [this message]
2011-01-31 20:17               ` björn lundin
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