Re: Integrity in the Hands of the Client

Paul Prescod (papresco@technologist.com)
Mon, 24 Nov 1997 03:47:21 -0500


Rick Jelliffe wrote:
> Sticking angle brackets on troff code may give you a document that is
> syntactically *valid* SGML but, because to the extent that it uses elements
> to markup processing instructions, the document does not *conform* to
> SGML. Such conformance cannot be judged mechanically, but by looking at the
> definitions in ISO 8879 for processing instructions and elements.

"Element: A component of the hierarchical structure defined by a
document type definition;"

> People often seem to think "SGML is a grammar; I can markup all sorts of
> sloppy things; therefore SGML is a bad grammar".

I would have thought that that flexibility makes SGML a *good* grammar.
SGML would be a GOOD encoding for (e.g.) a typesetting language. In
fact, it already is used in this way for SPDL.

Paul Prescod