Expand description
XSLT error handling (§33, §85 Phase 8).
Defines error domains, error levels, error handler types, and the public API for reporting and retrieving XSLT errors.
§Phase 8 status
Constants and function types are fully defined. Functions are stubbed and will be implemented as part of Phase 8.
Constants§
- XSLT_
ERR_ CYCLIC_ REFERENCE - Cyclic reference detected.
- XSLT_
ERR_ INTERNAL - Internal XSLT error.
- XSLT_
ERR_ INVALID_ ATTRIBUTE - Invalid attribute value.
- XSLT_
ERR_ INVALID_ ELEMENT - Invalid element.
- XSLT_
ERR_ INVALID_ MATCH - Invalid match pattern.
- XSLT_
ERR_ INVALID_ NAMESPACE - Invalid namespace.
- XSLT_
ERR_ INVALID_ SELECT - Invalid select expression.
- XSLT_
ERR_ INVALID_ TEST - Invalid test expression.
- XSLT_
ERR_ INVALID_ USE - Invalid use expression.
- XSLT_
ERR_ LEVEL_ ERROR - Error — processing may continue but results may be incomplete.
- XSLT_
ERR_ LEVEL_ FATAL - Fatal error — processing cannot continue.
- XSLT_
ERR_ LEVEL_ NONE - No error level (unset).
- XSLT_
ERR_ LEVEL_ WARNING - Warning — non-fatal issue.
- XSLT_
ERR_ MISSING_ ATTRIBUTE - Missing required attribute.
- XSLT_
ERR_ MISSING_ ELEMENT - Missing required element.
- XSLT_
ERR_ MISSING_ MATCH - Missing match attribute.
- XSLT_
ERR_ MISSING_ NAME - Missing name attribute.
- XSLT_
ERR_ MISSING_ NAMESPACE - Missing required namespace.
- XSLT_
ERR_ MISSING_ NS - Missing namespace.
- XSLT_
ERR_ MISSING_ SELECT - Missing select attribute.
- XSLT_
ERR_ MISSING_ TEST - Missing test attribute.
- XSLT_
ERR_ MISSING_ USE - Missing use attribute.
- XSLT_
ERR_ NONE - No error.
- XSLT_
ERR_ RECURSION - Recursion limit exceeded.
- XSLT_
ERR_ UNKNOWN - Unknown error.
Functions§
- xslt
Generic ⚠Debug - Emit a generic debug message (upstream xsltGenericDebug).
- xslt
GetLast Error - Get the last XSLT error message as a NUL-terminated heap string.
- xslt
SetGeneric ⚠Debug Func - Set the generic debug handler (upstream
xsltSetGenericDebugFunc). - xslt
SetTransform Error Func - Set the transform error handler for a context.
- xslt
Transform Error - Report an XSLT error.
Type Aliases§
- xslt
Transform Error Func - Global XSLT error handler function type.