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

-XML-space attribute in XML draft of 14-Nov-96

From: <John_Lavagnino@Brown.edu>
Date: Fri, 15 Nov 1996 17:45:35 -0500 (EST)
Message-Id: <199611152245.RAA02563@swansong.stg.brown.edu>
To: W3C SGML Working Group <w3c-sgml-wg@w3.org>
Section 2.8 says that

   XML processors must behave as though every element encountered
   in the document had an attribute declared thus:

      -XML-space (preserve|collapse) #IMPLIED

Is it then legal or not to explicitly declare such an attribute for an
element, possible with the specification of a default value?  There's
nothing to suggest that it can't be done, except the provision in 1.5
about it being naughty to use a name beginning "-XML-" "in a fashion
other than those described in this specification".  And it does seem
to me that for documents with a DTD one would certainly often want to
be able to set a default in this manner in the DTD.

John Lavagnino
Martin Hensel Corporation and Brown University
Received on Friday, 15 November 1996 17:45:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:20 UTC