characterData called twice

Recommend this page to a friend!

      ods-php  >  All threads  >  characterData called twice  >  (Un) Subscribe thread alerts  
Subject:characterData called twice
Summary:characterData called twice in UTF-8
Date:2008-11-22 12:17:54


  1. characterData called twice   Reply   Report abuse  
Picture of Miguel Miguel - 2008-11-22 12:17:54
when parsing an ods document, if a character of more than 1 byte is found the parser calls "characterData" more than once. I should do this work around in lines 184 and 188

$this->sheets[$this->currentSheet]['rows'][$this->currentRow][$this->currentCell]['value'] .= $data;

instead of

$this->sheets[$this->currentSheet]['rows'][$this->currentRow][$this->currentCell]['value'] = $data;


For more information send a message to info at phpclasses dot org.