Fixed issue 147 (XMLDocument::LoadFile() may crash on non-regular file)
Merge pull request #150 from danmar/master

Fixed issue 147 (XMLDocument::LoadFile() may crash on non-regular file)