fixed parsing XML declaration with single quotes (fixed #169)
Merge branch 'origin/master'