Subject: Re: PROGN for *ML?
From: Erik Naggum <erik@naggum.net>
Date: Tue, 13 Nov 2001 15:06:17 GMT
Newsgroups: comp.lang.lisp
Message-ID: <3214652776114128@naggum.net>

* Tim Bradshaw
| 1. Am I right to think there is no general PROGN-type element in HTML?

  You could probably get away with using SPAN.

| 2. I suspect that it might be very hard to define such an element in an
| SGML/XML DTD at all, without huge work.  Basically as far as I can see
| this would have to work by saying that if any element had content model
| x, then it could also have a content model of PROGN, and somehow the
| PROGN would then have a content model of x.

  This is done by faking it.  ANY is a valid content model.  Then you write
  up a "semantic contraints" paragraph in your "specification" that burdens
  your implementation with what the *ML "validator" should have done.

///
-- 
  Norway is now run by a priest from the fundamentalist Christian People's
  Party, the fifth largest party representing one eighth of the electorate.
-- 
  Carrying a Swiss Army pocket knife in Oslo, Norway, is a criminal offense.