how to include xml code as content in an html file?

K

kdarling

Harlan said:
What I meant was, was it a joke to label something, in a specification,
as obsolete or deprecated when there had never been a previous version
of the specification in which it could have been included as a living,
breathing component.

Yep, I think everyone got that. And you're right, it's weird to mark
something as obsolete in the first standard, and then deprecated later
on, and now just missing.

I think "xmp" is like "go to". No one wants to admit that it's useful.

All slightly tongue-in-cheek,
Kev
 
J

Jukka K. Korpela

Scripsit Harlan Messinger:
What I meant was, was it a joke to label something, in a
specification, as obsolete or deprecated when there had never been a
previous version of the specification in which it could have been
included as a living, breathing component.

No, including <XMP> in the HTML 2.0 specification was not meant to be a
joke. It was just a mistake, but you can read the reasoning behind it in the
spec itself. HTML 2.0 aimed at standardizing existing practice (and so did
HTML 3.2 later), and to cope with that, it included <XMP> without really
defining it consistently _and_ it said it should not be used. (There are two
descriptions of how <XMP> content should be parsed, and the one that is
normative is not how browsers worked and work, whereas the one described in
a note and in a DTD comment is not describable in SGML.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top