Re: ' and xhtml

"corvid" <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <20121107175044.GB4504@local>
Jorge wrote:
> On Mon, Nov 05, 2012 at 11:53:06PM +0000, corvid wrote:
> > 
> > Jeremy wanted to add apos a long time ago, and it didn't happen then,
> > but we did give in and accept application/xhtml+xml--let's see--two
> > years ago now, so I wonder whether conditions have changed.
> 
>   Yep, things change in time...
> 
>   Although HTML 4.01 and other SPECS never succeeded to the point
> of  making  serving  valid  HTML/XHTML  a  rule of thumb, or best
> practice, things seem to have improved a bit since our early days
> (just  my  perception out of finding more and more dillo-readable
> sites these days).
> 
>   Escaping  '  as  APOS  finds  a solid reason in server contexts
> where  there's  a  need  to accept untrusted input for scripts or
> databases.
> 
>   I'd say, +1, feel free to commit.
> 
> 
>   PS: Please post a sample URL. Just to get the feel of it. ;)

It was brought to mind when I couldn't retrieve mail the other day
and checked http://lavabit.com . One of the news bits says
"We&apos;ve updated our SSL certificate."



Hmmm.... looking at the source now, I see that, on one hand, it has

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

..but, on the other hand, it says

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

..instead of application/xhtml+xml.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.