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

Empty tag solution?

From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Date: Fri, 08 Nov 1996 13:50:39 -0500
Message-Id: <1.5.4.32.19961108185039.00752efc@csclub.uwaterloo.ca>
To: W3C-SGML-WG@w3.org
As I understand the situation, the ERB wants to make an XML-subset
compatible with existing HTML browsers by including a list of empty tags in
the specification. I am not thrilled with this sort of ad hocery, but I
understand the urge to allow a smooth migration from HTML to extended HTML
to XML.

But perhaps the solution is to change the HTML DTD and instances, instead of
the XML standard. What if we changed the content model of all X-HTML empty
elements so that they were no longer empty. Then an X-HTML document would
look like this:

<P> This is an <IMG SRC="foo.gif"></IMG><BR></BR>
And a background sound <BGSOUND HREF="sound.au"></BGSOUND>
</P>

This isn't valid HTML, but neither is HTML with XML tags in it. NS 3.0 and
IE 3.0 seem to support it. Those who want to do generic markup in other DTDs
using traditional authoring tools can do the same thing. Get rid of the
empty elements, fix up the existing documents and wait for real XML support.

 Paul Prescod
---
Boycott Shell Oil worldwide!  http://www.web.apc.org/embargo/shell.htm    

"Shell is here on trial and it is as well that it is represented by counsel
said to be holding a watching brief."..."The ecological war that the Company
has waged in the Delta will be called to question sooner than later." -Ken
Saro-Wiwa to the tribunal that later executed him.
http://www.goldmanprize.org/goldman/ken.html
Received on Friday, 8 November 1996 13:48:58 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:03:42 EDT