#1 Attributes are not cleared after an element

closed
nobody
None
5
2004-01-08
2003-11-15
Anonymous
No

In the clearAttributes method, the variable
$iNodeAttributes is initialized with an empty array,
but the attributes are stored in $this->iNodeAttributes
, so they are not removed after element, but are added
up over all the elements parsed so far.
Fix: change the line to
$this->iNodeAttributes = array();
and the problem is gone.

Discussion

  • Logged In: NO

    Bug reported by Andreas Rueckert <mail@andreas-rueckert.de>
    in case you have questions.

     
  • Jose Solorzano
    Jose Solorzano
    2004-01-08

    • status: open --> closed
     
  • Jose Solorzano
    Jose Solorzano
    2004-01-08

    Logged In: YES
    user_id=33204

    fixed in 1.1