From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: EWW: Should Not Display XML PI Date: Tue, 24 Sep 2019 08:57:27 -0700 Message-ID: <23946.15591.305975.622797@retriever.mtv.corp.google.com> References: <20190924134805.BB577C20277@raman-glaptop.localdomain> <87sgolzrox.fsf@gnus.org> Reply-To: "T.V Raman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="203543"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org, raman@google.com To: larsi@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 24 18:58:53 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iCo9N-000qnG-Aa for ged-emacs-devel@m.gmane.org; Tue, 24 Sep 2019 18:58:53 +0200 Original-Received: from localhost ([::1]:48510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCo9L-0001fC-Nm for ged-emacs-devel@m.gmane.org; Tue, 24 Sep 2019 12:58:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54801) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCnC1-0002dg-Ts for emacs-devel@gnu.org; Tue, 24 Sep 2019 11:57:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCnBz-0001Jg-RR for emacs-devel@gnu.org; Tue, 24 Sep 2019 11:57:33 -0400 Original-Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:37584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCnBz-0001J2-Js for emacs-devel@gnu.org; Tue, 24 Sep 2019 11:57:31 -0400 Original-Received: by mail-pf1-x434.google.com with SMTP id y5so1633694pfo.4 for ; Tue, 24 Sep 2019 08:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=IRCCxbSpnj091eeZEcCmXCNlMHU/qLd2vgKoE5ptlYs=; b=h8u/OkQ/JH5wWlrY6LdzIb1HmkO6nHDQU/LDe+l9ePnFs4dPbzz9Sj/LDjiIOcjpjb m/PDlj4Zr3aoJAyEhiwOwwe4IvM2nbvEKuNeQULCNMuvV7CraCEV2FWu33WeBuJcmizZ BWWae2Dughfn2CTlu4dVbvA+DDXziAjlTiUFo9t0ty+ZBhSTLQxzpbwu65dR4QscafQl Uu1rdZ39d5VJFpf87fgZDKJ9Ywy+dg7ufWaAbXF/IgfbUm+BDiu7zFMKWPBhpzJm/d4p AtoHatOmGl8zvAu1TzZFc3UUk8e8fSBRMLcKW2eEPn8CyZuD9Sc5q5XsCnqPgqtTDF7Z z1bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=IRCCxbSpnj091eeZEcCmXCNlMHU/qLd2vgKoE5ptlYs=; b=GG/DXWlaPtdDdyvoLhH/hx+Kn2ElYrgiWUCCwAIORc4jm3koC2pcsHpeeGnGE0uCiW MBgKeXas6hmzmjH1pf9OL6AP/+FafzK2DAL8jrRLtyAXzWNJZlzBRVUNcB/jiJa5d+LB MtYLWL8fgpwsVbAeLP77KWvruSUtdPGT67RlT1iBLoJBZAopkQLePBceLYKFd3k2Acwd VfYgXQHeYHiz+YqCdzxIaRZD9pK2OKrI5jxfm9jF88sJIN8hHIbkFRvd7JyF4wmDTxiL d6LCk4ZeJhLJyBA8M1t5aspEs3AFlWX1uNkvJ+wGVQYbicw8B5girWoe0NkJkvtru3F2 LQHw== X-Gm-Message-State: APjAAAUuSz1SEoCfL5gGWkzEFx3AxFqyBlH8a0cls4k3JOwrEVlljled e8bK39HuJGcj62+qFcK6oairRDATwIc= X-Google-Smtp-Source: APXvYqy7vXjYR5yI6WFOG2IWxN5Ef+QI2sMwftsu/HVioxuX8kXXVUFwBksszVCzgpfC6zv8yiAvVw== X-Received: by 2002:a62:d445:: with SMTP id u5mr4262196pfl.92.1569340649519; Tue, 24 Sep 2019 08:57:29 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([172.22.80.88]) by smtp.gmail.com with ESMTPSA id n9sm283293pjq.30.2019.09.24.08.57.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2019 08:57:28 -0700 (PDT) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id 6AB201E0792; Tue, 24 Sep 2019 08:57:27 -0700 (PDT) In-Reply-To: <87sgolzrox.fsf@gnus.org> X-Mailer: VM 8.1.1 under 27.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::434 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240278 Archived-At: Get same as you got from libxml-parse-html-region -- but I see the XML PI in the rendered result. Will check is something else at my end is causing the error Lars Ingebrigtsen writes: > "T.V Raman" writes: > > > See attached file, it's a simple HTML file, but with the XML > > Declaration at the top --- after updating Emacs from Git@Head, EWW now > > displays the XML PI when the HTML is rendered. > > I'm unable to reproduce this bug. > > If I call libxml-parse-html-region (which eww uses) on the text below: > > > Dont Display XML PI >

This is a test.

> > I get: > > (html nil (head nil (title nil "Dont Display XML PI")) (body nil (p nil "This is a test."))) > > without any of the XML stuff. > > What do you get here? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -- Id: kg:/m/0285kf1 -- Id: kg:/m/0285kf1