Re: Couldn't XML allow and ignore omitted tag minimization

At 11:28 AM 02/03/97 -0800, Paul Grosso wrote:
> The benefit here is ... that a DTD can now be written that will
> work in multiple situations.  It would now be possible to write a DTD
> that both works with an XML processor as well as works with an SGML
> tool that may use OMITTAG YES.

I must be missing something.  If the DTD is to work with XML, it
*must* have "- - " before all content models of non-empty elements,
and "- O " before empty elements, if you were to put in OMITTAG YES.
So you might as well put in OMITTAG NO.  So you might as well lose 
the -'s and O's.

Can you outline a scenario where you'd want to have OMITTAG YES and
still be working with XML? - Tim

Received on Sunday, 2 March 1997 19:07:14 UTC