W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > December 1996

Re: RS/RE, again (sorry)

From: Gavin Nicol <gtn@ebt.com>
Date: Fri, 13 Dec 1996 08:51:23 -0500
Message-Id: <199612131351.IAA00345@nathaniel.ebt>
To: papresco@calum.csclub.uwaterloo.ca
CC: crm@ebt.com, w3c-sgml-wg@w3.org
>Sure, as long as you are willing to a) do away with existing SGML parsers
>and b) forgo reliable whitespace removal in element content, which will lead
>to c) no whitespace in element content, or only whitespace in element
>content according to the rules that Microsoft and Netscape dictate.

This is not really true: the rules to eliminate unwanted whitespace
would not be overly complex, and besides, if you are really so keen on
doing exactly the same thing as current SGML tools, you can either:
   a) Use them by using the declarations for XML
   b) Add a validator/grove transformer that *requires* a DTD, and
      which will give you what you want.

>>As long as we have DTD-less parsing, this is the *only* option that
>>will give the same parse tree.  
>Not so. We could put information in the instance to differentiate mixed
>content from element content.

Sure, but this has it's own set of (large) usability problems as
people have pointed out.

The easiest thing: use LISP syntax.
Received on Friday, 13 December 1996 08:52:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:05 UTC