[XML-SIG] How to get 4DOM to output empty <elements />

Fred L. Drake, Jr. fdrake@acm.org
Wed, 10 May 2000 10:59:12 -0400 (EDT)


Uche Ogbuji writes:
 > A) Should the default for printing empty XML elements be the short or long 
 > form?  Any different for HTML (note that the CVS 4DOM fixes bugs with HTML 4.0 
 > elements forbidden to have an end tag).
 > 
 > B) Should the printers accept optional argumuments that are lists of elements 
 > to always shorten if empty (or vice-versa if the answer to A is "yes)
 > 
 > I say "yes" to both of the above.

  I agree; I think the default should be to use the short form for
empty elements.


  -Fred

--
Fred L. Drake, Jr.	  <fdrake at acm.org>
Corporation for National Research Initiatives