I've been working with the XML functions a lot lately, and the other night, I couldn't find out why my functions weren't recieving the data that was passed to them. Once I wrote a test output, I realized that, instead of being passed the data, my function was being passed the parser id. To get to the point, the arguments shown for the 'set_character_data_handler' function in the documentation are 'parser, data' when in fact, it sends the arguments as 'data, parser' This is something which, I understand is easy to mistake, but it can be a major pain as it took me 2 days to figure out what was wrong with my script.

12/06/2005 04:26 PM (CST)
Jason Hopkins
Omega Vortex Hosting Manager/Developer
www.omegavortex.com

Reply via email to