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

RE: RS/RE, again (sorry)

From: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
Date: Fri, 13 Dec 1996 21:56:02 -0500
Message-Id: <1.5.4.32.19961214025602.00ab8e90@csclub.uwaterloo.ca>
To: w3c-sgml-wg@w3.org
At 02:58 PM 12/13/96 EST, lee@sq.com wrote:
>(2) rather than using an attribute called -XML-SPACE, which looks odd and
>    perhaps even ugly, it would be better to have a PI that says
>    the attribute TYPE=LIT on the element SAMPLE
>    has this meaning:
>    <?XML SPACE PRESERVE SAMPLE TYPE="LIT">
>    <?XML SPACE COLLAPSE * TYPE="NORMAL">

While I don't like your syntax, I support the sentiment of making this
global somehow. Can't we specify that an application should presume that the
whitespace handling attribute value is "inherited" from the last element of
the same type?

Should we even consider a more general mechanism for inheriting attributes?
XML users cannot modify their DTD to get the default attributes behaviours
that they want.

 Paul Prescod
Received on Friday, 13 December 1996 21:52:59 EST

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