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

Re: Combine RE/RS proposals?

From: Martin Bryan <mtbryan@sgml.u-net.com>
Date: Tue, 1 Oct 1996 17:06:07 +0100
To: Charles@sgmlsource.com, lee@sq.com
Cc: papresco@calum.csclub.uwaterloo.ca, w3c-sgml-wg@w3.org
Message-Id: <96Oct1.170617bst.45594(4)@u-net.net>
Charles F. Goldfarb wrote:

>> 1. No need to access a DTD to determine if an element is mixed content.
>>> 2. All REs and RSs are ignored -- full stop! (See, I'm internationalized :-)
>>> 3. Really easy parsing.
>>> 4. Much simpler to explain.

And later

>>Does "string concatenation" work?
>>    "this is line one "
>>    "this is line two "
>>    "this is line three"

but he still fails to suggest how to avoid mistakes in the following:

<p>"In the last message Peter said "Why do it this way?". I would suggest
the following: "
"as a better alternative"

Do I really have to a) escape every quote in my text (or use an entity
reference for it) b) enter required RE's as part of the quoted string?

If I have to do either of these I guarantee that half the documents I write
would be invalid XML if I made the mistake of trying to use it as an
authoring environment.
Martin Bryan, The SGML Centre, Churchdown, Glos. GL3 2PU, UK 
Phone/Fax: +44 1452 714029   WWW home page: http://www.u-net.com/~sgml/
Received on Tuesday, 1 October 1996 12:20:04 UTC

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