Re: Body start tag. (fwd)

On Fri, 25 Jul 1997, MegaZone wrote:

> But, is there a way in a DTD to say "if nothing specified,
> assume BODY"? 

SGML rules for omitting start tags are kind of weird. You
can do this if the element is required and its content is
not empty. In addition the DTD must declare the element to
permit omission of the start tag.

One would have though that the next token would be enough
to determine which element is present, but I believe the
SGML committee was concerned over inclusions and exclusions
and ended up with a more conservative rule.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2521 (office) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Monday, 28 July 1997 09:22:01 UTC