Lists Home |
Date Index |
- From: Randy Bryan <rbryan@CapAccess.org>
- To: XML Developer List <firstname.lastname@example.org>
- Date: Wed, 4 Aug 1999 20:49:49 -0400 (EDT)
Thanks John for your reply.
You state that xml:space="default" is the attribute used
when it's not explicitly stated.
It is difficult for me to understand the XML Spec.
See the quote-section-2.10 below.
It led me to believe that xml:space="preserve" is used
when not specified.
But then other parts of the spec conflict with that assumption.
You've set me straight. xml:space="default" is used
at the root when not explicitly stated. Thanks.
That said, why would you want to explicitly set it to the default in the
top-level element (or, even if it were legal, in the XML declaration)? That
would be redundant. The only place xml:space="default" makes sense is in
the context of an ancestor element with xml:space="preserve". Like:
On the occasion of the poet's
An XML processor must always pass all characters in a document that
are not markup through to the application. A validating XML processor
must also inform the application which of these characters constitute
white space appearing in element content.
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)