Comments on 28022000 draft: Sec. 7.1 contradicts XML 1.0

Section 7.1 asserts the following:

  XML 1.0 [XML] defines an interface where a conformant application reading
  XML is given certain information from that XML and not other information.
  In particular, 
    [...]
    6. for elements declared to have element content, eliminate white space
       that appears within their content but not within the content of any 
       enclosed element. 

I don't think that this statement is correct. The corresponding section of
XML 1.0 contains the following (please see [1]):

  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.       


Gregor

---
[1] http://www.w3.org/TR/REC-xml#sec-white-space

-- 
---------------------------------------------------------------
Gregor Karlinger
mailto://gregor.karlinger@iaik.at
Institute for Applied Information Processing and Communications
Austria
---------------------------------------------------------------

Received on Thursday, 2 March 2000 06:48:59 UTC