Project

Profile

Help

Maintenance. Planio will be undergoing a scheduled maintenance this weekend. Between Saturday, July 24 at 9:00 UTC and Sunday, July 25, 22:00 UTC your account might observe occasional downtimes which may last up to several minutes in some cases.

Revision 47d28fa5

Added by Michael Kay 5 months ago

Bug 4905 - increase max message length

View differences:

src/main/java/net/sf/saxon/lib/StandardDiagnostics.java
423 423
     * method. The value can be assigned. Default value is 1000.
424 424
     */
425 425

  
426
    public int MAX_MESSAGE_LENGTH = 1000;
426
    public int MAX_MESSAGE_LENGTH = 2000;
427 427

  
428 428
    /**
429 429
     * Variable defining a threshold for word-wrapping a message. If a message
src/main/java/net/sf/saxon/trans/SimpleMode.java
926 926

  
927 927
    private static String showPattern(Pattern p) {
928 928
        // Complex patterns can be laid out with lots of whitespace, which looks messy in the error message
929
        return Whitespace.collapseWhitespace(p.toString()).toString();
929
        return Whitespace.collapseWhitespace(p.toShortString()).toString();
930 930
    }
931 931

  
932 932
    /**

Also available in: Unified diff