[Bug 5300] [Serialization] Empty elements in HTML

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5300





------- Comment #1 from zongaro@ca.ibm.com  2007-12-03 14:53 -------
Sigh!  According to the minutes of the teleconference of 2005-06-23 (Item 4j in
this members only URI [1]), the XSL WG discussed this issue and agreed that it
should be serialized as <link>some content</link>, and suggests that the
wording should be same as for the xhtml output method.  

However, now that I look at it, section 6 describing the xhtml output method
doesn't seem to deal with the issue either, so I'm not sure how using that as a
model would have helped.  It describes the style of empty element tag to use to
serialize an XHTML element whose content model is EMPTY and the style of empty
element tag to use to serialize an XHTML element whose content model is not
EMPTY, but which has no children, but it doesn't say how to deal with an
element that has children but whose content model is EMPTY in XHTML.

In addition to Michael's proposed change in comment #0, I suggest the following
change to section 6:

Change start of the second item in the list from:
  "Given an XHTML element whose content model is EMPTY, . . . "
to:
  "If an element that has no children is an XHTML element with an EMPTY content
   model, . . ."

Received on Monday, 3 December 2007 14:53:52 UTC