XML schema: added comments and tweaked formatting
added test heap corruption bug script