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

Re: Element content the real issue?...

From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Date: Mon, 30 Sep 1996 13:05:51 -0400
Message-Id: <1.5.4.32.19960930170551.00d809e0@csclub.uwaterloo.ca>
To: w3c-sgml-wg@w3.org
At 12:10 PM 9/30/96 -0400, David G. Durand"  (David G. Durand wrote:
>This same problem occurs for spaces and tabs in element content. My
>original proposal (for SGML) avoids this problem because \n and \r
>characters would be declared as SPACE characters, and thus would be ignored
>in element content. But for XML, we have a problem with any kind of space
>elimination in element content when used with DTD-less processing. It's
>easy to use my approach with SGML, but with XML, there is a real problem
>because without a DTD, we can't tell the difference between element content
>and other content.

According to the proposal:

1. All white space, including RS and RE, immediately following start tags and
   immediately preceding end tags is not significant.

>  So, contra your claim, and my previous assumptions, RE handling is not
>the key issue here.  Whatever we decide on RE processing we will still have
>to deal with element content in a nasty way because of other whitespace
>being treated as data. 

I believe that the proposal handles this in an SGML-compatible way.

 Paul Prescod
Received on Monday, 30 September 1996 13:11:00 EDT

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