Re: Expat user group or mailing list?

James Clark (jjc@jclark.com)
Tue, 24 Nov 1998 16:48:43 +0700


Tom Otvos wrote:

> I know that I am coming across several
> issues that I would not mind airing, such as:
>
> - CDATA sections not sending the correct callback events

Data inside CDATA sections is passed to the app in the same way as data
outside CDATA sections. Expat (like SAX) doesn't tell you whether where
CDATA sections occur. It may provide this information in a future
release.

> - getting the parser to understand high-order ascii characters

If your document isn't in UTF-8, then you need to tell expat either by
using an encoding argument to XML_CreateParser or by supplying an
appropriate encoding declaration, such as

<?xml version="1.0" encoding="iso-8859-1"?>

James