Fixed bugs in StaxPackageDataParser