- From: James Clark <jjc@jclark.com>
- Date: Fri, 25 Oct 1996 10:39:50 +0000
- To: Martin Bryan <mtbryan@sgml.u-net.com>
- Cc: w3c-sgml-wg@w3.org
At 06:54 25/10/96 +0100, Martin Bryan wrote: >At 11:02 AM 24/10/96 +0000, James Clark wrote: > >>Yes, you can. Using <emp/ *enables* you to close the element with another /, >>but does not require it. If emp is declared as EMPTY, then no end tag is >>allowed whether you use <emp/ or <emp>. >> >But it still only works if you specifically restrict the use of NETs to >EMPTY elements. How does an SGML system impose this constraint? It doesn't, but it doesn't matter to an SGML parser since it must have the DTD. It is the same situation as with other cases where XML imposes restrictions beyond those in SGML: an SGML parser will be able to parse the XML document, but will not be able to enforce the XML restrictions. James
Received on Friday, 25 October 1996 05:45:42 UTC