Lists Home |
Date Index |
- From: Toby Speight <firstname.lastname@example.org>
- To: "XML developers' list" <email@example.com>
- Date: 06 Aug 1998 13:53:37 +0100
Peter> Peter Jones <URL:mailto:firstname.lastname@example.org>
0> In article
0> Peter wrote:
Peter> "An XML processor must always pass all characters in a
Peter> document that are not markup through to the application. A
Peter> validating XML processor must also inform the application
Peter> which of these characters constitute whitespace appearing
Peter> in element content. ...
Peter> xml:space...attached to an element to signal an intention
Peter> that in that element, white space should be preserved by
Peter> applications. In valid documents, this attribute, like any
Peter> other must be declared if it is used...
Peter> But according to the first line above, the default XML processing
Peter> is preservation of whitespace. So what is the default mode of
Peter> the processor?
As I see it, parsers should preserve, and applications using those
parsers may use the xml:spcae atttribute to control how they treat the
data received from the parsers.
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/
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)