Fixed for XQDoc parsing.
Merge pull request #823 from LeoWoerteler/inspect-fixes

Fixes for XQDoc parsing.