Fix the "xml" prefix handling.
Closes #514.
Merge pull request #513 from kos59125/xml

Fix the "xml" prefix handling (#371).