Project

Profile

Help

Revision 7c6a6d9e

Added by O'Neil Delpratt 8 months ago

Bug fix relating to bug issue #4697

View differences:

latest10/hej/net/sf/saxon/lib/StandardErrorHandler.java
100 100
        try {
101 101
            Loc loc = new Loc(e.getSystemId(), e.getLineNumber(), e.getColumnNumber());
102 102
            if (errorReporter != null) {
103
                XmlProcessingIncident err = new XmlProcessingIncident("Error reported by XML parser", SaxonErrorCode.SXXP0003, loc);
103
                XmlProcessingIncident err = new XmlProcessingIncident(" Error reported by XML parser: "+ e.getMessage(), SaxonErrorCode.SXXP0003, loc);
104 104
                err.setCause(e);
105 105
                errorReporter.report(err);
106 106
            }

Also available in: Unified diff