Fixed bugs in splitting xml before parsing, and updated tags to better match DTD.  Added debug functionality to dump split xml to files in the /dump/ folder