Lists Home |
Date Index |
- From: John Cowan <email@example.com>
- To: DOM List <firstname.lastname@example.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 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)