From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a525118741961e98 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!g11g2000vbq.googlegroups.com!not-for-mail From: Vadim Godunko Newsgroups: comp.lang.ada Subject: Re: xml/ada dropping data when pre-defined entities are separated by space? Date: Tue, 1 Feb 2011 10:24:02 -0800 (PST) Organization: http://groups.google.com Message-ID: <2d90cbac-1b11-40ad-948b-a7572e0b1745@g11g2000vbq.googlegroups.com> References: <05aafe44-cdd9-4c28-8e3f-24ecd9067ab3@u6g2000vbh.googlegroups.com> <4d415333$0$6769$9b4e6d93@newsspool3.arcor-online.net> <839dbe65-e971-4db7-ad25-269253f02c69@c10g2000vbv.googlegroups.com> <5e91567e-883f-428c-b01e-ee51e91ca30f@o8g2000vbq.googlegroups.com> <4d4600c9$0$6880$9b4e6d93@newsspool2.arcor-online.net> <782436de-8a75-450d-be79-1efe555c4f5e@u3g2000vbe.googlegroups.com> <007966e9-4cf4-4f91-ac54-99a3a34ff7ca@k16g2000vbq.googlegroups.com> NNTP-Posting-Host: 93.178.72.224 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1296584642 14185 127.0.0.1 (1 Feb 2011 18:24:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 1 Feb 2011 18:24:02 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g11g2000vbq.googlegroups.com; posting-host=93.178.72.224; posting-account=niG3UgoAAAD7iQ3takWjEn_gw6D9X3ww User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:16822 Date: 2011-02-01T10:24:02-08:00 List-Id: On Feb 1, 12:49=A0pm, bj=F6rn lundin 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-11C984= 90 "... 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.