one todo
don't use valueOf, old JDK's don't have it
weird error
use newInstance - old stax don't have newFactory