> According to section 3.4.6, white space is allowed between the closing --
> and > of a comment.
>
> Is this correct?
Yep:
(From <gopher://gopher.ifi.uio.no/00/pub/SGML/productions>:)
[91] comment declaration (10.3, 391:1) =
( mdo ("<!"),
?( comment [92],
*( s [5]
| comment [92] ) ),
mdc (">") )
[92] comment (10.3, 391:7) =
( com ("--"),
*SGML character [50],
com ("--") )
Hm... this also allows empty comments like <!>
<!-- and multiple comments --
-- in a declaration --
-- like this. --
-- Sure enough, sgmls accepts it! --
-- You learn something new every day! --
>
There can't be a space between the <! and the first --,
however.
--Joe English
joe@trystero.art.com