This site is work in progress and does not yet describe all available steps.

Error codes (all versions)

All errors are in the http://www.w3.org/ns/xproc-error namespace (recommended prefix: err).

 

Error code

Description

XC0001

It is a dynamic error if the value of option override-content-type is not a text media type.

XC0003

It is a dynamic error if a “username” or a “password” key is present without specifying a value for the “auth-method” key, if the requested auth-method isn't supported, or the authentication challenge contains an authentication method that isn't supported.

XC0007

It is a dynamic error if any key in parameters is associated to a value which is not an instance of the XQuery 1.0 and XPath 2.0 Data Model, e.g. with a map, an array, or a function.

XC0008

It is a dynamic error if the stylesheet does not support a given mode.

XC0009

It is a dynamic error if the specified XQuery version is not available.

XC0013

It is a dynamic error if the pattern matches a processing instruction and the new name has a non-null namespace.

XC0014

It is a dynamic error if the XML namespace (http://www.w3.org/XML/1998/namespace) or the XMLNS namespace (http://www.w3.org/2000/xmlns/) is the value of either the from option or the to option.

XC0019

It is a dynamic error if the documents are not equal according to the specified comparison method, and the value of the fail-if-not-equal option is true.

XC0023

It is a dynamic error if the selection pattern matches a wrong type of node.

XC0024

It is a dynamic error if the selection pattern matches a document node and the value of the position is “before” or “after”.

XC0025

It is a dynamic error if the selection pattern matches anything other than an element or a document node and the value of the position option is “first-child” or “last-child”.

XC0029

It is a dynamic error if an XInclude error occurs during processing.

XC0030

It is a dynamic error if the response body cannot be interpreted as requested (e.g. application/json to override application/xml content).

XC0036

It is a dynamic error if the requested hash algorithm is not one that the processor understands or if the value or parameters are not appropriate for that algorithm.

XC0037

It is a dynamic error if the value provided is not a properly x-www-form-urlencoded value.

XC0038

It is a dynamic error if the specified xslt version is not available.

XC0039

It is a dynamic error if the source port does not contain exactly one XML document or one HTML document if XSLT 1.0 is used.

XC0050

It is a dynamic error if the URI scheme is not supported or the step cannot store to the specified location.

XC0056

It is a dynamic error if the stylesheet does not provide a given template.

XC0058

It is a dynamic error if the all and relative options are both true.

XC0059

It is a dynamic error if the QName value in the attribute-name option uses the prefix “xmlns” or any other prefix that resolves to the namespace name http://www.w3.org/2000/xmlns/.

XC0060

It is a dynamic error if the processor does not support the specified version of the UUID algorithm.

XC0062

It is a dynamic error if the match option matches a namespace node.

XC0069

It is a dynamic error if the properties map contains a key equal to the string “content-type”.

XC0071

It is a dynamic error if the <p:cast-content-type> step cannot perform the requested cast.

XC0072

It is a dynamic error if the <c:data> contains content is not a valid base64 string.

XC0073

It is a dynamic error if the <c:data> element does not have a @content-type attribute.

XC0074

It is a dynamic error if the content-type is supplied and is not the same as the @content-type specified on the <c:data> element.

XC0076

It is a dynamic error if the comparison method specified in <p:compare> is not supported by the implementation.

XC0077

It is a dynamic error if the media types of the documents supplied are incompatible with the comparison method.

XC0078

It is a dynamic error if the value associated with the “fail-on-timeout” is associated with true() and a HTTP status code 408 is encountered.

XC0079

It is a dynamic error if the map parameters contains an entry whose key is defined by the implementation and whose value is not valid for that key.

XC0080

It is a dynamic error if the number of documents on the archive does not match the expected number of archive input documents for the given format and command.

XC0081

It is a dynamic error if the format of the archive does not match the format as specified in the format option.

XC0083

It is a dynamic error if the @namespace attribute is specified, the @name contains a colon, and the specified namespace is not the same as the in-scope namespace binding for the specified prefix.

XC0084

It is a dynamic error if two or more documents appear on the p:archive step's source port that have the same base URI or if any document that appears on the source port has no base URI.

XC0085

It is a dynamic error if the format of the archive does not match the specified format, cannot be understood, determined and/or processed.

XC0086

It is a dynamic error for any unqualified attribute names to appear on a <c:param-set> element.

XC0087

It is a dynamic error if the @namespace attribute is not specified, the @name contains a colon, and the specified prefix is not in the in-scope namespace bindings.

XC0089

It is a dynamic error if the sequence type is not syntactically valid.

XC0092

It is a dynamic error if as a consequence of changing or removing the namespace of an attribute the attribute's name is not unique on the respective element.

XC0093

It is a dynamic error if a static error occurs during the static analysis of the XSLT stylesheet.

XC0094

It is a dynamic error if any document supplied on the source port is not an XML document, an HTML documents, or a Text document if XSLT 2.0 is used.

XC0095

It is a dynamic error if an error occurred during the transformation.

XC0096

It is a dynamic error if the transformation is terminated by XSLT message termination.

XC0098

It is a dynamic error if a dynamic XPath error occurred while applying sort-key to a line.

XC0099

It is a dynamic error if the result of applying sort-key to a given line results in a sequence with more than one item.

XC0100

It is a dynamic error if the document on port manifest does not conform to the given schema.

XC0101

It is a dynamic error if a document appearing on port source cannot be represented in the XDM version associated with the chosen XQuery version, e.g. when a JSON document contains a map and XDM 3.0 is used.

XC0102

It is a dynamic error if any key in option parameters is associated to a value that cannot be represented in the XDM version associated with the chosen XQuery version, e.g. with a map, an array, or a function when XDM 3.0 is used.

XC0103

It is a dynamic error if any error occurs during XQuery’s static analysis phase.

XC0104

It is a dynamic error if any error occurs during XQuery’s dynamic evaluation phase.

XC0105

It is a dynamic error if an XSLT 1.0 stylesheet is invoked and option parameters contains a value that is not an atomic value or a node.

XC0106

It is a dynamic error if duplicate keys are encountered and option duplicates has value “reject”.

XC0107

It is a dynamic error if a document of a not supported document type appears on port source of p:json-merge.

XC0108

It is a dynamic error if any prefix is not in-scope at the point where the occurs.

XC0109

It is a dynamic error if a namespace is to be removed from an attribute and the element already has an attribute with the resulting name. For instance, removing the namespace with the ns1 prefix will raise this error when applied to <something ns1:status="ok" status="bad"/>.

XC0110

It is a dynamic error if the evaluation of the XPath expression in option key for a given item returns either a sequence, an array, a map, or a function.

XC0111

It is a dynamic error if a document of an unsupported document type appears on port source of p:json-join.

XC0112

It is a dynamic error if more than one document appears on the port manifest.

XC0118

It is a dynamic error if an archive manifest is invalid according to the specification.

XC0119

It is a dynamic error if flatten is neither “unbounded”, nor a string that may be cast to a non-negative integer.

XC0120

It is a dynamic error if the relative-to option is not present and the document on the source port does not have a base URI.

XC0121

It is a dynamic error if a document appearing on the secondary port has a base URI that is not both absolute and valid according to RFC 3986 .

XC0122

It is a dynamic error if the given method is not supported.

XC0123

It is a dynamic error if any key in the “auth” map is associated with a value that is not an instance of the required type.

XC0124

It is a dynamic error if any key in the “parameters” map is associated with a value that is not an instance of the required type.

XC0125

It is a dynamic error if the key “accept-multipart” as the value false() and a multipart response is detected.

XC0126

It is a dynamic error if the XPath expression in assert evaluates to false.

XC0127

It is a dynamic error if the headers map contains two keys that are the same when compared in a case-insensitive manner.

XC0128

It is a dynamic error if the URI’s scheme is unknown or not supported.

XC0129

It is a dynamic error if the requested HTTP version is not supported.

XC0131

It is a dynamic error if the processor cannot support the requested encoding.

XC0132

It is a dynamic error if the override content encoding cannot be supported.

XC0133

It is a dynamic error if more than one document appears on the source port and a content-type header is present and the content type specified is not a multipart content type.

XC0146

It is a dynamic error if the specified value for the override-content-types option is not an array of arrays, where the inner arrays have exactly two members of type xs:string.

XC0147

It is a dynamic error if the specified value is not a valid XPath regular expression.

XC0150

It is a dynamic error if evaluating the XPath expression in option test on a context document results in an error.

XC0201

It is a dynamic error if the <p:uncompress> step cannot perform the requested content-type cast.

XC0202

It is a dynamic error if the compression format cannot be understood, determined and/or processed.

XC0203

It is a dynamic error if the specified boundary is not valid (for example, if it begins with two hyphens “--”).

XD0011

It is a dynamic error if the resource referenced by the href option does not exist, cannot be accessed or is not a file.

XD0023

It is a dynamic error if a DTD validation is performed and either the document is not valid or no DTD is found.

XD0036

It is a dynamic error if the supplied value of a variable or option cannot be converted to the required type.

XD0043

It is a dynamic error if the dtd-validate parameter is true and the processor does not support DTD validation.

XD0049

It is a dynamic error if the text value is not a well-formed XML document

XD0057

It is a dynamic error if the text document does not conform to the JSON grammar, unless the parameter liberal is true and the processor chooses to accept the deviation.

XD0058

It is a dynamic error if the parameter duplicates is reject and the text document contains a JSON object with duplicate keys.

XD0059

It is a dynamic error if the parameter map contains an entry whose key is defined in the specification of fn:parse-json and whose value is not valid for that key, or if it contains an entry with the key fallback when the parameter escape with true() is also present.

XD0060

It is a dynamic error if the text document can not be converted into the XPath data model

XD0062

It is a dynamic error if the @content-type is specified and the document-properties has a “content-type” that is not the same.

XD0064

It is a dynamic error if the base URI is not both absolute and valid according to RFC 3986 .

XD0070

It is a dynamic error if a value is assigned to the serialization document property that cannot be converted into map(xs:QName, item()*) according to the rules in section “QName handling” of XProc 3.0 .

XD0078

It is a dynamic error if the loaded document cannot be represented as an HTML document in the XPath data model.

XD0079

It is a dynamic error if a supplied content-type is not a valid media type of the form “type/subtype+ext” or “type/subtype”.