is the string passed by expat handler available ...

BZ Wright <[email protected]> Thu, 2 Jun 2011 16:56:56 +0800 (CST)
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
hello everyone, who can tell me whether a string passed by an handler available after
the handler return. for code like below:
const char *reserve_for_use;
static void XMLCALL start_element(void *data, const char *el, const char **attr)
{
   reserve_for_use = el;   // or attr
}
after the start_element return, is reserve_for_use available for future use ?
I have tested this and it works (before XML_ParserFree), I wonder is this a valid usage in expat.