Subject: | XML::GXML sometimes doesn't like %%%body%%% as a variable. |
I've come across an odd situation, which I believe is only produced by
the exact right set of recursion. I haven't had time to figure out
exactly what is happening, except that when I have a section of text in
my xml document delimeted by <body></body>, and then later try to
reference that with %%%body%%%, the text has disappeared.
My primary guess right now is that this is somehow related to sub
HandleEnd, right here:
my $body = $cbParams{'body'};
if (!defined($body))
{
$body = $attrsRef->{_BODY_};
$cbParams{"body"} = $body;
}
Like I said, I haven't investigated it much, so I could be way off.
Mostly wanted to create a ticket about it so it isn't forgotten.
Regards,
-Dan