Is CDATA "structure"?

Tom Otvos tom.otvos at pervasive.com
Thu Jul 15 16:20:27 BST 1999


> -----Original Message-----
> From: Matt Sergeant [mailto:matt.sergeant at bbc.co.uk]
> 
> Sorry, I know this doesn't answer your question though, but 
> that's only
> because I didn't quite understand what you were saying. It 
> sounded as though
> you were saying that the XML editors (or your parser) 
> *weren't* preserving
> carriage returns in CDATA sections. Any editor that does this 
> should be
> thrown out IMHO - it's broken behaviour. Of course if that's 
> not what you're
> saying, perhaps you could be a little more clear for me.
> 

Yes, it is the parser (expat) that does not preserve carriage returns, a
fact which, while inconvenient, is consistent with the XML spec on
end-of-line handling (section 2.11).

Tom Otvos
Director of Research, Pervasive Software Inc.
"Try not! Do, or do not. There is no 'try'." - Yoda


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