DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4344>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4344

transformation with deleting document-element





------- Additional Comments From [EMAIL PROTECTED]  2001-11-09 08:08 -------
Possible fix, still determining whether it's appropriate/safe:

diff -r1.51 ResultTreeHandler.java
897c897,901
<    * Flush the pending element.
---
>    * Flush the pending element, and any attributes associated with it.
>    *
>    * NOTE: If there are attributes but _no_ pending element (which can
>    * happen if the user's stylesheet is doing something inappropriate),
>    * we still want to make sure they are flushed.
940a945,956
>     }
> 
>     else // No element pending, but attributes might be pending anyway
>     {
>       // %REVIEW% I'm not sure how much of this is actually needed and/or
>       // appropriate. In particular, do we really want to flush m_namespaces?
>       m_attributes.clear();
>       m_nsDeclsHaveBeenAdded = false;
>       m_name = null;
>       m_url = null;
>       m_localName = null;
>       m_namespaces = null;

Reply via email to