comp.lang.ada
 help / color / mirror / Atom feed
From: Vadim Godunko <vgodunko@gmail.com>
Subject: Re: xml/ada dropping data when pre-defined entities are separated by space?
Date: Tue, 1 Feb 2011 10:24:02 -0800 (PST)
Date: 2011-02-01T10:24:02-08:00	[thread overview]
Message-ID: <2d90cbac-1b11-40ad-948b-a7572e0b1745@g11g2000vbq.googlegroups.com> (raw)
In-Reply-To: 007966e9-4cf4-4f91-ac54-99a3a34ff7ca@k16g2000vbq.googlegroups.com

On Feb 1, 12:49 pm, björn lundin <b.f.lun...@gmail.com> wrote:
>
> Isn't this the case of the first sentence?
Not exactly. Your document contains entity references, but references
to predefined entities are replaced by corresponding characters, see

http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-11C98490

"... Note that character references and references to predefined
entities are considered to be expanded by the HTML or XML processor so
that characters are represented by their Unicode equivalent rather
than by an entity reference. ..."

So, now your are right, it is a bug in DOM tree construction.



      reply	other threads:[~2011-02-01 18:24 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
2011-02-01  9:49               ` björn lundin
2011-02-01 18:24                 ` Vadim Godunko [this message]
replies disabled

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