XML_PullParser for PHP News
Brought to you by:
turnermm
This release fixed a sporadic bug which reported an XML_ERROR_JUNK_AFTER_DOC_ELEMENT error after the completed parsing of certain documents.
It adds a new method:
array XML_PullParser_deleteBlanks($token)
This method removes all blank CDATA elements from a tokenized array. It was sparked by the fact that different versions of the PHP/expat parser treat blank CDATA differently, causing XML_PullParser to end up with tokenized arrays of different sizes.
The test scripts in the tests directory have been upgraded, as part of a continuing effort to make the testing program complete.
The documentaton has been updated to reflect all the changes.