Re: [Lynx-dev] lynx misrenders many *IN*valid xhtml5 pages on my site

2023-06-15 Thread Lennart Jablonka
Quoth Thorsten Glaser: Nope: HTTP_ACCEPT='text/html, text/plain, text/sgml, text/css, */*;q=0.01' Indeed. I was using an older version of lynx. It seems v2-9-0dev_0l regressed in dropping application/xhtml+xml from Accept. That’s a consequence of: --- a/src/HTInit.c +++ b

Re: [Lynx-dev] lynx misrenders many *IN*valid xhtml5 pages on my site

2023-06-15 Thread Thorsten Glaser
Lennart Jablonka dixit: >> Yes, but then it MUST send HTML-compatible things or it’s not >> an XHTML page. As simple as that. (I also serve my XHTML as >> text/html always and just write it in compatible mode.) > > I don’t buy this. What is and isn’t XHTML isn’t dependent on what the > client dec

Re: [Lynx-dev] lynx misrenders many *IN*valid xhtml5 pages on my site

2023-06-15 Thread Lennart Jablonka
Quoth Thorsten Glaser: There’s HTML-compatible XHTML, which you can serve as text/html, and there’s nōn-HTML-compatible XHTML, which you must serve as application/xhtml+xml, yes and if you expect to serve websites you may serve the latter only if explicitly requested by the browser because th

Re: [Lynx-dev] lynx misrenders many *IN*valid xhtml5 pages on my site

2023-06-15 Thread Thorsten Glaser
Lennart Jablonka dixit: > Handling XHTML approximately by treating it as HTML-syntax HTML may be useful > in stead of refusing to handle XHTML, but that is not implementing XHTML. Yes, but the onus is on the *server* to provide the data in a format the client can handle because native XHTML-as-XM

Re: [Lynx-dev] lynx misrenders many *IN*valid xhtml5 pages on my site

2023-06-15 Thread Lennart Jablonka
Quoth Thorsten Glaser: Handling XHTML approximately by treating it as HTML-syntax HTML may be useful in stead of refusing to handle XHTML, but that is not implementing XHTML. Yes, but the onus is on the *server* to provide the data in a format the client can handle because native XHTML-as-XML s

Re: [Lynx-dev] lynx misrenders many *IN*valid xhtml5 pages on my site

2023-06-15 Thread Thorsten Glaser
Lennart Jablonka dixit: > I see we are in agreement that > > is not /invalid/ due to omission of space before /> or due to self-closing It’s not a valid webpage. It’s an XML document, but not a webpage. > I read that a