[ http://issues.apache.org/jira/browse/XALANJ-1716?page=all ]
Brian Minchau closed XALANJ-1716:
---------------------------------
Assign To: (was: Xalan Developers Mailing List)
Closing issue.
> Tracing event of start element done before startElement() but trace event of
> end done after endElement()
> --------------------------------------------------------------------------------------------------------
>
> Key: XALANJ-1716
> URL: http://issues.apache.org/jira/browse/XALANJ-1716
> Project: XalanJ2
> Type: Bug
> Components: Xalan
> Versions: Latest Development Code
> Environment: Operating System: Other
> Platform: Other
> Reporter: Brian Minchau
> Attachments: apache.patch.24423.txt
>
> org.apache.xalan.templates.ElemLiteralResult.execute(TransformerImpl) does:
> if (TransformerImpl.S_DEBUG)
> transformer.getTraceManager().fireTraceEvent(this);
> in the right place (before the startElement() call on the rhandler.
> But it does the
> if (TransformerImpl.S_DEBUG)
> transformer.getTraceManager().fireTraceEndEvent(this);
> after the call:
> rhandler.endElement(getNamespace(), getLocalName(), getRawName());
> To be consistent the fireTraceEndEvent() should be just before the
> rhandler.endElement(...) to be consistent with the startElement() tracing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]