Is CDATA "structure"?

John Cowan cowan at locke.ccil.org
Mon Jul 19 15:55:37 BST 1999


Matt Sergeant wrote:

> However I believe you're also slightly incorrect.
> XML parsers (at least expat does) convert CRLF combinations to their OS
> equivalents. On Windows this means leave as-is. On Unix this means convert
> to LF, on MacOS this means convert to #x12#x15 (I think - could be the other
> way around, I've never had to suffer at a Mac's hands).

The mac uses CR as line end.  But all XML processors must report
CR/LF, CR, and LF as LF, on all platforms.  (XML *applications*
can rewrite the LF as something else if they want, naturally.)

> At least this has
> been my experience.

I can't believe that expat violates the rules to such an extent.
-- 
	John Cowan	http://www.ccil.org/~cowan	cowan at ccil.org
Schlingt dreifach einen Kreis um dies! / Schliesst euer Aug vor heiliger Schau,
Denn er genoss vom Honig-Tau / Und trank die Milch vom Paradies.
			-- Coleridge / Politzer

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/ and on CD-ROM/ISBN 981-02-3594-1
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