Port to Xerces 3.
Merge pull request #1038 from sandsmark/master

Port to Xerces 3.