unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* EWW: Should Not Display XML PI
@ 2019-09-24 13:48 T.V Raman
  2019-09-24 14:37 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: T.V Raman @ 2019-09-24 13:48 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

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.


[-- Attachment #2: test.html --]
[-- Type: text/html, Size: 136 bytes --]

[-- Attachment #3: Type: text/plain, Size: 6 bytes --]



-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: EWW: Should Not Display XML PI
  2019-09-24 13:48 EWW: Should Not Display XML PI T.V Raman
@ 2019-09-24 14:37 ` Lars Ingebrigtsen
  2019-09-24 15:57   ` T.V Raman via Emacs development discussions.
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2019-09-24 14:37 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

"T.V Raman" <raman@google.com> 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:

<?xml version="1.0" encoding="utf-8"?>
<html><head><title>Dont Display XML PI</title></head>
<body><p>This is a test.</p></body></html>

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: EWW: Should Not Display XML PI
  2019-09-24 14:37 ` Lars Ingebrigtsen
@ 2019-09-24 15:57   ` T.V Raman via Emacs development discussions.
  0 siblings, 0 replies; 3+ messages in thread
From: T.V Raman via Emacs development discussions. @ 2019-09-24 15:57 UTC (permalink / raw)
  To: larsi; +Cc: emacs-devel, raman

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" <raman@google.com> 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:
 > 
 > <?xml version="1.0" encoding="utf-8"?>
 > <html><head><title>Dont Display XML PI</title></head>
 > <body><p>This is a test.</p></body></html>
 > 
 > 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 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-24 15:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-24 13:48 EWW: Should Not Display XML PI T.V Raman
2019-09-24 14:37 ` Lars Ingebrigtsen
2019-09-24 15:57   ` T.V Raman via Emacs development discussions.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).