(no subject)

Toby Speight tms at ansa.co.uk
Thu Aug 6 14:52:25 BST 1998


Peter> Peter Jones <URL:mailto:peterj at wrox.com>

0> In article
0> <c=GB%a=_%p=Wrox_Press%l=WROX2-980806122539Z-595 at mail.wrox.co.uk>,
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:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list