replaces strings with Strophe-Constants
fixed parsing failure on XML Declaration