Re:Foolproof HTML
by tannhaeuser on Sunday February 05, 2017 @12:48PM
(#13573495)
> You really don't seem to understand the difference between syntax and semantics.
Are you talking to me? I've just pointed out how SGML works and didn't say anything about syntax/semantics.
Yes, I'm talking to you. You're right, you didn't say anything about syntax and semantics. I did. Go back to the beginning of the thread:
> > If you have a good strategy for validating your template files, I'd love to hear it!
> Use S-expression syntax instead of SGML syntax [emphasis added]
Note the use of the word syntax. I'm talking about syntax. All of your responses have been at best irrelevant or at worst wrong because you either don't understand what syntax is, or you chose to ignore it. It's damned annoying, particularly when you start making demonstrably false claims like, "it's nowhere close to the power of SGML as a text format" (https://news.ycombinator.com/item?id=13569991).
Re:Foolproof HTML
by tannhaeuser on Sunday February 05, 2017 @02:46PM
(#13574153)
If reality is so annoying to you, please refrain from (trash-)talking to me.
Reality is not annoying. Straw-man arguments are.
By way of contrast, this is syntactically incorrect:
So is this: There is no DOM that corresponds to those two examples.One of the (many) problems with SGML is that it muddies the distinction between syntax and semantics. That is one of the (many) reasons that using S-expression syntax to write SGML-like languages is advantageous.