I've bumped on to an strange issue. I'm trying to use stax to parse and save modified xml file but while everything works in Windows - i get an empty file ...