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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: tabs to indent for pretty-printing (is it correct?)

[ Lists Home | Date Index | Thread Index ]
  • From: Sean McGrath <sean@digitome.com>
  • To: xml-dev@lists.xml.org
  • Date: Tue, 31 Oct 2000 13:04:06 +0000

At 07:56 AM 10/31/00 -0500, you wrote:
>David Valera writes:
>
>  [on converting spaces to tabs]
>
>  > Well, it is my inderstanding of the XML spec that it actually
>  > *does* change the actual content since in the first example there
>  > are a few textnodes (with tabs in it) that are not present in the
>  > second example. An XML processor must always pass all characters in
>  > a document. Tabs and spaces are such characters.

It is not quite that simple. Consider this:-
<Example
                 type    = "Simple   Example"
                 purpose =            "illustrative">
</Example>

Most of the tabs and spaces in the above document are not
passed to the application.

regards,

Sean





 

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

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