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

Uche Ogbuji uogbuji@fourthought.com
Wed, 10 May 2000 18:32:08 -0600


> Uche Ogbuji <uogbuji@fourthought.com> 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).
> 
> CVS 4DOM?  This won't entirely help; but tho only tag I have that is
> sometimes empty and sometimes not is <a>; I'd still like to see

I should clarify: "The current state of 4DOM in our CVS repository"

> <a name="blah"></a> => <a name="blah" />
>  
> > 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.
> 
> Me too, but what do I know...

This seems the consensus from both public and private messages.  We'll put in 
the fix.

--Uche