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

Understanding the Paoli proposal

From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Date: Fri, 13 Dec 1996 20:35:32 -0500
Message-Id: <1.5.4.32.19961214013532.00aae59c@csclub.uwaterloo.ca>
To: "'w3c-sgml-wg@w3.org'" <w3c-sgml-wg@w3.org>
At 02:11 PM 12/13/96 -0800, Jean Paoli wrote:
>this is why I was saying that the current XML spec was more convenient
>that the one I proposed in my mail: every application can decide how to 
>deal with this. The authorial intent  has not been expressed here.

I'm getting lost in all of these proposals and amendments. If I want this
paragraph to look "right" in all applications, what do I do:

<P>If I want this <B>paragraph</B> <I>to look right</I> in all applications</P>

or

<P -XML-SPACE=PRESERVE>If I want this <B>paragraph</B> <I>to look right</I>
in all applications</P>

My understanding is the latter, because the former gives applications the
right to "arbitrarily" remove whitespace, and between the B and the I might
well look like a reasonable place to do so.

What happens if I turn "on" PRESERVE mode in element content. Should a
validating parser tell me that my authorial intent is in contravention of my
DTD? Should it just silently eat the whitespaces despite my authorial
intent? Should it return a grove that is not valid according to the DTD?

Thanks for any enlightenment,

 Paul Prescod
Received on Friday, 13 December 1996 20:32:27 EST

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