[XML-SIG] SAX: distinguising empty and non-empty elements?

Juergen Hermann Juergen Hermann" <jh@web.de
Mon, 02 Sep 2002 10:53:58 +0200


On 02 Sep 2002 06:45:09 +0200, Martin v. Loewis wrote:

>Of course, if you process the DTD, you can tell the difference, right?
>So an application that wants to make the distinction can, no?

You can detect whether an element has an EMPTY content model, which 
makes it a little easier to _generate_ the short form.

That still makes <t/> and <t></t> equivalent and undetectable on the 
standard processing levels.



Ciao, J=FCrgen

--
J=FCrgen Hermann, Developer
WEB.DE AG, http://webde-ag.de/