White Space

Tim Bray tbray at textuality.com
Sat Aug 1 01:09:14 BST 1998


At 03:15 PM 7/31/98 -0700, Portillo, Christina wrote:
>In reading 2.10 Whitespace I don't come away with a clear picture what
>whitespace is and isn't being passed on through the processor to an
>application. Can someone clarify this for me?

All white space in the document, regardless of where it appears, must
be passed through to the application under all circumstances.  One
twist on this - line-end sequences (CR, LF, CRLF) are all normalized
to a single LF.

You might want to take a look at the annotated spec at xml.com 

>Question 3:
>	"A validating XML processor must also inform the application
>which of these characters constitute white space appearing in element
>content."
>
>Do I understand correctly, that although the application is informed of
>this white space in element content, all this white space is still
>passed on?

Yes. -Tim

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