This project is read-only.
1
Vote

error in private string ConvertUriToFileName(XmlDocument xmlDocument) {

description

in
private string ConvertUriToFileName(XmlDocument xmlDocument) {
        string uri;
        XmlFileInfoDocument errorInfoDocument = xmlDocument as XmlFileInfoDocument;
        if (errorInfoDocument != null) {
            uri = errorInfoDocument.FileName;
        }
        else {
            uri = errorInfoDocument.BaseURI;
        }

        return ConvertUriToFileName(uri);
    }

uri = errorInfoDocument.BaseURI;
Should be
uri = xmlDocument.BaseURI;

comments