[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Can't view the source on XML pages. Bug?

From: Keith Bowes
Subject: Re: [Lynx-dev] Can't view the source on XML pages. Bug?
Date: Wed, 24 Aug 2011 14:07:50 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Je 2011-Aug-24 je 08:08, Thorsten Glaser skribis:
> Keith Bowes dixit:
> >Odd.  When I try to view the source I see:
> >application/xml D)ownload, or C)ancel
> That’s because you serve it wrong, server-side. The correct thing,
> despite what the with-each-other-conflicting “standards” say, is
> to deliver ANY kind of HTML/XHTML as text/html unless the browser
> explicitly indicates otherwise:

It is an XML document, mixing various XML namespaces, for browsers that
support them.  Sending it as text/html would just make browsers treat it
as tag soup and ignore the other namespaces.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]