Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.1.2

Request #3528 incorrect logic
Submitted: 2005-02-20 04:12 UTC
From: baklanoid2 Assigned:
Status: Open Package: XML_HTMLSax
PHP Version: 4.3.6 OS: WINXP
Roadmaps: (Not assigned)    
Subscription  


 [2005-02-20 04:12 UTC] baklanoid2
Description: ------------ html code: ---------- .. <td></td> </tr> .. ---------- there is openHandler - oH,dataHandler - dH,closeHandler - cH. The oder of execution: > oH gives "td" > cH gives "td" > dH gives "\r\n" ..if we delete the "\r\n", then dH will return the data after </tr> tag.. I don't know what is this.. maybe just a mistmatch.. I commented lines 53,56 in States file..

Comments

 [2005-03-01 22:20 UTC] baklanoid2
I found this when was parsing the following html: .. <td></td> </tr> .. There were registered handler for open tag(oH), data handler(dH) and close handler(cH). They were called in next sequence: > oH() gives "td" > cH() gives "td" > dH() gives "\r\n" ..if we delete the "\r\n", then dH() will give us the data after </tr> tag.. To call data handler with no data I commented lines 53, 56 in States file.
 [2005-03-01 22:21 UTC] baklanoid2
I found this when was parsing the following html: .. <td></td> </tr> .. There were registered handler for open tag(oH), data handler(dH) and close handler(cH). They were called in next sequence: > oH() gives "td" > cH() gives "td" > dH() gives "\r\n" ..if we delete the "\r\n", then dH() will give us the data after </tr> tag.. To call data handler with no data I commented lines 53, 56 in States file.