XdmException ClassXdmException ClassXdmException Class

Represents errors that occurred during handling of an XQuery expression, XPath expressions, XSL transformation or serialization of an XDM instance.

Inheritance Hierarchy

Syntax

<Serializable> _
Public Class XdmException _
        Inherits Exception
[Serializable]
public class XdmException : Exception
[Serializable]
public:
ref class XdmException : Exception^
 
The XdmExceptionXdmExceptionXdmException type exposes the following members.

Constructors

 ConstructorDescription
Public methodXdmException ()XdmException ()XdmException () Initializes a new instance of the XdmExceptionXdmExceptionXdmException class with the error code.
Protected methodXdmException (SerializationInfo, StreamingContext)XdmException (SerializationInfo, StreamingContext)XdmException (SerializationInfo^, StreamingContext) Initializes a new instance of the XdmExceptionXdmExceptionXdmException class with serialized data.
Public methodXdmException (string)XdmException (String)XdmException (String^) Initializes a new instance of the XdmExceptionXdmExceptionXdmException class with the specified message and FOER0000 code.
Public methodXdmException (string, Exception)XdmException (String, Exception)XdmException (String^, Exception^) Initializes a new instance of the XdmExceptionXdmExceptionXdmException class with the specified message, inner exception and FOER0000 error code.
Protected methodXdmException (XmlQualifiedName, string, Exception)XdmException (XmlQualifiedName, String, Exception)XdmException (XmlQualifiedName^, String^, Exception^) Initializes a new instance of the XdmExceptionXdmExceptionXdmException class with the specified error code, error message and a reference to the inner exception that is the cause of this exception.

Top

Properties

 PropertyDescription
Public propertyException.DataException.DataException::DataGets a collection of key/value pairs that provide additional user-defined information about the exception.(Inherited from System.ExceptionSystem.ExceptionSystem::Exception)
Public propertyErrorCodeErrorCodeErrorCode Gets the qualified name of the error.
Public propertyException.HResultException.HResultException::HResultGets or sets HRESULT, a coded numerical value that is assigned to a specific exception.(Inherited from System.ExceptionSystem.ExceptionSystem::Exception)
Public propertyException.InnerExceptionException.InnerExceptionException::InnerExceptionGets the ExceptionExceptionException instance that caused the current exception.(Inherited from System.ExceptionSystem.ExceptionSystem::Exception)
Public propertyLineNumberLineNumberLineNumber Gets the line number indicating where the error occurred.
Public propertyLinePositionLinePositionLinePosition Gets the line position indicating where the error occurred.
Public propertyException.MessageException.MessageException::MessageGets a message that describes the current exception.(Inherited from System.ExceptionSystem.ExceptionSystem::Exception)
Public propertyException.SourceException.SourceException::SourceGets or sets the name of the application or the object that causes the error.(Inherited from System.ExceptionSystem.ExceptionSystem::Exception)
Public propertySourceUriSourceUriSourceUri Gets the source file indicating where the error occurred.
Public propertyException.StackTraceException.StackTraceException::StackTraceGets a string representation of the immediate frames on the call stack.(Inherited from System.ExceptionSystem.ExceptionSystem::Exception)
Public propertyException.TargetSiteException.TargetSiteException::TargetSiteGets the method that throws the current exception.(Inherited from System.ExceptionSystem.ExceptionSystem::Exception)

Top

Methods

 MethodDescription
Public methodstaticBadStylesheetInitiationBadStylesheetInitiationBadStylesheetInitiation Returns an XTDE0047 "bad stylesheet initiation" exception.
Public methodObject.EqualsObject.EqualsObject::EqualsDetermines whether the specified object is equal to the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodException.GetBaseExceptionException.GetBaseExceptionException::GetBaseExceptionWhen overridden in a derived class, returns the ExceptionExceptionException that is the root cause of one or more subsequent exceptions.(Inherited from System.ExceptionSystem.ExceptionSystem::Exception)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCodeServes as the default hash function. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetObjectDataGetObjectDataGetObjectData Sets the SerializationInfoSerializationInfoSerializationInfo with information about the exception. (Overrides Exception.GetObjectDataException.GetObjectDataException::GetObjectData)
Public methodException.GetTypeException.GetTypeException::GetTypeGets the runtime type of the current instance.(Inherited from System.ExceptionSystem.ExceptionSystem::Exception)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodException.ToStringException.ToStringException::ToStringCreates and returns a string representation of the current exception.(Overrides Object.ToStringObject.ToStringObject::ToString)

Top

Fields

 FieldDescription
Public fieldstaticAndy0001Andy0001Andy0001 Argument out of implementation defined range.
Public fieldstaticAndy0002Andy0002Andy0002 Badly constructed document.
Public fieldstaticAndy0003Andy0003Andy0003 External function threw exception.
Public fieldstaticAndy0004Andy0004Andy0004 No result document handler set.
Public fieldstaticAndy0005Andy0005Andy0005 Error accessing result document.
Public fieldstaticAndy0006Andy0006Andy0006 Error converting argument for native function.
Public fieldstaticAndy1000Andy1000Andy1000 Error converting return value for native function.
Public fieldstaticAndy1001Andy1001Andy1001 null a null reference (Nothing in Visual Basic) nullptr returned from msxsl:script function.
Public fieldstaticAndy1002Andy1002Andy1002 Unsupported type returned from native function.
Public fieldstaticAndy1003Andy1003Andy1003 Incompatible node returned from native function.
Public fieldstaticAndy1004Andy1004Andy1004 Error initializing module instance for native module.
Public fieldstaticAndy1005Andy1005Andy1005 Unexpected error encountered while generating call to native function call.
Public fieldstaticAnst0000Anst0000Anst0000 Unidentified internal error.
Public fieldstaticAnst0002Anst0002Anst0002 Invalid value used for query initialization.
Public fieldstaticAnst0003Anst0003Anst0003 Unreachable code detected.
Public fieldstaticAnst0004Anst0004Anst0004 Unused variable detected.
Public fieldstaticAnst0005Anst0005Anst0005 Wrong encoding.
Public fieldstaticAnst0007Anst0007Anst0007 Constructed elements returned from path expression.
Public fieldstaticAnst0008Anst0008Anst0008 Attempted to add schemas after compilation in static typing mode.
Public fieldstaticAnst1000Anst1000Anst1000 Invalid prefix for script instruction implements-prefix attribute.
Public fieldstaticAnst1001Anst1001Anst1001 Bad target namespace in script instruction.
Public fieldstaticAnst1002Anst1002Anst1002 Library already compiled in script extension.
Public fieldstaticAnst1003Anst1003Anst1003 Language not supported in script instruction.
Public fieldstaticAnst1004Anst1004Anst1004 All child elements of script element must appear before the text content.
Public fieldstaticAnst1005Anst1005Anst1005 All script elements for the same namespace must be in the same language.
Public fieldstaticAnst1006Anst1006Anst1006 Error occurred during external compilation of script element
Public fieldstaticAnst1007Anst1007Anst1007 Scripting has been disabled.
Public fieldstaticAnst1010Anst1010Anst1010 Assembly element must contain either href or name attributes but not both.
Public fieldstaticAnst1011Anst1011Anst1011 Error exporting native function.
Public fieldstaticAnst1012Anst1012Anst1012 Error creating native module.
Public fieldstaticFoap0001Foap0001Foap0001 An error is raised if fn:apply is called and the arity of the supplied function is not the same as the number of members in the supplied array.
Public fieldstaticFoar0001Foar0001Foar0001 This error is raised whenever an attempt is made to divide by zero.
Public fieldstaticFoar0002Foar0002Foar0002 This error is raised whenever numeric operations result in an overflow or underflow.
Public fieldstaticFoay0001Foay0001Foay0001 This error is raised when an integer used to select a member of an array is outside the range of values for that array.
Public fieldstaticFoay0002Foay0002Foay0002 This error is raised when the $length argument to array:subarray is negative.
Public fieldstaticFoca0001Foca0001Foca0001 Input value too large for decimal
Public fieldstaticFoca0002Foca0002Foca0002 Invalid lexical value.
Public fieldstaticFoca0003Foca0003Foca0003 Input value too large for integer
Public fieldstaticFoca0005Foca0005Foca0005 NaN supplied as float/double value.
Public fieldstaticFoch0001Foch0001Foch0001 Codepoint not valid.
Public fieldstaticFoch0002Foch0002Foch0002 Unsupported collation.
Public fieldstaticFoch0003Foch0003Foch0003 Unsupported normalization form.
Public fieldstaticFoch0004Foch0004Foch0004 Collation does not support collation units.
Public fieldstaticFodc0001Fodc0001Fodc0001 No context document.
Public fieldstaticFodc0002Fodc0002Fodc0002 Error retrieving resource.
Public fieldstaticFodc0004Fodc0004Fodc0004 Invalid argument to fn:collection().
Public fieldstaticFodc0005Fodc0005Fodc0005 Invalid argument to fn:doc.
Public fieldstaticFodc0006Fodc0006Fodc0006 String passed to fn:parse-xml is not a well-formed XML document.
Public fieldstaticFodc0007Fodc0007Fodc0007 Base URI passed to fn:parse-xml is not a valid absolute URI.
Public fieldstaticFodc0010Fodc0010Fodc0010 , The processor does not support serialization.
Public fieldstaticFodf1280Fodf1280Fodf1280 This error is raised if the decimal format name supplied to fn:format-number is not a valid QName, or if the prefix in the QName is undeclared, or if there is no decimal format in the static context with a matching name.
Public fieldstaticFodf1310Fodf1310Fodf1310 This error is raised if the picture string supplied to fn:format-number has invalid syntax.
Public fieldstaticFodt0001Fodt0001Fodt0001 Overflow/underflow in date/time operation
Public fieldstaticFodt0002Fodt0002Fodt0002 Overflow/underflow in duration operation
Public fieldstaticFodt0003Fodt0003Fodt0003 Invalid time zone value
Public fieldstaticFoer0000Foer0000Foer0000 Unidentified error.
Public fieldstaticFofd1340Fofd1340Fofd1340 This error is raised if the picture string supplied to fn:format-date, fn:format-time, or fn:format-dateTime has invalid syntax.
Public fieldstaticFofd1350Fofd1350Fofd1350 This error is raised if the picture string supplied to fn:format-date selects a component that is not present in a date, or if the picture string supplied to fn:format-time selects a component that is not present in a time.
Public fieldstaticFojs0001Fojs0001Fojs0001 JSON syntax error. An error is raised if the string supplied as input does not conform to the JSON grammar (optionally with implementation-defined extensions).
Public fieldstaticFojs0003Fojs0003Fojs0003 JSON duplicate keys. Raised by fn:json-doc, fn:parse-json or fn:json-to-xml if the string supplied as input contains a JSON object having duplicate keys, when the chosen policy is to reject duplicates.
Public fieldstaticFojs0004Fojs0004Fojs0004 JSON: not schema-aware. Raised by fn:json-doc, fn:parse-json or fn:json-to-xml if the string supplied as input contains a JSON object having duplicate keys, when the chosen policy is to reject duplicates.
Public fieldstaticFojs0005Fojs0005Fojs0005 Invalid JSON options. Raised by fn:json-doc, fn:parse-json or fn:json-to-xml if the string supplied as input contains a JSON object having duplicate keys, when the chosen policy is to reject duplicates.
Public fieldstaticFojs0006Fojs0006Fojs0006 Invalid JSON options. Raised by fn:xml-to-json if the XML input does not conform to the rules for the XML representation of JSON.
Public fieldstaticFojs0007Fojs0007Fojs0007 Bad JSON escape sequence. Raised by fn:xml-to-json if the XML input uses the attribute escaped="true" or escaped-key="true", and the corresponding string or key contains an invalid JSON escape sequence.
Public fieldstaticFons0004Fons0004Fons0004 No namespace found for prefix.
Public fieldstaticFons0005Fons0005Fons0005 Base-uri not defined in the static context.
Public fieldstaticFoqm0001Foqm0001Foqm0001 An error is raised if, in a call to fn:load-xquery-module, the supplied module URI is zero-length.
Public fieldstaticFoqm0002Foqm0002Foqm0002 An error is raised if, in a call to fn:load-xquery-module, no module can be found with the supplied module URI.
Public fieldstaticFoqm0003Foqm0003Foqm0003 An error is raised if, in a call to fn:load-xquery-module, a static error (including a statically-detected type error) is encountered when processing the library module.
Public fieldstaticFoqm0005Foqm0005Foqm0005 An error is raised if, in a call to fn:load-xquery-module, a value is supplied for the initial context item or for an external variable, and the value does not conform to the required type declared in the dynamically loaded module.
Public fieldstaticFoqm0006Foqm0006Foqm0006 An error is raised if, in a call to fn:load-xquery-module, no XQuery processor is available supporting the requested XQuery version (or if none is available at all).
Public fieldstaticForg0001Forg0001Forg0001 Invalid value for cast/constructor.
Public fieldstaticForg0002Forg0002Forg0002 Invalid argument to fn:resolve-uri().
Public fieldstaticForg0003Forg0003Forg0003 fn:zero-or-one called with a sequence containing more than one item.
Public fieldstaticForg0004Forg0004Forg0004 fn:one-or-more called with a sequence containing no items.
Public fieldstaticForg0005Forg0005Forg0005 fn:exactly-one called with a sequence containing zero or more than one item.
Public fieldstaticForg0006Forg0006Forg0006 Invalid argument type.
Public fieldstaticForg0008Forg0008Forg0008 Both arguments to fn:dateTime have a specified time zone.
Public fieldstaticForg0009Forg0009Forg0009 Error in resolving a relative URI against a base URI in fn:resolve-uri.
Public fieldstaticForg0010Forg0010Forg0010 Invalid date/time. Raised when the input to fn:parse-ietf-date does not match the prescribed grammar, or when it represents an invalid date/time such as 31 February.
Public fieldstaticForx0001Forx0001Forx0001 Invalid regular expression. flags
Public fieldstaticForx0002Forx0002Forx0002 Invalid regular expression.
Public fieldstaticForx0003Forx0003Forx0003 Regular expression matches zero-length string.
Public fieldstaticForx0004Forx0004Forx0004 Invalid replacement string.
Public fieldstaticFoty0012Foty0012Foty0012 Argument node does not have a typed value.
Public fieldstaticFoty0013Foty0013Foty0013 The argument to fn:data() contains a function item.
Public fieldstaticFoty0014Foty0014Foty0014 The argument to fn:string() is a function item.
Public fieldstaticFoty0015Foty0015Foty0015 The argument to fn:deep-equal() is a function item.
Public fieldstaticFoup0001Foup0001Foup0001 It is a dynamic error if the first operand of fn:put is not a node of a supported kind.
Public fieldstaticFoup0002Foup0002Foup0002 It is a dynamic error if the second operand of fn:put is not a valid lexical representation of the xs:anyURI type.
Public fieldstaticFout1170Fout1170Fout1170 An error is raised if the $href argument contains a fragment identifier, or if it cannot be used to retrieve a resource containing text.
Public fieldstaticFout1190Fout1190Fout1190 An error is raised if the retrieved resource contains octets that cannot be decoded into Unicode characters using the specified encoding, or if the resulting characters are not permitted XML characters. This includes the case where the processor does not support the requested encoding.
Public fieldstaticFout1200Fout1200Fout1200 An error is raised if $encoding is absent and the processor cannot infer the encoding using external information and the encoding is not UTF-8.
Public fieldstaticFoxt0001Foxt0001Foxt0001 An error is raised if, in a call to fn:transform, no XSLT processor suitable for evaluating a call on fn:transform is available.
Public fieldstaticFoxt0002Foxt0002Foxt0002 An error is raised if, in a call to fn:transform, the parameters supplied to fn:transform are invalid, for example if two mutually-exclusive parameters are supplied. If a suitable XSLT error code is available (for example in the case where the requested initial-template does not exist in the stylesheet), that error code should be used in preference.
Public fieldstaticFoxt0003Foxt0003Foxt0003 An error is raised if an XSLT transformation invoked using fn:transform fails with a static or dynamic error. The XSLT error code is used if available; this error code provides a fallback when no XSLT error code is returned, for example because the processor is an XSLT 1.0 processor.
Public fieldstaticFoxt0004Foxt0004Foxt0004 An error is raised if the fn:transform function is invoked when XSLT transformation (or a specific transformation option) has been disabled for security or other reasons.
Public fieldstaticFoxt0005Foxt0005Foxt0005 An error is raised if the fn:transform function uses delivery-format:saved and the output of the transformation cannot be saved at the requested location.
Public fieldstaticFoxt0006Foxt0006Foxt0006 An error is raised if the result of the fn:transform function contains characters available only in XML 1.1 and the calling processor cannot handle such characters.
Public fieldstaticSenr0001Senr0001Senr0001 It is an error if an item in S6 in sequence normalization is an attribute node or a namespace node.
Public fieldstaticSepm0004Sepm0004Sepm0004 It is an error to specify the doctype-system parameter, or to specify the standalone parameter with a value other than omit, if the instance of the data model contains text nodes or multiple element nodes as children of the root node.
Public fieldstaticSepm0009Sepm0009Sepm0009 It is an error if the omit-xml-declaration parameter has the value yes, and the standalone attribute has a value other than omit; or the version parameter has a value other than 1.0 and the doctype-system parameter is specified.
Public fieldstaticSepm0010Sepm0010Sepm0010 It is an error if the output method is xml, the value of the undeclare-prefixes parameter is yes, and the value of the version parameter is 1.0.
Public fieldstaticSepm0016Sepm0016Sepm0016 It is a an error if a parameter value is invalid for the defined domain.
Public fieldstaticSepm0017Sepm0017Sepm0017 It is an error if evaluating an expression in order to extract the setting of a serialization parameter from a data model instance would yield an error.
Public fieldstaticSepm0018Sepm0018Sepm0018 It is an error if evaluating an expression in order to extract the setting of the use-character-maps serialization parameter from a data model instance would yield a sequence of length greater than one.
Public fieldstaticSepm0019Sepm0019Sepm0019 It is an error if an instance of the data model used to specify the settings of serialization parameters specifies the value of the same parameter more than once.
Public fieldstaticSere0003Sere0003Sere0003 It is an error if the serializer is unable to satisfy the rules for either a well-formed XML document entity or a well-formed XML external general parsed entity, or both, except for content modified by the character expansion phase of serialization.
Public fieldstaticSere0005Sere0005Sere0005 It is an error if the serialized result would contain an NCName Names that contains a character that is not permitted by the version of Namespaces in XML specified by the version parameter.
Public fieldstaticSere0006Sere0006Sere0006 It is an error if the serialized result would contain a character that is not permitted by the version of XML specified by the version parameter.
Public fieldstaticSere0008Sere0008Sere0008 It is an error if a character that cannot be represented in the encoding that the serializer is using for output appears in a context where character references are not allowed (for example if the character occurs in the name of an element).
Public fieldstaticSere0012Sere0012Sere0012 It is an error if the value of the normalization-form parameter is fully-normalized and any relevant construct of the result begins with a combining character.
Public fieldstaticSere0014Sere0014Sere0014 It is an error to use the HTML output method when characters which are legal in XML but not in HTML, specifically the control characters #x7F-#x9F, appear in the instance of the data model.
Public fieldstaticSere0015Sere0015Sere0015 It is an error to use the HTML output method when > appears within a processing instruction in the data model instance being serialized.
Public fieldstaticSere0020Sere0020Sere0020 It is an error if a numeric value being serialized using the JSON output method cannot be represented in the JSON grammar (e.g. +INF, -INF, NaN).
Public fieldstaticSere0021Sere0021Sere0021 It is an error if a sequence being serialized using the JSON output method includes items for which no rules are provided in the appropriate section of the serialization rules.
Public fieldstaticSere0022Sere0022Sere0022 It is an error if a map being serialized using the JSON output method has two keys with the same string value, unless the allow-duplicate-names has the value yes.
Public fieldstaticSere0023Sere0023Sere0023 It is an error if a sequence being serialized using the JSON output method is of length greater than one.
Public fieldstaticSesu0007Sesu0007Sesu0007 It is an error if an output encoding other than UTF-8 or UTF-16 is requested and the serializer does not support that encoding.
Public fieldstaticSesu0011Sesu0011Sesu0011 It is an error if the value of the normalization-form parameter specifies a normalization form that is not supported by the serializer.
Public fieldstaticSesu0013Sesu0013Sesu0013 It is an error if the serializer does not support the version of XML or HTML specified by the version parameter.
Public fieldstaticXife0001Xife0001Xife0001 It is a fatal error for a fragment identifier to appear in the href attribute of an xi:include element.
Public fieldstaticXife0002Xife0002Xife0002 It is a fatal error for the value of the parse attribute of an xi:include element not to be "xml" or "text".
Public fieldstaticXife0003Xife0003Xife0003 It is a fatal error for the value of the accept attribute of an xi:include element to contain characters outside the range #x20 through #x7E.
Public fieldstaticXife0004Xife0004Xife0004 It is a fatal error for the value of the accept-language attribute of an xi:include element to contain characters outside the range #x20 through #x7E.
Public fieldstaticXife0005Xife0005Xife0005 It is a fatal error for an xi:include element to contain more than one xi:fallback element.
Public fieldstaticXife0006Xife0006Xife0006 It is a fatal error for an xi:include element any element other than xi:fallback from the XInclude namespace.
Public fieldstaticXife0007Xife0007Xife0007 It is a fatal error when a resource error is encountered during processing of an xi:include element has no xi:fallback element.
Public fieldstaticXife0008Xife0008Xife0008 It is a fatal error for an xi:fallback element to appear in a document anywhere other than as the direct child of the xi:include (before inclusion processing on the contents of the element).
Public fieldstaticXife0009Xife0009Xife0009 It is a fatal error for the xi:fallback element to contain any elements from the XInclude namespace other than xi:include.
Public fieldstaticXife0010Xife0010Xife0010 It is a fatal error to include resources that contain non-well-formed XML when parse="xml".
Public fieldstaticXife0011Xife0011Xife0011 It is a fatal error for the inclusion target to be an attribute node or a namespace node.
Public fieldstaticXife0012Xife0012Xife0012 It is a fatal error to process another xi:include element with an include location and xpointer attribute value that have already been processed in the inclusion chain.
Public fieldstaticXife0013Xife0013Xife0013 It is a fatal error for the byte sequence of a resource included when parse="text" to be outside the range allowed by the encoding.
Public fieldstaticXife0014Xife0014Xife0014 It is a fatal error for a resource included when parse="text" to contain characters that are not permitted in XML documents.
Public fieldstaticXife0015Xife0015Xife0015 It is a fatal error to attempt to replace an xi:include element appearing as the document (top-level) element in the source infoset with something other than a list of zero or more comments, zero or more processing instructions, and one element.
Public fieldstaticXife0016Xife0016Xife0016 It is a fatal error if the xpointer attribute of an xi:include element is present when parse="text".
Public fieldstaticXife0017Xife0017Xife0017 It is a fatal error if the xpointer attribute of an xi:include element is absent when parse="xml" and the href attribute is absent.
Public fieldstaticXife0018Xife0018Xife0018 It is a fatal error if the href attribute of an xi:include element results in an include location which is a syntactically invalid URI.
Public fieldstaticXife0019Xife0019Xife0019 It is a fatal error if the href attribute of an xi:include element results in an include location which is a relative URI.
Public fieldstaticXife0020Xife0020Xife0020 It is a fatal error if the xpointer attribute of an xi:include element identifies no subresources.
Public fieldstaticXpdy0002Xpdy0002Xpdy0002 It is a dynamic error if evaluation of an expression relies on some part of the dynamic context that has not been assigned a value.
Public fieldstaticXpdy0050Xpdy0050Xpdy0050 It is a dynamic error if the dynamic type of the operand of a treat expression does not match the sequence type specified by the treat expression.
Public fieldstaticXpst0001Xpst0001Xpst0001 It is a static error if analysis of an expression relies on some component of the static context that has not been assigned a value.
Public fieldstaticXpst0003Xpst0003Xpst0003 It is a static error if an expression is not a valid instance of the grammar defined in A.1 EBNF.
Public fieldstaticXpst0005Xpst0005Xpst0005 During the analysis phase, it is a static error if the static type assigned to an expression other than the expression () or data(()) is empty-sequence().
Public fieldstaticXpst0008Xpst0008Xpst0008 It is a static error if an expression refers to an element name, attribute name, schema type name, namespace prefix, or variable name that is not defined in the static context, except within an ElementTest or an AttributeTest.
Public fieldstaticXpst0010Xpst0010Xpst0010 An implementation must raise a static error if it encounters a reference to an axis that it does not support.
Public fieldstaticXpst0017Xpst0017Xpst0017 It is an error (the host language environment may define this error as either a static error or a dynamic error) if the expanded qualified name and number of arguments in a function call do not match the name and arity of a function signature in the static context.
Public fieldstaticXpst0051Xpst0051Xpst0051 It is a static error if the expanded QName for an AtomicOrUnionType in a SequenceType is not defined in the in-scope schema types as a generalized atomic type.
Public fieldstaticXpst0080Xpst0080Xpst0080 The target type of a cast or castable expression must be an atomic type that is in the in-scope schema types and is not xs:NOTATION or xs:anyAtomicType, optionally followed by the occurrence indicator "?"; otherwise a static error is raised.
Public fieldstaticXpst0081Xpst0081Xpst0081 It is a static error if a QName used in an expression contains a namespace prefix that cannot be expanded into a namespace URI by using the statically known namespaces.
Public fieldstaticXpst0083Xpst0083Xpst0083Never Not currently used.
Public fieldstaticXpst0112Xpst0112Xpst0112 It is a static error if a partial function application or named function reference refers to a function that is focus-dependentFO30 [err:XPST0112].
Public fieldstaticXpst0133Xpst0133Xpst0133 It is a static error [err:XPST0133] if the namespace URI for an EQName is http://www.w3.org/2000/xmlns/.
Public fieldstaticXpty0004Xpty0004Xpty0004 It is a type error if, during the static analysis phase, an expression is found to have a static type that is not appropriate for the context in which the expression occurs, or during the dynamic evaluation phase, the dynamic type of a value does not match a required type as specified by the matching rules in 2.5.4 SequenceType Matching.
Public fieldstaticXpty0018Xpty0018Xpty0018 It is a type error if the result of the last step in a path expression contains both nodes and atomic values.
Public fieldstaticXpty0019Xpty0019Xpty0019 It is a type error if the result of a step (other than the last step) in a path expression contains an atomic value.
Public fieldstaticXpty0020Xpty0020Xpty0020 It is a type error if in an axis expression, the context item is not a node.
Public fieldstaticXpty0117Xpty0117Xpty0117 Attempt to cast to a namespace-sensitive type failed because the namespace bindings for the result can not be determined.
Public fieldstaticXqdy0025Xqdy0025Xqdy0025 It is a dynamic error if any attribute of a constructed element does not have a name that is distinct from the names of all other attributes of the constructed element.
Public fieldstaticXqdy0026Xqdy0026Xqdy0026 It is a dynamic error if the result of the content expression of a computed processing instruction constructor contains the string "?>".
Public fieldstaticXqdy0027Xqdy0027Xqdy0027 In a validate expression, it is a dynamic error if the root element information item in the PSVI resulting from validation does not have the expected validity property: valid if validation mode is strict, or either valid or notKnown if validation mode is lax.
Public fieldstaticXqdy0041Xqdy0041Xqdy0041 It is a dynamic error if the value of the name expression in a computed processing instruction constructor cannot be cast to the type xs:NCName.
Public fieldstaticXqdy0044Xqdy0044Xqdy0044 It is a dynamic error if the node-name property of the node constructed by a computed attribute constructor is in the namespace http://www.w3.org/2000/xmlns/ (corresponding to namespace prefix xmlns), or is in no namespace and has local name xmlns.
Public fieldstaticXqdy0054Xqdy0054Xqdy0054 It is a dynamic error if a cycle is encountered in the definition of a module's dynamic context components, for example because of a cycle in variable declarations.
Public fieldstaticXqdy0061Xqdy0061Xqdy0061 It is a dynamic error if the operand of a validate expression is a document node whose children do not consist of exactly one element node and zero or more comment and processing instruction nodes, in any order.
Public fieldstaticXqdy0064Xqdy0064Xqdy0064 It is a dynamic error if the value of the name expression in a computed processing instruction constructor is equal to "XML" (in any combination of upper and lower case).
Public fieldstaticXqdy0072Xqdy0072Xqdy0072 It is a dynamic error if the result of the content expression of a computed comment constructor contains two adjacent hyphens or ends with a hyphen.
Public fieldstaticXqdy0074Xqdy0074Xqdy0074 It is a dynamic error if the name expression in a computed element or attribute constructor cannot be converted to an expanded QName.
Public fieldstaticXqdy0084Xqdy0084Xqdy0084 It is a dynamic error if the element validated by a validate statement does not have a top-level element declaration in the in-scope element declarations, if validation mode is strict.
Public fieldstaticXqdy0091Xqdy0091Xqdy0091 An implementation MAY raise a dynamic error if an xml:id error, as defined in [XML Identifier], is encountered during construction of an attribute named xml:id.
Public fieldstaticXqdy0092Xqdy0092Xqdy0092 An implementation MAY raise a dynamic error if a constructed attribute named xml:space has a value other than preserve or default.
Public fieldstaticXqdy0096Xqdy0096Xqdy0096 A dynamic error [err:XQDY0096] is raised if the node-name of the constructed element node has any of the following properties: (a) Its namespace prefix is xmlns (b) Its namespace URI is http://www.w3.org/2000/xmlns/ (c) Its namespace prefix is xml and its namespace URI is not http://www.w3.org/XML/1998/namespace (d) Its namespace prefix is other than xml and its namespace URI is http://www.w3.org/XML/1998/namespace
Public fieldstaticXqdy0101Xqdy0101Xqdy0101 It is a dynamic error if the the namespace URI in a computed namespace constructor is bound to the predefined prefix xmlns, or if a namespace URI other than http://www.w3.org/XML/1998/namespace is bound to the prefix xml, or if the prefix xml is bound to a namespace URI other than http://www.w3.org/XML/1998/namespace.
Public fieldstaticXqdy0102Xqdy0102Xqdy0102 In an element constructor, if two or more namespace bindings in the in-scope bindings would have the same prefix, then an error is raised if they have different URIs; if they would have the same prefix and URI, duplicate bindings are ignored.
Public fieldstaticXqdy0130Xqdy0130Xqdy0130 The URIExpr of a computed namespace constructor is not a valid instance of xs:anyURI.
Public fieldstaticXqdy0137Xqdy0137Xqdy0137 No two keys in a map may have the same key value.
Public fieldstaticXqst0009Xqst0009Xqst0009 An implementation that does not support the Schema Import Feature must raise a static error if a Prolog contains a schema import.
Public fieldstaticXqst0012Xqst0012Xqst0012 It is a static error if the set of definitions contained in all schemas imported by a Prolog do not satisfy the conditions for schema validity specified in Sections 3 and 5 of [XML Schema] Part 1. Each definition must be valid, complete, and unique.
Public fieldstaticXqst0013Xqst0013Xqst0013 It is a static error if an implementation recognizes a pragma but determines that its content is invalid.
Public fieldstaticXqst0016Xqst0016Xqst0016 An implementation that does not support the Module Feature raises a static error if it encounters a module declaration or a module import.
Public fieldstaticXqst0022Xqst0022Xqst0022 It is a static error if the value of a namespace declaration attribute is not a URILiteral.
Public fieldstaticXqst0031Xqst0031Xqst0031 It is a static error if the version number specified in a version declaration is not supported by the implementation.
Public fieldstaticXqst0032Xqst0032Xqst0032 A static error is raised if a Prolog contains more than one base URI declaration.
Public fieldstaticXqst0033Xqst0033Xqst0033 It is a static error if a Prolog contains multiple declarations for the same namespace prefix.
Public fieldstaticXqst0034Xqst0034Xqst0034 It is a static error if multiple functions declared or imported by a module have the same number of arguments and their expanded QNames are equal (as defined by the eq operator).
Public fieldstaticXqst0035Xqst0035Xqst0035 It is a static error to import two schema components that both define the same name in the same symbol space and in the same scope.
Public fieldstaticXqst0036Xqst0036Xqst0036 It is a static error to import a module if the importing module's in-scope schema types do not include definitions for the schema type names that appear in the declarations of variables and functions (whether in an argument type or return type) that are present in the imported module and are referenced in the importing module.
Public fieldstaticXqst0038Xqst0038Xqst0038 It is a static error if a Prolog contains more than one default collation declaration, or the value specified by a default collation declaration is not present in statically known collations.
Public fieldstaticXqst0039Xqst0039Xqst0039 It is a static error for a function declaration to have more than one parameter with the same name.
Public fieldstaticXqst0040Xqst0040Xqst0040 It is a static error if the attributes specified by a direct element constructor do not have distinct expanded QNames.
Public fieldstaticXqst0045Xqst0045Xqst0045 It is a static error if the name of an annotation or the function name in a function declaration is in one of the following namespaces: http://www.w3.org/XML/1998/namespace, http://www.w3.org/2001/XMLSchema, http://www.w3.org/2001/XMLSchema-instance, http://www.w3.org/2005/xpath-functions, http://www.w3.org/2005/xpath-functions/math. http://www.w3.org/2011/xquery-options.
Public fieldstaticXqst0046Xqst0046Xqst0046 An implementation MAY raise a static error if the value of a URILiteral is of non-zero length and is not in the lexical space of xs:anyURI, or if it is a string that represents a "relative reference" as defined in [RFC3986].
Public fieldstaticXqst0047Xqst0047Xqst0047 It is a static error if multiple module imports in the same Prolog specify the same target namespace.
Public fieldstaticXqst0048Xqst0048Xqst0048 It is a static error if a function or variable declared in a library module is not in the target namespace of the library module.
Public fieldstaticXqst0049Xqst0049Xqst0049 It is a static error if two or more variables declared or imported by a module have equal expanded QNames (as defined by the eq operator.)
Public fieldstaticXqst0052Xqst0052Xqst0052 The type must be the name of a type defined in the in-scope schema types, and the {variety} of the type must be simple.
Public fieldstaticXqst0054Xqst0054Xqst0054 It is a static error if a variable depends on itself.
Public fieldstaticXqst0055Xqst0055Xqst0055 It is a static error if a schema import binds a namespace prefix but does not specify a target namespace other than a zero-length string.
Public fieldstaticXqst0057Xqst0057Xqst0057 It is a static error if a schema import binds a namespace prefix but does not specify a target namespace other than a zero-length string.
Public fieldstaticXqst0058Xqst0058Xqst0058 It is a static error if multiple schema imports specify the same target namespace.
Public fieldstaticXqst0059Xqst0059Xqst0059 It is a static error if an implementation is unable to process a schema or module import by finding a schema or module with the specified target namespace.
Public fieldstaticXqst0060Xqst0060Xqst0060 It is a static error if the name of a function in a function declaration is not in a namespace (expanded QName has a null namespace URI).
Public fieldstaticXqst0065Xqst0065Xqst0065 A static error is raised if a Prolog contains more than one ordering mode declaration.
Public fieldstaticXqst0066Xqst0066Xqst0066 A static error is raised if a Prolog contains more than one default element/type namespace declaration, or more than one default function namespace declaration.
Public fieldstaticXqst0067Xqst0067Xqst0067 A static error is raised if a Prolog contains more than one construction declaration.
Public fieldstaticXqst0068Xqst0068Xqst0068 A static error is raised if a Prolog contains more than one boundary-space declaration.
Public fieldstaticXqst0069Xqst0069Xqst0069 A static error is raised if a Prolog contains more than one empty order declaration.
Public fieldstaticXqst0070Xqst0070Xqst0070 A static error is raised if the predefined namespace prefix xml or xmlns is redeclared or if another namespace prefix is bound to the namespace URI associated with the prefix xml.
Public fieldstaticXqst0071Xqst0071Xqst0071 A static error is raised if the namespace declaration attributes of a direct element constructor do not have distinct names.
Public fieldstaticXqst0075Xqst0075Xqst0075 An implementation that does not support the Validation Feature must raise a static error if it encounters a validate expression.
Public fieldstaticXqst0076Xqst0076Xqst0076 A static error if a collation sub-clause in an order by clause of a FLWOR expression does not identify a collation that is present in statically known collations.
Public fieldstaticXqst0079Xqst0079Xqst0079 It is a static error if an extension expression contains neither a pragma that is recognized by the implementation nor an expression enclosed in curly braces.
Public fieldstaticXqst0085Xqst0085Xqst0085 Zero-length namespace declaration.
Public fieldstaticXqst0087Xqst0087Xqst0087 It is a static error if the encoding specified in a Version Declaration does not conform to the definition of EncName specified in [XML 1.0].
Public fieldstaticXqst0088Xqst0088Xqst0088 It is a static error if the literal that specifies the target namespace in a module import or a module declaration is of zero length.
Public fieldstaticXqst0089Xqst0089Xqst0089 It is a static error if a variable bound in a for clause of a FLWOR expression, and its associated positional variable, do not have distinct names (expanded QNames).
Public fieldstaticXqst0090Xqst0090Xqst0090 It is a static error if a character reference does not identify a valid character in the version of XML that is in use.
Public fieldstaticXqst0093Xqst0093Xqst0093 It is a static error to import a module M1 if there exists a sequence of modules M1 ... Mi ... M1 such that each module directly depends on the next module in the sequence (informally, if M1 depends on itself through some chain of module dependencies.)
Public fieldstaticXqst0094Xqst0094Xqst0094 The name of each grouping variable must be equal (by the eq operator on expanded QNames) to the name of a variable in the input tuple stream.
Public fieldstaticXqst0097Xqst0097Xqst0097 It is a static error for a decimal-format to specify a value that is not valid for a given property, as described in statically known decimal formats.
Public fieldstaticXqst0098Xqst0098Xqst0098 It is a static error if, for any named or unnamed decimal format, the properties representing characters used in a picture string do not each have distinct values. These properties are decimal-separator-sign, grouping-separator, percent-sign, per-mille-sign, zero-digit, digit-sign, and pattern-separator-sign.
Public fieldstaticXqst0099Xqst0099Xqst0099 No module may contain more than one context item declaration.
Public fieldstaticXqst0103Xqst0103Xqst0103 All variables in a window clause must have distinct names..
Public fieldstaticXqst0104Xqst0104Xqst0104 A TypeName that is specified in a validate expression must be found in the in-scope schema definitions.
Public fieldstaticXqst0106Xqst0106Xqst0106 It is a static error if a function declaration contains both a %private and a %public annotation.
Public fieldstaticXqst0108Xqst0108Xqst0108 It is a static error if an output declaration occurs in a library module.
Public fieldstaticXqst0109Xqst0109Xqst0109 It is a static error if the local name of an output declaration in the http://www.w3.org/2010/xslt-xquery-serialization namespace is not one of the serialization parameter names listed in C.1 Static Context Components.
Public fieldstaticXqst0110Xqst0110Xqst0110 It is a static error if the same serialization parameter is used more than once in an output declaration.
Public fieldstaticXqst0111Xqst0111Xqst0111 It is a static error for a query prolog to contain two decimal formats with the same name, or to contain two default decimal formats.
Public fieldstaticXqst0113Xqst0113Xqst0113 Specifying a value for a context item declaration in a library module is a static error.
Public fieldstaticXqst0114Xqst0114Xqst0114 It is a static error for a decimal format declaration to define the same property more than once.
Public fieldstaticXqst0116Xqst0116Xqst0116 It is a static error if a variable declaration contains both a %private and a %public annotation.
Public fieldstaticXqst0118Xqst0118Xqst0118 In a direct element constructor, the name used in the end tag must exactly match the name used in the corresponding start tag, including its prefix or absence of a prefix.
Public fieldstaticXqst0119Xqst0119Xqst0119 It is a static error if the implementation is not able to process the value of an output:parameter-document declaration to produce an XDM instance.
Public fieldstaticXqst0120Xqst0120Xqst0120 It is a static error if a feature required by require-feature is not supported by the implementation.
Public fieldstaticXqst0122Xqst0122Xqst0122 It is a static error if the name of a feature in require-feature or prohibit-feature is not in the lexical space of QName.
Public fieldstaticXqst0123Xqst0123Xqst0123 It is a static error if the name of a feature in require-feature is not recognized by the implementation.
Public fieldstaticXqst0125Xqst0125Xqst0125 It is a static error if an inline function expression is annotated as %public or %private.
Public fieldstaticXqst0126Xqst0126Xqst0126 It is a static error if all-extensions appears in a require-feature option declaration.
Public fieldstaticXqst0127Xqst0127Xqst0127 It is a static error if a given feature is both required and prohibited, directly or indirectly, in a module.
Public fieldstaticXqst0128Xqst0128Xqst0128 It is a static error if a feature name that an implementation supports appears in a prohibit-feature option declaration, and the implementation is unable to disable the feature.
Public fieldstaticXqst0129Xqst0129Xqst0129 An implementation that does not provide the Higher-Order Function Feature MUST raise a static error if it encounters a function test, dynamic function call, named function reference, inline function expression, or partial function application.
Public fieldstaticXqst0131Xqst0131Xqst0131 A feature prohibited by prohibit-feature is used in this module.
Public fieldstaticXqst0132Xqst0132Xqst0132 The module feature can only be required or prohibited in a main module, not in a library module.
Public fieldstaticXqst0134Xqst0134Xqst0134 XQuery 3.0 does not support the namespace axis.
Public fieldstaticXqty0024Xqty0024Xqty0024 It is a type error if the content sequence in an element constructor contains an attribute node following a node that is not an attribute node.
Public fieldstaticXqty0030Xqty0030Xqty0030 It is a type error if the argument of a validate expression does not evaluate to exactly one document or element node.
Public fieldstaticXqty0086Xqty0086Xqty0086 It is a type error if the typed value of a copied element or attribute node is namespace-sensitive when construction mode is preserve and copy-namespaces mode is no-preserve, or the typed value of a copied attribute node is namespace-sensitive when the parent of the copied node is not copied and construction mode is preserve.
Public fieldstaticXqty0105Xqty0105Xqty0105 It is a type error if the content sequence in an element constructor contains a function item.
Public fieldstaticXtde0030Xtde0030Xtde0030 It is a non-recoverable dynamic error if the effective value of an attribute written using curly brackets, in a position where an attribute value template is permitted, is a value that is not one of the permitted values for that attribute. If the processor is able to detect the error statically (for example, when any XPath expressions within the curly brackets can be evaluated statically), then the processor may optionally signal this as a static error.
Public fieldstaticXtde0040Xtde0040Xtde0040 It is a non-recoverable dynamic error if the invocation of the stylesheet specifies a template name that does not match the expanded-QName of a named template defined in the stylesheet.
Public fieldstaticXtde0045Xtde0045Xtde0045 It is a non-recoverable dynamic error if the invocation of the stylesheet specifies an initial mode (other than the default mode) that does not match the expanded-QName in the mode attribute of any template defined in the stylesheet.
Public fieldstaticXtde0047Xtde0047Xtde0047 It is a non-recoverable dynamic error if the invocation of the stylesheet specifies both an initial mode and an initial template.
Public fieldstaticXtde0050Xtde0050Xtde0050 It is a non-recoverable dynamic error if the stylesheet that is invoked declares a visible stylesheet parameter with required="yes" and no value for this parameter is supplied during the invocation of the stylesheet. A stylesheet parameter is visible if it is not masked by another global variable or parameter with the same name and higher import precedence.
Public fieldstaticXtde0060Xtde0060Xtde0060 It is a non-recoverable dynamic error if the initial template defines a template parameter that specifies required="yes".
Public fieldstaticXtde0290Xtde0290Xtde0290 Where the result of evaluating an XPath expression (or an attribute value template) is required to be a lexical QName, then unless otherwise specified it is a non-recoverable dynamic error if the defining element has no namespace node whose name matches the prefix of the lexical QName. This error may be signaled as a static error if the value of the expression can be determined statically.
Public fieldstaticXtde0410Xtde0410Xtde0410 It is a non-recoverable dynamic error if the result sequence used to construct the content of an element node contains a namespace node or attribute node that is preceded in the sequence by a node that is neither a namespace node nor an attribute node.
Public fieldstaticXtde0420Xtde0420Xtde0420 It is a non-recoverable dynamic error if the result sequence used to construct the content of a document node contains a namespace node or attribute node.
Public fieldstaticXtde0430Xtde0430Xtde0430 It is a non-recoverable dynamic error if the result sequence contains two or more namespace nodes having the same name but different string values (that is, namespace nodes that map the same prefix to different namespace URIs).
Public fieldstaticXtde0440Xtde0440Xtde0440 It is a non-recoverable dynamic error if the result sequence contains a namespace node with no name and the element node being constructed has a null namespace URI (that is, it is an error to define a default namespace when the element is in no namespace).
Public fieldstaticXtde0450Xtde0450Xtde0450 It is a non-recoverable dynamic error if the result sequence contains a function item.
Public fieldstaticXtde0560Xtde0560Xtde0560 It is a non-recoverable dynamic error if xsl:apply-imports or xsl:next-match is evaluated when the current template rule is null.
Public fieldstaticXtde0610Xtde0610Xtde0610 If an optional parameter has no select attribute and has an empty sequence constructor, and if there is an as attribute, then the default value of the parameter is an empty sequence. If the empty sequence is not a valid instance of the required type defined in the as attribute, then the parameter is treated as a required parameter, which means that it is a non-recoverable dynamic error if the caller supplies no value for the parameter.
Public fieldstaticXtde0640Xtde0640Xtde0640 In general, a circularity in a stylesheet is a non-recoverable dynamic error.
Public fieldstaticXtde0700Xtde0700Xtde0700 Tt is a non-recoverable dynamic error if the template that is invoked declares a template parameter with required="yes" and no value for this parameter is supplied by the calling instruction.
Public fieldstaticXtde0820Xtde0820Xtde0820 It is a non-recoverable dynamic error if the effective value of the name attribute [of the xsl:element instruction] is not a lexical QName.
Public fieldstaticXtde0830Xtde0830Xtde0830 In the case of an xsl:element instruction with no namespace attribute, it is a non-recoverable dynamic error if the effective value of the name attribute is a QName whose prefix is not declared in an in-scope namespace declaration for the xsl:element instruction.
Public fieldstaticXtde0835Xtde0835Xtde0835 It is a non-recoverable dynamic error if the effective value of the namespace attribute [of the xsl:element instruction] is not in the lexical space of the xs:anyURI data type.
Public fieldstaticXtde0840Xtde0840Xtde0840 It is a static error if the select attribute of the xsl:attribute element is present unless the element has empty content.
Public fieldstaticXtde0850Xtde0850Xtde0850 It is a non-recoverable dynamic error if the effective value of the name attribute [of an xsl:attribute instruction] is not a lexical QName.
Public fieldstaticXtde0855Xtde0855Xtde0855 In the case of an xsl:attribute instruction with no namespace attribute, it is a non-recoverable dynamic error if the effective value of the name attribute is the string xmlns.
Public fieldstaticXtde0860Xtde0860Xtde0860 In the case of an xsl:attribute instruction with no namespace attribute, it is a non-recoverable dynamic error if the effective value of the name attribute is a lexical QName whose prefix is not declared in an in-scope namespace declaration for the xsl:attribute instruction.
Public fieldstaticXtde0865Xtde0865Xtde0865 It is a non-recoverable dynamic error if the effective value of the namespace attribute [of the xsl:attribute instruction] is not in the lexical space of the xs:anyURI data type.
Public fieldstaticXtde0890Xtde0890Xtde0890 It is a non-recoverable dynamic error if the effective value of the name attribute [of the xsl:processing-instruction instruction] is not both an NCName Names and a PITarget XML.
Public fieldstaticXtde0905Xtde0905Xtde0905 It is a non-recoverable dynamic error if the string value of the new namespace node [created using xsl:namespace] is not valid in the lexical space of the data type xs:anyURI. [see ERR XTDE0835]
Public fieldstaticXtde0920Xtde0920Xtde0920 It is a non-recoverable dynamic error if the effective value of the name attribute [of the xsl:namespace instruction] is neither a zero-length string nor an NCName Names, or if it is xmlns.
Public fieldstaticXtde0925Xtde0925Xtde0925 It is a non-recoverable dynamic error if the xsl:namespace instruction generates a namespace node whose name is xml and whose string value is not http://www.w3.org/XML/1998/namespace, or a namespace node whose string value is http://www.w3.org/XML/1998/namespace and whose name is not xml.
Public fieldstaticXtde0930Xtde0930Xtde0930 It is a non-recoverable dynamic error if evaluating the select attribute or the contained sequence constructor of an xsl:namespace instruction results in a zero-length string.
Public fieldstaticXtde0980Xtde0980Xtde0980 It is a non-recoverable dynamic error if any undiscarded item in the atomized sequence supplied as the value of the value attribute of xsl:number cannot be converted to an integer, or if the resulting integer is less than 0 (zero).
Public fieldstaticXtde1030Xtde1030Xtde1030 It is a non-recoverable dynamic error if, for any sort key component, the set of sort key values evaluated for all the items in the initial sequence, after any type conversion requested, contains a pair of ordinary values for which the result of the XPath lt operator is an error.
Public fieldstaticXtde1035Xtde1035Xtde1035 It is a non-recoverable dynamic error if the collation attribute of xsl:sort (after resolving against the base URI) is not a URI that is recognized by the implementation as referring to a collation.
Public fieldstaticXtde1061Xtde1061Xtde1061 It is a dynamic error if the current-group function is used when the current group is absent, or when it is invoked in the course of evaluating a pattern. The error may be reported statically if it can be detected statically.
Public fieldstaticXtde1071Xtde1071Xtde1071 It is a dynamic error if the current-grouping-key function is used when the current grouping key is absent. The error may be reported statically if it can be detected statically.
Public fieldstaticXtde1110Xtde1110Xtde1110 It is a non-recoverable dynamic error if the collation URI specified to xsl:for-each-group (after resolving against the base URI) is a collation that is not recognized by the implementation.
Public fieldstaticXtde1140Xtde1140Xtde1140 It is a non-recoverable dynamic error if the effective value of the regex attribute does not conform to the required syntax for regular expressions, as specified in [Functions and Operators]. If the regular expression is known statically (for example, if the attribute does not contain any expressions enclosed in curly brackets) then the processor may signal the error as a static error.
Public fieldstaticXtde1145Xtde1145Xtde1145 It is a non-recoverable dynamic error if the effective value of the flags attribute [of the xsl:analyze-string instruction] has a value other than the values defined in [Functions and Operators]. If the value of the attribute is known statically (for example, if the attribute does not contain any expressions enclosed in curly brackets) then the processor may signal the error as a static error.
Public fieldstaticXtde1150Xtde1150Xtde1150 It is a non-recoverable dynamic error if the effective value of the regex attribute [of the xsl:analyze-string instruction] is a regular expression that matches a zero-length string: or more specifically, if the regular expression $r and flags $f are such that matches("", $r, $f) returns true. If the regular expression is known statically (for example, if the attribute does not contain any expressions enclosed in curly brackets) then the processor may signal the error as a static error.
Public fieldstaticXtde1170Xtde1170Xtde1170 fn:unparsed-test called with uri containing a fragment identifier, or if it cannot be used to retrieve a resource containing a text.
Public fieldstaticXtde1190Xtde1190Xtde1190 fn:unparsed-test called with unsupported encoding.
Public fieldstaticXtde1200Xtde1200Xtde1200 fn:unparsed-test called with uri which cannot be decoded.
Public fieldstaticXtde1260Xtde1260Xtde1260 It is a non-recoverable dynamic error if the value is not a valid QName, or if there is no namespace declaration in scope for the prefix of the QName, or if the name obtained by expanding the QName is not the same as the expanded name of any xsl:key declaration in the stylesheet. If the processor is able to detect the error statically (for example, when the argument is supplied as a string literal), then the processor may optionally signal this as a static error.
Public fieldstaticXtde1270Xtde1270Xtde1270 It is a non-recoverable dynamic error to call the key function with two arguments if there is no context node, or if the root of the tree containing the context node is not a document node; or to call the function with three arguments if the root of the tree containing the node supplied in the third argument is not a document node.
Public fieldstaticXtde1280Xtde1280Xtde1280 It is a non-recoverable dynamic error if the name specified as the $decimal-format-name argument [ to the format-number function] is not a valid QName, or if its prefix has not been declared in an in-scope namespace declaration, or if the stylesheet does not contain a declaration of a decimal-format with a matching expanded-QName. If the processor is able to detect the error statically (for example, when the argument is supplied as a string literal), then the processor may optionally signal this as a static error.
Public fieldstaticXtde1310Xtde1310Xtde1310 The picture string [supplied to the format-number function] must conform to the following rules. [ See full specification.] It is a non-recoverable dynamic error if the picture string does not satisfy these rules.
Public fieldstaticXtde1340Xtde1340Xtde1340 It is a non-recoverable dynamic error if the syntax of the picture is incorrect.
Public fieldstaticXtde1350Xtde1350Xtde1350 It is a non-recoverable dynamic error if a component specifier within the picture refers to components that are not available in the given type of $value, for example if the picture supplied to the format-time refers to the year, month, or day component.
Public fieldstaticXtde1360Xtde1360Xtde1360 If the current function is evaluated within an expression that is evaluated when the context item is undefined, a non-recoverable dynamic error occurs.
Public fieldstaticXtde1370Xtde1370Xtde1370 It is a non-recoverable dynamic error if the unparsed-entity-uri function is called when there is no context node, or when the root of the tree containing the context node is not a document node.
Public fieldstaticXtde1380Xtde1380Xtde1380 It is a non-recoverable dynamic error if the unparsed-entity-public-id function is called when there is no context node, or when the root of the tree containing the context node is not a document node.
Public fieldstaticXtde1390Xtde1390Xtde1390 It is a non-recoverable dynamic error if the value is not a valid QName, or if there is no namespace declaration in scope for the prefix of the QName. If the processor is able to detect the error statically (for example, when the argument is supplied as a string literal), then the processor may optionally signal this as a static error.
Public fieldstaticXtde1400Xtde1400Xtde1400 It is a non-recoverable dynamic error if the argument does not evaluate to a string that is a valid QName, or if there is no namespace declaration in scope for the prefix of the QName. If the processor is able to detect the error statically (for example, when the argument is supplied as a string literal), then the processor may optionally signal this as a static error.
Public fieldstaticXtde1425Xtde1425Xtde1425 When backwards compatible behaviour is enabled, it is a non-recoverable dynamic error to evaluate an extension function call if no implementation of the extension function is available.
Public fieldstaticXtde1428Xtde1428Xtde1428 It is a non-recoverable dynamic error if the argument [passed to the type-available function] does not evaluate to a string that is a valid QName, or if there is no namespace declaration in scope for the prefix of the QName. If the processor is able to detect the error statically (for example, when the argument is supplied as a string literal), then the processor may optionally signal this as a static error.
Public fieldstaticXtde1440Xtde1440Xtde1440 It is a non-recoverable dynamic error if the argument does not evaluate to a string that is a valid QName, or if there is no namespace declaration in scope for the prefix of the QName. If the processor is able to detect the error statically (for example, when the argument is supplied as a string literal), then the processor may optionally signal this as a static error.
Public fieldstaticXtde1450Xtde1450Xtde1450 When a processor performs fallback for an extension instruction that is not recognized, if the instruction element has one or more xsl:fallback children, then the content of each of the xsl:fallback children must be evaluated; it is a non-recoverable dynamic error if it has no xsl:fallback children.
Public fieldstaticXtde1460Xtde1460Xtde1460 It is a non-recoverable dynamic error if the effective value of the format attribute is not a valid lexical QName, or if it does not match the expanded-QName of an output definition in the stylesheet. If the processor is able to detect the error statically (for example, when the format attribute contains no curly brackets), then the processor may optionally signal this as a static error.
Public fieldstaticXtde1480Xtde1480Xtde1480 It is a non-recoverable dynamic error to evaluate the xsl:result-document instruction in temporary output state.
Public fieldstaticXtde1490Xtde1490Xtde1490 It is a non-recoverable dynamic error for a transformation to generate two or more final result trees with the same URI.
Public fieldstaticXtde1665Xtde1665Xtde1665 A basic XSLT processor must raise a non-recoverable dynamic error if the input to the processor includes a node with a type annotation other than xs:untyped or xs:untypedAtomic, or an atomic value of a type other than those which a basic XSLT processor supports. This error will not arise if the input-type-annotations attribute is set to strip.
Public fieldstaticXtde3160Xtde3160Xtde3160 It is a non-recoverable dynamic error if the target expression is not a valid XPath 3.0 expression (that is, if a static error occurs when analyzing the string according to the rules of the XPath 3.0 specification).
Public fieldstaticXtmm9000Xtmm9000Xtmm9000 When a transformation is terminated by use of xsl:message terminate="yes", the effect is the same as when a non-recoverable dynamic error occurs during the transformation.
Public fieldstaticXtmm9001Xtmm9001Xtmm9001 When the xsl:assert condition fails and assertions are set to true. The effect is the same as when anon-recoverable dynamic error occurs during the transformation.
Public fieldstaticXtre0540Xtre0540Xtre0540 It is a recoverable dynamic error if the conflict resolution algorithm for template rules leaves more than one matching template rule. The optional recovery action is to select, from the matching template rules that are left, the one that occurs last in declaration order.
Public fieldstaticXtre1160Xtre1160Xtre1160 When a URI reference contains a fragment identifier, it is a recoverable dynamic error if the media type is not one that is recognized by the processor, or if the fragment identifier does not conform to the rules for fragment identifiers for that media type, or if the fragment identifier selects something other than a sequence of nodes (for example, if it selects a range of characters within a text node). The optional recovery action is to ignore the fragment identifier and return the document node. The set of media types recognized by a processor is implementation-defined.
Public fieldstaticXtre1500Xtre1500Xtre1500 It is a recoverable dynamic error for a stylesheet to write to an external resource and read from the same resource during a single transformation, whether or not the same URI is used to access the resource in both cases. The optional recovery action is implementation-dependent: implementations are not required to detect the error condition. Note that if the error is not detected, it is undefined whether the document that is read from the resource reflects its state before or after the result tree is written.
Public fieldstaticXtse0010Xtse0010Xtse0010 A static error is signalled if an XSLT-defined element is used in a context where it is not permitted, if a required attribute is omitted, or if the content of the element does not correspond to the content that is allowed for the element.
Public fieldstaticXtse0020Xtse0020Xtse0020 It is a static error if an attribute (other than an attribute written using curly brackets in a position where an attribute value template is permitted) contains a value that is not one of the permitted values for that attribute.
Public fieldstaticXtse0080Xtse0080Xtse0080 It is a static error to use a reserved namespace in the name of a named template, a mode, an attribute set, a key, a decimal-format, a variable or parameter, a stylesheet function, a named output definition, or a character map.
Public fieldstaticXtse0090Xtse0090Xtse0090 It is a static error for an element from the XSLT namespace to have an attribute whose namespace is unprefixed or the XSLT namespace, other than attributes defined for the element in this document.
Public fieldstaticXtse0110Xtse0110Xtse0110 The value of the version attribute must be a number: specifically, it must be a a valid instance of the type xs:decimal as defined in [XML Schema Part 2].
Public fieldstaticXtse0120Xtse0120Xtse0120 An xsl:stylesheet element must not have any text node children.
Public fieldstaticXtse0125Xtse0125Xtse0125 It is a static error if the value of an [xsl:]default-collation attribute, after resolving against the base URI, contains no URI that the implementation recognizes as a collation URI.
Public fieldstaticXtse0130Xtse0130Xtse0130 It is a static error if the xsl:stylesheet element has a child element whose name has a null namespace URI.
Public fieldstaticXtse0150Xtse0150Xtse0150 A literal result element that is used as the outermost element of a simplified stylesheet module must have an xsl:version attribute.
Public fieldstaticXtse0165Xtse0165Xtse0165 It is a static error if the processor is not able to retrieve the resource identified by the URI reference [ in the href attribute of xsl:include or xsl:import] , or if the resource that is retrieved does not contain a stylesheet module conforming to this specification.
Public fieldstaticXtse0170Xtse0170Xtse0170 An xsl:include element must be a top-level element.
Public fieldstaticXtse0180Xtse0180Xtse0180 It is a static error if a stylesheet module directly or indirectly includes itself.
Public fieldstaticXtse0190Xtse0190Xtse0190 An xsl:import element must be a top-level element.
Public fieldstaticXtse0200Xtse0200Xtse0200 The xsl:import element children must precede all other element children of an xsl:stylesheet element, including any xsl:include element children and any user-defined data elements.
Public fieldstaticXtse0210Xtse0210Xtse0210 It is a static error if a stylesheet module directly or indirectly imports itself.
Public fieldstaticXtse0215Xtse0215Xtse0215 It is a static error if an xsl:import-schema element that contains an xs:schema element has a schema-location attribute, or if it has a namespace attribute that conflicts with the target namespace of the contained schema.
Public fieldstaticXtse0220Xtse0220Xtse0220 It is a static error if the synthetic schema document does not satisfy the constraints described in [XML Schema Part 1] (section 5.1, Errors in Schema Construction and Structure). This includes, without loss of generality, conflicts such as multiple definitions of the same name.
Public fieldstaticXtse0260Xtse0260Xtse0260 Within an XSLT element that is required to be empty, any content other than comments or processing instructions, including any whitespace text node preserved using the xml:space="preserve" attribute, is a static error.
Public fieldstaticXtse0265Xtse0265Xtse0265 It is a static error if there is a stylesheet module in the stylesheet that specifies input-type-annotations="strip" and another stylesheet module that specifies input-type-annotations="preserve".
Public fieldstaticXtse0280Xtse0280Xtse0280 In the case of a prefixed QName used as the value of an attribute in the stylesheet, or appearing within an XPath expression in the stylesheet, it is a static error if the defining element has no namespace node whose name matches the prefix of the QName.
Public fieldstaticXtse0340Xtse0340Xtse0340 Where an attribute is defined to contain a pattern, it is a static error if the pattern does not match the production Pattern.
Public fieldstaticXtse0350Xtse0350Xtse0350 It is a static error if an unescaped left curly bracket appears in a fixed part of an attribute value template without a matching right curly bracket.
Public fieldstaticXtse0370Xtse0370Xtse0370 It is a static error if an unescaped right curly bracket occurs in a fixed part of an attribute value template.
Public fieldstaticXtse0500Xtse0500Xtse0500 An xsl:template element must have either a match attribute or a name attribute, or both. An xsl:template element that has no match attribute must have no mode attribute and no priority attribute.
Public fieldstaticXtse0530Xtse0530Xtse0530 The value of this attribute [the priority attribute of the xsl:template element] must conform to the rules for the xs:decimal type defined in [XML Schema Part 2]. Negative values are permitted..
Public fieldstaticXtse0550Xtse0550Xtse0550 It is a static error if the list [of modes in the mode attribute of xsl:template] is empty, if the same token is included more than once in the list, if the list contains an invalid token, or if the token #all appears together with any other value.
Public fieldstaticXtse0580Xtse0580Xtse0580 It is a static error if two parameters of a template or of a stylesheet function have the same name.
Public fieldstaticXtse0620Xtse0620Xtse0620 It is a static error if a variable-binding element has a select attribute and has non-empty content.
Public fieldstaticXtse0630Xtse0630Xtse0630 It is a static error if a stylesheet contains more than one binding of a global variable with the same name and same import precedence, unless it also contains another binding with the same name and higher import precedence.
Public fieldstaticXtse0650Xtse0650Xtse0650 It is a static error if a stylesheet contains an xsl:call-template instruction whose name attribute does not match the name attribute of any xsl:template in the stylesheet.
Public fieldstaticXtse0660Xtse0660Xtse0660 It is a static error if a stylesheet contains more than one template with the same name and the same import precedence, unless it also contains a template with the same name and higher import precedence.
Public fieldstaticXtse0670Xtse0670Xtse0670 It is a static error if a single xsl:call-template, xsl:apply-templates, xsl:apply-imports, or xsl:next-match element contains two or more xsl:with-param elements with matching name attributes.
Public fieldstaticXtse0680Xtse0680Xtse0680 In the case of xsl:call-template, it is a static error to pass a non-tunnel parameter named x to a template that does not have a template parameter named x, unless backwards compatible behavior is enabled for the xsl:call-template instruction.
Public fieldstaticXtse0690Xtse0690Xtse0690 It is a static error if a template that is invoked using xsl:call-template declares a template parameter specifying required="yes" and not specifying tunnel="yes", if no value for this parameter is supplied by the calling instruction.
Public fieldstaticXtse0710Xtse0710Xtse0710 It is a static error if the value of the use-attribute-sets attribute of an xsl:copy, xsl:element, or xsl:attribute-set element, or the xsl:use-attribute-sets attribute of a literal result element, is not a whitespace-separated sequence of QNames, or if it contains a QName that does not match the name attribute of any xsl:attribute-set declaration in the stylesheet.
Public fieldstaticXtse0720Xtse0720Xtse0720 It is a static error if an xsl:attribute-set element directly or indirectly references itself via the names contained in the use-attribute-sets attribute.
Public fieldstaticXtse0740Xtse0740Xtse0740 A stylesheet function must have a prefixed name, to remove any risk of a clash with a function in the default function namespace. It is a static error if the name has no prefix.
Public fieldstaticXtse0760Xtse0760Xtse0760 Because arguments to a stylesheet function call must all be specified, the xsl:param elements within an xsl:function element must not specify a default value: this means they must be empty, and must not have a select attribute.
Public fieldstaticXtse0770Xtse0770Xtse0770 It is a static error for a stylesheet to contain two or more functions with the same expanded-QName, the same arity, and the same import precedence, unless there is another function with the same expanded-QName and arity, and a higher import precedence.
Public fieldstaticXtse0805Xtse0805Xtse0805 It is a static error if an attribute on a literal result element is in the XSLT namespace, unless it is one of the attributes explicitly defined in this specification.
Public fieldstaticXtse0808Xtse0808Xtse0808 It is a static error if a namespace prefix is used within the [xsl:]exclude-result-prefixes attribute and there is no namespace binding in scope for that prefix.
Public fieldstaticXtse0809Xtse0809Xtse0809 It is a static error if the value #default is used within the [xsl:]exclude-result-prefixes attribute and the parent element of the [xsl:]exclude-result-prefixes attribute has no default namespace.
Public fieldstaticXtse0810Xtse0810Xtse0810 It is a static error if there is more than one such declaration [more than one xsl:namespace-alias declaration] with the same literal namespace URI and the same import precedence and different values for the target namespace URI, unless there is also an xsl:namespace-alias declaration with the same literal namespace URI and a higher import precedence.
Public fieldstaticXtse0812Xtse0812Xtse0812 It is a static error if a value other than #default is specified for either the stylesheet-prefix or the result-prefix attributes of the xsl:namespace-alias element when there is no in-scope binding for that namespace prefix.
Public fieldstaticXtse0840Xtse0840Xtse0840 It is a static error if the select attribute of the xsl:attribute element is present unless the element has empty content.
Public fieldstaticXtse0870Xtse0870Xtse0870 It is a static error if the select attribute of the xsl:value-of element is present when the content of the element is non-empty, or if the select attribute is absent when the content is empty.
Public fieldstaticXtse0880Xtse0880Xtse0880 It is a static error if the select attribute of the xsl:processing-instruction element is present unless the element has empty content.
Public fieldstaticXtse0910Xtse0910Xtse0910 It is a static error if the select attribute of the xsl:namespace element is present when the element has content other than one or more xsl:fallback instructions, or if the select attribute is absent when the element has empty content.
Public fieldstaticXtse0940Xtse0940Xtse0940 It is a static error if the select attribute of the xsl:comment element is present unless the element has empty content.
Public fieldstaticXtse0975Xtse0975Xtse0975 It is a static error if the value attribute of xsl:number is present unless the select, level, count, and from attributes are all absent.
Public fieldstaticXtse1015Xtse1015Xtse1015 It is a static error if an xsl:sort element with a select attribute has non-empty content.
Public fieldstaticXtse1017Xtse1017Xtse1017 It is a static error if an xsl:sort element other than the first in a sequence of sibling xsl:sort elements has a stable attribute.
Public fieldstaticXtse1040Xtse1040Xtse1040 It is a static error if an xsl:perform-sort instruction with a select attribute has any content other than xsl:sort and xsl:fallback instructions.
Public fieldstaticXtse1060Xtse1060Xtse1060 It is a static error if the current-group function is used within a pattern.
Public fieldstaticXtse1070Xtse1070Xtse1070 It is a static error if the current-grouping-key function is used within a pattern.
Public fieldstaticXtse1080Xtse1080Xtse1080 These four attributes [the group-by, group-adjacent, group-starting-with, and group-ending-with attributes of xsl:for-each-group ] are mutually exclusive: it is a static error if none of these four attributes is present, or if more than one of them is present.
Public fieldstaticXtse1090Xtse1090Xtse1090 It is an error to specify the collation attribute if neither the group-by attribute nor group-adjacent attribute is specified.
Public fieldstaticXtse1130Xtse1130Xtse1130 It is a static error if the xsl:analyze-string instruction contains neither an xsl:matching-substring nor an xsl:non-matching-substring element.
Public fieldstaticXtse1205Xtse1205Xtse1205 It is a static error if an xsl:key declaration has a use attribute and has non-empty content, or if it has empty content and no use attribute.
Public fieldstaticXtse1210Xtse1210Xtse1210 It is a static error if the xsl:key declaration has a collation attribute whose value (after resolving against the base URI) is not a URI recognized by the implementation as referring to a collation.
Public fieldstaticXtse1220Xtse1220Xtse1220 It is a static error if there are several xsl:key declarations in the stylesheet with the same key name and different effective collations. Two collations are the same if their URIs are equal under the rules for comparing xs:anyURI values, or if the implementation can determine that they are different URIs referring to the same collation.
Public fieldstaticXtse1290Xtse1290Xtse1290 It is a static error if a named or unnamed decimal format contains two conflicting values for the same attribute in different xsl:decimal-format declarations having the same import precedence, unless there is another definition of the same attribute with higher import precedence.
Public fieldstaticXtse1295Xtse1295Xtse1295 It is a static error if the character specified in the zero-digit attribute is not a digit or is a digit that does not have the numeric value zero.
Public fieldstaticXtse1300Xtse1300Xtse1300 It is a static error if, for any named or unnamed decimal format, the variables representing characters used in a picture string do not each have distinct values. These variables are decimal-separator-sign, grouping-sign, percent-sign, per-mille-sign, digit-zero-sign, digit-sign, and pattern-separator-sign.
Public fieldstaticXtse1430Xtse1430Xtse1430 It is a static error if there is no namespace bound to the prefix on the element bearing the [xsl:]extension-element-prefixes attribute or, when #default is specified, if there is no default namespace.
Public fieldstaticXtse1505Xtse1505Xtse1505 It is a static error if both the [xsl:]type and [xsl:]validation attributes are present on the xsl:element, xsl:attribute, xsl:copy, xsl:copy-of, xsl:document, or xsl:result-document instructions, or on a literal result element.
Public fieldstaticXtse1520Xtse1520Xtse1520 It is a static error if the value of the type attribute of an xsl:element, xsl:attribute, xsl:copy, xsl:copy-of, xsl:document, or xsl:result-document instruction, or the xsl:type attribute of a literal result element, is not a valid QName, or if it uses a prefix that is not defined in an in-scope namespace declaration, or if the QName is not the name of a type definition included in the in-scope schema components for the stylesheet.
Public fieldstaticXtse1530Xtse1530Xtse1530 [ERR XTSE1530] It is a static error if the value of the type attribute of an xsl:attribute instruction refers to a complex type definition.
Public fieldstaticXtse1560Xtse1560Xtse1560 It is a static error if two xsl:output declarations within an output definition specify explicit values for the same attribute (other than cdata-section-elements and use-character-maps), with the values of the attributes being not equal, unless there is another xsl:output declaration within the same output definition that has higher import precedence and that specifies an explicit value for the same attribute.
Public fieldstaticXtse1570Xtse1570Xtse1570 The value [of the method attribute on xsl:output ] must (if present) be a valid QName. If the QName does not have a prefix, then it identifies a method specified in [XSLT and XQuery Serialization] and must be one of xml, html, xhtml, or text.
Public fieldstaticXtse1580Xtse1580Xtse1580 It is a static error if the stylesheet contains two or more character maps with the same name and the same import precedence, unless it also contains another character map with the same name and higher import precedence.
Public fieldstaticXtse1590Xtse1590Xtse1590 It is a static error if a name in the use-character-maps attribute of the xsl:output or xsl:character-map elements does not match the name attribute of any xsl:character-map in the stylesheet.
Public fieldstaticXtse1600Xtse1600Xtse1600 It is a static error if a character map references itself, directly or indirectly, via a name in the use-character-maps attribute.
Public fieldstaticXtse1650Xtse1650Xtse1650 A basic XSLT processor must signal a static error if the stylesheet includes an xsl:import-schema declaration.
Public fieldstaticXtse1660Xtse1660Xtse1660 A basic XSLT processor must signal a static error if the stylesheet includes an [xsl:]type attribute, or an [xsl:]validation or default-validation attribute with a value other than strip.
Public fieldstaticXtte0505Xtte0505Xtte0505 It is a type error if the result of evaluating the sequence constructor cannot be converted to the required type.
Public fieldstaticXtte0510Xtte0510Xtte0510 It is a type error if an xsl:apply-templates instruction with no select attribute is evaluated when the context item is not a node.
Public fieldstaticXtte0520Xtte0520Xtte0520 It is a type error if the sequence returned by the select expression [of xsl:apply-templates] contains an item that is not a node.
Public fieldstaticXtte0570Xtte0570Xtte0570 It is a type error if the supplied value of a variable cannot be converted to the required type.
Public fieldstaticXtte0590Xtte0590Xtte0590 It is a type error if the conversion of the supplied value of a parameter to its required type fails.
Public fieldstaticXtte0600Xtte0600Xtte0600 If a default value is given explicitly, that is, if there is either a select attribute or a non-empty sequence constructor, then it is a type error if the default value cannot be converted to the required type, using the function conversion rules.
Public fieldstaticXtte0780Xtte0780Xtte0780 If the as attribute is specified, then the result evaluated by the sequence constructor (see 5.7 Sequence Constructors) is converted to the required type, using the function conversion rules. It is a type error if this conversion fails. If the as attribute is omitted, the calculated result is used as supplied, and no conversion takes place.
Public fieldstaticXtte0790Xtte0790Xtte0790 If the value of a parameter to a stylesheet function cannot be converted to the required type, a type error is signaled.
Public fieldstaticXtte0945Xtte0945Xtte0945 It is a type error to use the xsl:copy when the context item is not defined.
Public fieldstaticXtte0950Xtte0950Xtte0950 It is a type error to use the xsl:copy or xsl:copy-of instruction to copy a node that has namespace-sensitive content if the copy-namespaces attribute has the value no and its explicit or implicit validation attribute has the value preserve. It is also a type error if either of these instructions (with validation="preserve") is used to copy an attribute having namespace-sensitive content, unless the parent element is also copied. A node has namespace-sensitive content if its typed value contains an item of type xs:QName or xs:NOTATION or a type derived therefrom. The reason this is an error is because the validity of the content depends on the namespace context being preserved.
Public fieldstaticXtte0990Xtte0990Xtte0990 It is a type error if the xsl:number instruction is evaluated, with no value or select attribute, when the context item is not a node.
Public fieldstaticXtte1000Xtte1000Xtte1000 It is a type error if the result of evaluating the select attribute of the xsl:number instruction is anything other than a single node.
Public fieldstaticXtte1020Xtte1020Xtte1020 If any sort key value, after atomization and any type conversion required by the data-type attribute, is a sequence containing more than one item, then the effect depends on whether the xsl:sort element is evaluated with backwards compatible behavior. With backwards compatible behavior, the effective sort key value is the first item in the sequence. In other cases, this is a type error.
Public fieldstaticXtte1100Xtte1100Xtte1100 It is a type error if the grouping key evaluated using the group-adjacent attribute is an empty sequence, or a sequence containing more than one item.
Public fieldstaticXtte1120Xtte1120Xtte1120 When the group-starting-with or group-ending-with attribute is used, it is a type error if the result of evaluating the select expression contains an item that is not a node.
Public fieldstaticXtte1510Xtte1510Xtte1510 If the validation attribute of an xsl:element, xsl:attribute, xsl:copy, xsl:copy-of, or xsl:result-document instruction, or the xsl:validation attribute of a literal result element, has the effective value strict, and schema validity assessment concludes that the validity of the element or attribute is invalid or unknown, a type error occurs. As with other type errors, the error may be signaled statically if it can be detected statically.
Public fieldstaticXtte1512Xtte1512Xtte1512 If the validation attribute of an xsl:element, xsl:attribute, xsl:copy, xsl:copy-of, or xsl:result-document instruction, or the xsl:validation attribute of a literal result element, has the effective value strict, and there is no matching top-level declaration in the schema, then a type error occurs. As with other type errors, the error may be signaled statically if it can be detected statically.
Public fieldstaticXtte1515Xtte1515Xtte1515 If the validation attribute of an xsl:element, xsl:attribute, xsl:copy, xsl:copy-of, or xsl:result-document instruction, or the xsl:validation attribute of a literal result element, has the effective value lax, and schema validity assessment concludes that the element or attribute is invalid, a type error occurs. As with other type errors, the error may be signaled statically if it can be detected statically.
Public fieldstaticXtte1535Xtte1535Xtte1535 It is a type error if the value of the type attribute of an xsl:copy or xsl:copy-of instruction refers to a complex type definition and one or more of the nodes being copied is an attribute node.
Public fieldstaticXtte1540Xtte1540Xtte1540 It is a type error if an [xsl:]type attribute is defined for a constructed element or attribute, and the outcome of schema validity assessment against that type is that the validity property of that element or attribute information item is other than valid.
Public fieldstaticXtte1545Xtte1545Xtte1545 A type error occurs if a type or validation attribute is defined (explicitly or implicitly) for an instruction that constructs a new attribute node, if the effect of this is to cause the attribute value to be validated against a type that is derived from, or constructed by list or union from, the primitive types xs:QName or xs:NOTATION.
Public fieldstaticXtte1550Xtte1550Xtte1550 A type error occurs [when a document node is validated] unless the children of the document node comprise exactly one element node, no text nodes, and zero or more comment and processing instruction nodes, in any order.
Public fieldstaticXtte1555Xtte1555Xtte1555 It is a type error if, when validating a document node, document-level constraints are not satisfied. These constraints include identity constraints (xs:unique, xs:key, and xs:keyref) and ID/IDREF constraints.
Public fieldstaticXtte3170Xtte3170Xtte3170 It is a type error if the result of evaluating the namespace-context attribute of the xsl:evaluate instruction is anything other than a single node.
Public fieldstaticXtte3180Xtte3180Xtte3180 It is a type error if the result of evaluating the select expression of the xsl:copy element is a sequence of more than one item.
Public fieldstaticXtte3210Xtte3210Xtte3210 If the result of evaluating the context-item expression of an xsl:evaluate instruction is a sequence containing more than one item, then a type error is signaled.
Public fieldstaticXudy0009Xudy0009Xudy0009 The error code indicating a dynamic error in an replace value of expression.
Public fieldstaticXudy0014Xudy0014Xudy0014 In a transform expression, it is a dynamic error if the modify clause modifies any node that was not created by the copy clause.
Public fieldstaticXudy0015Xudy0015Xudy0015 It is a dynamic error if any node is the target of more than one rename expression within the same query.
Public fieldstaticXudy0016Xudy0016Xudy0016 It is a dynamic error if any node is the target of more than one replace expression (without value of being specified) within the same query.
Public fieldstaticXudy0017Xudy0017Xudy0017 It is a dynamic error if any node is the target of more than one replace value of expression within the same query.
Public fieldstaticXudy0018Xudy0018Xudy0018 It is a dynamic error if a function that was declared to be external but not updating returns a non-empty pending update list.
Public fieldstaticXudy0019Xudy0019Xudy0019 It is a dynamic error if a function that was declared to be both external and updating returns a non-empty data model instance.
Public fieldstaticXudy0021Xudy0021Xudy0021 It is a dynamic error if the XDM instance that would result from applying all the updates in a query violates any constraint specified in [XQuery 1.0 and XPath 2.0 Data Model]. In this case, none of the updates in the query are made effective.
Public fieldstaticXudy0023Xudy0023Xudy0023 It is a dynamic error if an insert, replace, or rename expression affects an element node by introducing a new namespace binding that conflicts with one of its existing namespace bindings.
Public fieldstaticXudy0024Xudy0024Xudy0024 It is a dynamic error if the effect of a set of updating expressions is to introduce conflicting namespace bindings into an element node.
Public fieldstaticXudy0027Xudy0027Xudy0027 It is a dynamic error if the target expression of an insert, replace, or rename expression evaluates to an empty sequence.
Public fieldstaticXudy0029Xudy0029Xudy0029 In an insert expression where before or after is specified, it is a dynamic error if the node returned by the target expression does not have a parent.
Public fieldstaticXudy0030Xudy0030Xudy0030 It is a dynamic error if an insert expression specifies the insertion of an attribute node before or after a child of a document node.
Public fieldstaticXudy0031Xudy0031Xudy0031 It is a dynamic error if multiple calls to fn:put in the same snapshot specify the same URI (after resolution of relative URIs).
Public fieldstaticXust0001Xust0001Xust0001 The error code indicating an incorrectly positioned updating expression.
Public fieldstaticXust0002Xust0002Xust0002 The error code indicating an incorrectly positioned simple expression.
Public fieldstaticXust0003Xust0003Xust0003 The error code indicating more than one revalidation declaration.
Public fieldstaticXust0026Xust0026Xust0026 It is a static error if a revalidation declaration in a Prolog specifies a revalidation mode that is not supported by the current implementation.
Public fieldstaticXust0028Xust0028Xust0028 It is a static error if a function declaration specifies both updating and a return type.
Public fieldstaticXuty0004Xuty0004Xuty0004 It is a type error if the insertion sequence of an insert expression contains an attribute node following a node that is not an attribute node.
Public fieldstaticXuty0005Xuty0005Xuty0005 The error code indicating a type checking error in an insert into, insert as first into or insert as last into expression.
Public fieldstaticXuty0006Xuty0006Xuty0006 The error code indicating a type checking error in an insert before or insert after expression.
Public fieldstaticXuty0007Xuty0007Xuty0007 The error code indicating a type checking error in an delete expression. It is a type error if the target expression of a delete expression does not return a sequence of zero or more nodes.
Public fieldstaticXuty0008Xuty0008Xuty0008 The error code indicating a type checking error in an replace expression.
Public fieldstaticXuty0010Xuty0010Xuty0010 In a replace expression where value of is not specified and the target is an element, text, comment, or processing instruction node, it is a type error if the replacement sequence does not consist of zero or more element, text, comment, or processing instruction nodes.
Public fieldstaticXuty0011Xuty0011Xuty0011 In a replace expression where value of is not specified and the target is an attribute node, it is a type error if the replacement sequence does not consist of zero or more attribute nodes.
Public fieldstaticXuty0012Xuty0012Xuty0012 In a rename expression, it is a type error if the target expression returns a non-empty result that does not consist of a single element, attribute, or processing instruction node.
Public fieldstaticXuty0013Xuty0013Xuty0013 In a transform expression, it is a type error if a source expression in the copy clause does not return a single node.
Public fieldstaticXuty0022Xuty0022Xuty0022 It is a type error if an insert expression specifies the insertion of an attribute node into a document node.

Top

Remarks

Errors defined by the specifications:

  • XQuery 1.0 and XPath 2.0 Functions and Operators
  • XML Path Language (XPath) 2.0
  • XQuery 1.0: An XML Query Language
  • XSL Transformations (XSLT) Version 2.0
  • XSLT 2.0 and XQuery 1.0 Serialization

are identified by a URI.