Re: Body start tag. (fwd)

Dave Raggett (
Mon, 28 Jul 1997 09:13:35 -0400 ()

Date: Mon, 28 Jul 1997 09:13:35 -0400 ()
From: Dave Raggett <>
To: MegaZone <>
Subject: Re: Body start tag. (fwd)
In-Reply-To: <>
Message-ID: <Pine.WNT.3.95.970728090923.-148885G-100000@holly>

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.


-- Dave Raggett <>
phone: +44 122 578 2521 (office) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)