Project

Profile

Help

Revision 002d791c

Added by Michael Kay over 7 years ago

Fix bug 2100 (validation against abstract type)

View differences:

latest9.5/hej/net/sf/saxon/lib/StandardErrorListener.java
232 232
                    getLocationMessage(exception) +
233 233
                    "\n  " +
234 234
                    wordWrap(explanation) +
235
                    wordWrap(constraintReference != null ? "" : ("\n  " + constraintReference)) +
235
                    wordWrap(constraintReference == null ? "" : ("\n  " + constraintReference)) +
236 236
                    wordWrap(validationLocation.length()==0 ? "" : ("\n  " + validationLocation)) +
237 237
                    wordWrap(contextLocation.length()==0 ? "" : ("\n  " + contextLocation));
238 238
        } else {

Also available in: Unified diff