Re: Interpretation of RE

James Clark (jjc@jclark.com)
Tue, 18 Apr 95 12:52:08 EDT

> Date: Sun, 16 Apr 95 07:51:45 EDT
> From: connolly@w3.org (Dan Connolly)
>
> For a while, this was in the SGML declaration for HTML:
>
> SPACE 32
> TAB SEPCHAR 9
> LF SEPCHAR 10
> FF SEPCHAR 12
> CR SEPCHAR 13
>
> -- The above is an accurate description of the usage of FUNCTION --
> -- characters in HTML implementations; that is, there is no --
> -- Record Start or Record End character, and no occurences of --
> -- character 10 or 13 are "ignored" by the parser. --
> -- But because few SGML implementations support this concrete --
> -- sytax, we include the one below. --
>
> -- RE 13
> RS 10
> SPACE 32
> TAB SEPCHAR 9 --
>
> While it "fixes" this problem, it makes life very difficult for sgmls users.

SGML requires that RE and RS function characters be declared. This

FUNCTION SPACE 32
TAB SEPCHAR 9
LF SEPCHAR 10
FF SEPCHAR 12
CR SEPCHAR 13

is not syntactically allowed in an SGML declaration.