Project

Profile

Help

Revision 74210250

Added by Michael Kay over 7 years ago

See issue 2058.

View differences:

latest9.5/hej/net/sf/saxon/expr/instruct/Message.java
294 294
                            "Processing terminated by " + StandardErrorListener.getInstructionName(this) +
295 295
                                    " at line " + getLineNumber() +
296 296
                                    " in " + StandardErrorListener.abbreviatePath(getSystemId()));
297
                    te.setLocator(this);
297 298
                    try {
298 299
                        String code = errorCode.evaluateAsString(context).toString();
299 300
                        StructuredQName errorCode = StructuredQName.fromLexicalQName(
300 301
                                    code, false, true, context.getConfiguration().getNameChecker(), nsResolver);
301 302
                        te.setErrorCodeQName(errorCode);
302
                        te.setLocator(this);
303 303
                    } catch (XPathException err) {
304 304
                        // no action, ignore the error
305 305
                    }

Also available in: Unified diff