[Expat-discuss] data handler call back

Fisher, Paul_K (Houston) Paul_K_Fisher at bmc.com
Sat Apr 23 18:06:57 CEST 2005


> From: Emil Rojas [mailto:erojas at cradle.com]
> Sent: Saturday, April 23, 2005 10:56 AM
> 
> I notice that the data handler passed to XML_SetCharacterDataHandler
> gets white space delivered to it.
> 
> Is this intentional or is it a bug?

Intentional.  Expat enforces no policy on whitespace processing and
therefore simply delivers the content of the document as seen.  Any such
policy enforcement would need to be added within the handlers you implement
on top of expat.

paul


More information about the Expat-discuss mailing list