Ticket #74 (closed enhancement: fixed)

Opened 4 months ago

Last modified 4 months ago

Display more information on XSL-errors

Reported by: StephanSchmidt Assigned to: MartinLeidig
Priority: minor Milestone: 0.13.1
Component: Core (general) Version: 0.13.0
Keywords: Cc:

Description

The current error page that occurs, when an XSL error happened dureing the runtime transformation does not display any information that is useful for the audience (mostly web producers).

The error message should display the following information:

  • File where the error occurred
  • Line in which the error occurred
  • Cause of the error

Change History

09/11/08 17:33:44 changed by MartinLeidig

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to 0.13.1.

Improved XSLT error handling:

  • Added error location information to exception stacktrace displayed on error page
  • XML/XSLT erros now are displayed with a speaking error message on top (thus non-Java developers must not search inside the stack hierarchy)
  • Rendering exceptions caused by extension function calls now are explicitly designated as Java errors
  • Display line number and systemid for XML errors in include parts
  • Failed loading of Templates objects due to errors in the included stylesheets now displays speaking error message and line number for included leaf targets (e.g. metatags.xsl)

Not implementable without very large effort: display originating file and line number of XSLT errors coming from include parts on the last transformation level (problem: tracing back over multiple transformation levels isn't possible without modifying Saxon).