OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: (no subject)

[ Lists Home | Date Index | Thread Index ]
  • From: Toby Speight <tms@ansa.co.uk>
  • To: "XML developers' list" <xml-dev@ic.ac.uk>
  • Date: 06 Aug 1998 13:53:37 +0100

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

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

  • References:


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS