In OutputterObj::eventElementEnd, under the case of STATE_IN_ELEMENT, there
is a problem with an anonymous stack Str variable being corrupted on IBM
AIX.This results in a core dump. getAliasedName returns a Str, which is
passed directly to outputElementEnd. The string is passed as a const Str &
parameter to outputElementEnd. I believe the compiler is generating bad
code, as this works pretty much everywhere else.

This problem can be eliminated if a temporary Str is explicitly allocated
and then passed into outputElementEnd. As this code is hidden inside your
IF_PH3 macro, I thought I should leave the modification of this code up to
you.

This problem occurs with the XSL and XML files posted by Herman Walker on
Feb. 19, 2001.

Reply via email to