Comment fix.
Fixed some problems with the XML function prototypes. Updated comments.
Continued on unit tests.