Valid vs. well formed Documents

Some weeks ago, I raise the question if any well formed XML document can
be "upgraded" to a valid XML document. Occasionally I was misunderstood
to raise the question on good or bad DTDs.

So I want to raise the question again with a simple example:



<wellformed>
   <empty, x="foo"/>
   <empty, x="bar">now empty is not empty</empty>
</wellformed>


Is this fragment part of a well formed document?



Regards/Mit freundlichen Gruessen
===================================================================
Bernhard Weichel              Phone:  (49) 711 811 8322
Robert Bosch GmbH               Fax:  (49) 711 811 8262
Dept. K3/EES4                 eMail:  bernhard.weichel@pcm.bosch.de
P.O. Box 30 02 40                     
D-70442 Stuttgart
Germany

Received on Monday, 9 June 1997 09:55:42 UTC