示例#1
0
 public QilNode Error(ISourceLineInfo?lineInfo, string res, params string[] args)
 {
     return(Error(String(XslLoadException.CreateMessage(lineInfo, res, args))));
 }
示例#2
0
        // ------------- CompileXPathExpression() / CompileMatchPattern() / CompileKeyPattern() -----------

        private void ReportErrorInXPath(XslLoadException e)
        {
            XPathCompileException ex = e as XPathCompileException;
            string errorText = (ex != null) ? ex.FormatDetailedMessage() : e.Message;
            _compiler.ReportError(_lastScope.SourceLine, SR.Xml_UserException, errorText);
        }