Discussion:
' and xhtml
corvid
2012-11-05 23:53:06 UTC
Permalink
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.
Jorge Arellano Cid
2012-11-07 15:42:31 UTC
Permalink
Post by corvid
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. ;)
--
Cheers
Jorge.-
corvid
2012-11-07 17:50:44 UTC
Permalink
Post by Jorge Arellano Cid
Post by corvid
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'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.
Jorge Arellano Cid
2012-11-07 19:37:02 UTC
Permalink
Post by corvid
Post by Jorge Arellano Cid
Post by corvid
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.
Yes, that's the state of things these days...

There's almost no other way than heuristics
--
Cheers
Jorge.-
Loading...