Lists Home |
Date Index |
- From: John Cowan <email@example.com>
- To: XML Dev <firstname.lastname@example.org>
- Date: Mon, 25 Jan 1999 12:59:46 -0500
David LeBlanc wrote:
> I think HTML itself left the door open by allowing ommited tags. Wasn't it
> one goal of xml to close the loose idea of what what good markup is?
Actually, valid HTML has nothing loose about it. It's the HTML
browsers which accept random valid or invalid HTML. Tag omission
is a standardized part of HTML: for some elements you can omit
end-tags, for others you can't. A few elements (HTML, HEAD, BODY,
TBODY in TABLEs) allow both start-tags and end-tags to be omitted;
i.e. they are present whether their tags are visible or not.
The real difference in this respect between HTML and XML is that
XML mandates draconian error processing (refusing to parse
un-well-formed documents), and that was put into the spec at
the demand of the major browser vendors, who were tired of playing
we-can-accept-more-bogus-HTML-than-you games. (Source of this
John Cowan http://www.ccil.org/~cowan email@example.com
You tollerday donsk? N. You tolkatiff scowegian? Nn.
You spigotty anglease? Nnn. You phonio saxo? Nnnn.
Clear all so! 'Tis a Jute.... (Finnegans Wake 16.5)
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)