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

Re: Combine RE/RS proposals?

From: <lee@sq.com>
Date: Mon, 30 Sep 96 23:53:07 EDT
Message-Id: <9610010353.AA15083@sqrex.sq.com>
To: Charles@sgmlsource.com, papresco@calum.csclub.uwaterloo.ca
Cc: w3c-sgml-wg@w3.org
> 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.

Will the obvious \" work as expected?

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

if so, it can probably be made to fly.
If not, I think it looks odd enough that you might as well but the
bullet and use RTF or TeX syntax,
\p{this is line one
this is line two
this is line three}
with no hint of backwards compatibility.

Then there is no problem.

But it all seems like overkill to me.

If you could have a top-level inclusion for #PCDATA,
we would always be in mixed content, and the collapse-as-per-mixed-content
rules would work fine in both SGML and XML.

So how about adding the possibility of +(#PCDATA) in SGML?

Lee
Received on Monday, 30 September 1996 23:53:39 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:03:25 EDT