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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Summary of XML line break normalization, impact of xml:space="preserve"

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Summary of XML line break normalization, impact of xml:space="preserve" on normalization
  • From: "Roger L. Costello" <costello@mitre.org>
  • Date: Mon, 08 Sep 2003 10:42:45 -0400
  • Organization: The MITRE Corporation

Hi Folks,

Thanks a lot for your help.  Here is a summary of the discussion:

1. All line breaks in an XML document are normalized to \n

2. The xml:space="preserve" attribute does not affect line break
normalization

3. Other line separator characters can be inserted into an XML document
(without getting normalized) by using character entity references.
     For example, ordinarily \r would be normalized to \n.
     If you want a \r in your XML document then use &#xD;

/Roger






 

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

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