W3C home > Mailing lists > Public > www-html@w3.org > June 2000

RE: XHTML questions

From: Christian Smith <csmith@barebones.com>
Date: Tue, 27 Jun 2000 16:28:22 -0400
To: Piers Williams <PiersW@zinc.co.uk>
cc: www-html@w3.org
Message-ID: <20000627162822-f01010601-ed68a379@>
On Tuesday, June 27, 2000 at 21:04, PiersW@zinc.co.uk (Piers Williams) wrote:

> Why is this? I thought the whole point was that if you came across a tag you
> didn't understand, you just rendered the contents as if the tag wasn't
> there.
> This happens on both IE 3 and NN 3 and seems to be due to the '?' at the
> beginning, which begs the question why was _that_ character chosen when it
> would break backwards compatability.

<?xml version="1.0" encoding="charsetvalue" ?> is an XML Processor
Instruction (see the XML spec). Older browsers which don't know about XML
don't know how to handle this and may render it as raw text. It's not a
"tag" per se.

Christian Smith  |  csmith@barebones.com  |  http://web.barebones.com

He who dies with the most friends... Is still dead!
Received on Tuesday, 27 June 2000 16:28:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:54 UTC