OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Word and XML (was: XML standards coherency and so forth)

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • 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
statement: hearsay.)

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	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:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS