Re: RS/RE: basic questions
At 12:00 PM 9/20/96 +0100, Martin Bryan wrote:
>One of the reasons why people tend to find SGML's RE/RS processing rules
>confusing is that people want to do different things with REs in different
>contexts. Would it not be simpler to provide an architectural form that
>would add a compulsory attribute, with a default value that has to be
>specified in the DTD (if it is present, or defaults to a browser specified
>default if it is not), that allowed users to specify clearly whether or not
>they wanted RE's to be retained in a particular element, e.g.
> linebreaks (spaces|hardline|ignore-after-markup) ignore-after-markup
Just as hardly anybody ever changes their delimiter characters in their SGML
declaration (though it might be convenient), I suspect nobody would change
this "linebreaks declaration". So the default must still be extremely well
chosen because only 1 in a 100 people would know or care that the default
could be changed and only a small percentage of those would bother to change it.
And if users don't change it, browser writers probably would not provide
support for changing it (just as many SGML tools do not allow you to change
your delimiter characters).