TBodies ...
John Cowan
cowan at locke.ccil.org
Fri Oct 9 15:42:06 BST 1998
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 at 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 at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list