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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: TBodies ...

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: DOM List <www-dom@w3.org>
  • Date: Fri, 09 Oct 1998 09:41:24 -0400

Don Park wrote:

>> In other words, should the *implict* <TBODY> in the above
>> HTML fragment tag be *explicitly* represented in the DOM?
> I didn't answer this question earlier because there is no clear anwer.
> The DOM spec is very vague in this area.

SGML rules, however, are not.  An element with "O O" omissibility
*exists* whether its tags appear in the source or not.  Thus
every HTML-DOM must have HTML as the top-level element even if
there are no HTML tags.  The same rule applies to HEAD, BODY, and
TBODY.  (SGML weenies on XML-DEV: am I wrong?)

> Yes, I would like to assume that all table rows are inside table section
> elements.  But then I would also like to be able to add some custom elements
> or attributes into my document.
> Perhaps what we need is a way to have two views of a Document.  A 'perfect
> world' view of the document for predictability and a 'anything goes' view of
> a document for flexibility.

I don't see this as a problem.  This is not about rejecting what is
there, but treating what does not appear as present.

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