FreeBSD/contrib/subversion/subversion/libsvn_ra_serf/xml.c
/* Conforms to Expat's XML_CharacterDataHandler  */
Conforms to Expat's XML_CharacterDataHandler
Conforms to Expat ' s XML_CharacterDataHandler
static void
expat_cdata(void *userData, const char *data, int len)
{
  struct expat_ctx_t *ectx = userData;
  if (ectx->inner_error != NULL)
    return;
  ectx->inner_error = svn_error_trace(xml_cb_cdata(ectx->xmlctx, data, len));
#if XML_VERSION_AT_LEAST(1, 95, 8)
  if (ectx->inner_error)
    (void) XML_StopParser(ectx->parser, 0 );
#endif
}
static void expat_cdata ( void * userData , const char * data , int len ) { struct expat_ctx_t * ectx = userData ; if ( ectx -> inner_error != NULL ) return ; ectx -> inner_error = svn_error_trace ( xml_cb_cdata ( ectx -> xmlctx , data , len ) ) ; #if XML_VERSION_AT_LEAST ( 1 , 95 , 8 ) if ( ectx -> inner_error ) ( void ) XML_StopParser ( ectx -> parser , 0 ) ; #endif }
Conforms to Expat's XML_CharacterDataHandler
Conforms to Expat ' s XML_CharacterDataHandler
/* resumable */