some basic namespace handling; realized stripping trailing ws unnecessary every time new line is added in sax handler