Mr. Man-wai Chang wrote:
> On 12/7/2017 11:17 AM, Thomas 'PointedEars' Lahn wrote:
>> Of course they are not. You should learn the history of HTML before you
>> make such assumptions.
>
> Which part covers the conversion from "xmp" to "pre"?
Virtually *every* text about HTML, including the (HTML5) Specification(s)
itself.
> I meant the new standard scared (!) every "xmp" user to escape special
> characters by moving to "pre" ... wasting time and resources in the
> process. :)
These are a misconception and a fallacy as argued out of (your) *ignorance*
and perhaps overconfidence in understanding induced by Jukka K. Korpelas
misleading statements.
The XMP element was first specified in HTML 2.0.¹ It was already marked as
“obsolete” in HTML 3.2 of 1997-01-14, almost 21 years ago²; however, HTML
3.2 was never implemented as such (see “browser wars”).
It was no longer specified in HTML 4.01 of 1999-12-24, almost 18 years ago³,
and markup validators pointed that out⁴, so escaping special characters in
HTML was the recommendation back then already, and numerous questions in
forums in Netnews and on the Web, in tutorials, and features to that effect
in programming languages (e.g. PHP⁵, which is one of my fields of
expertise), are evidence of it. There was/is also XHTML 1.x where you
could/can, if appropriately parsed (by declaring the proper MIME media type
and encountering a supporting parser), have such content in a CDATA section
verbatim.⁶
HTML versions before 3.2 have been obsoleted by RFC 2854 in 2000-06, more
than 17 years ago.⁷
By contrast to previous versions, and due to its closer relation to browser
vendors (as I detailed before), HTML5 (2014-10-28 and later, up to more than
3 years ago⁸) is no longer based on SGML and aims to document the status of
user agent implementations at the time of publication instead. This
includes obsolete features like the “xmp” element for which support is
implemented but whose use is recommended against because they are only
historical remnants – only there because browser vendors had no pressing
need to remove the corresponding UA code *yet*. That is, the next UA code
clean-up may be the final blow to the feature on the basis of “nobody cares
about this anymore” and “there are better ways to do this”.
So, contrary to your outlandish claims, *this has been a long time coming*.
Next time *you* will do your own homework, and carry the burden of proof for
your claims, as it should be.
BTW, in belated response to your earlier statement: This is a gender-neutral
community, at least it should be. So there is no need to “declare [your]
gender”.
HTH
PointedEars
___________
¹ <
https://www.w3.org/MarkUp/html-spec/L2index.html#XMP>
² <
https://www.w3.org/TR/REC-html32#body>
³ <
https://www.w3.org/TR/1999/REC-html401-19991224/index/elements.html>
⁴ <
http://validator.w3.org/>
⁵ <
http://php.net/htmlspecialchars>
⁶ <
https://www.w3.org/TR/2002/REC-xhtml1-20020801/#h-4.8>
⁷ <
https://tools.ietf.org/html/rfc2854>
⁸ <
https://www.w3.org/TR/2014/REC-html5-20141028/>