W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > October 1996

Re: B.10 Empty elements?

From: James Clark <jjc@jclark.com>
Date: Thu, 24 Oct 1996 11:02:07 +0000
Message-Id: <2.2.32.19961024110207.00fb8b5c@jclark.iserver.com>
To: Martin Bryan <mtbryan@sgml.u-net.com>
Cc: w3c-sgml-wg@w3.org
At 10:40 24/10/96 +0100, Martin Bryan wrote:
>
>>I agree.  I admit I still like <@this> best, but <this/> would work as well.
>>As would <this!> I suppose, which hass a nice imperative feel to it...
>
>The difference between these two is that the use of @ is simply applying an 
>application convention to naming of elements while the / implies a new type
>of delimiter to complement TAGC, or a remapping of NET which requires NET to
>have a different behaviour in SGML and XML. In SGML NETs always occur in
>pairs. You cannot have <emp/ without another / to mark the end of the
>element.

Yes, you can. Using <emp/ *enables* you to close the element with another /,
but does not require it.  If emp is declared as EMPTY, then no end tag is
allowed whether you use <emp/ or <emp>.

James
Received on Thursday, 24 October 1996 06:08:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:04 UTC