http://www.w3.org/2005/xqt-errors

Description

Before using any of the functions below please remember to import the module namespace:

import module namespace err = "http://www.w3.org/2005/xqt-errors";

This module contains one variable declaration for each diagnostic of the http://www.w3.org/2005/xqt-errors namespace. The variables serves as documentation for the errors but can also be used in the code. For example, one useful scenario is to compare an error caught in the catch clause of a try-catch expression with one of the variables.

Module code

Here is the actual XQuery module code.

Authors

Carlos Lopez

Version Declaration

xquery version "1.0" encoding "utf-8";

Namespaces

errhttp://www.w3.org/2005/xqt-errors

Variables

err:NS

err:XPST0001 as xs:QName

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.

err:XPST0003 as xs:QName

It is a static error if an expression is not a valid instance of the grammar.

err:XPST0005 as xs:QName

During the analysis phase, it is a static error if the static type assigned to an expression other than the expression \c () or \c data(()) is \c empty-sequence().

err:XPST0008 as xs:QName

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 for an ElementName in an ElementTest or an AttributeName in an AttributeTest.

err:XPST0017 as xs:QName

It is a static error if the expanded QName and number of arguments in a function call do not match the name and arity of a function signature in the static context.

err:XPST0051 as xs:QName

It is a static error if a QName that is used as an AtomicType in a SequenceType is not defined in the in-scope schema types as an atomic type.

err:XPST0080 as xs:QName

It is a static error if the target type of a \c cast or \c castable expression is \c xs:NOTATION or \c xs:anyAtomicType.

err:XPST0081 as xs:QName

It is a static error if a QName used in a query contains a namespace prefix that cannot be expanded into a namespace URI by using the statically known namespaces.

err:XPST0083 as xs:QName

It is a static error if the target type of a \c cast expression or constructor function is \c xs:QName or a type derived from \c xs:QName or \c xs:NOTATION, and the argument of the cast expression or constructor function is not a string literal.

err:XPTY0004 as xs:QName

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.

err:XPTY0018 as xs:QName

It is a type error if the result of the last step in a path expression contains both nodes and non-nodes.

err:XPTY0019 as xs:QName

It is a type error if the result of a step (other than the last step) in a path expression contains an atomic value.

err:XPTY0020 as xs:QName

It is a type error if, in an axis step, the context item is not a node.

err:XPTY0117 as xs:QName

Attempt to cast to a namespace-sensitive type failed because the namespace bindings for the result can not be determined.

err:XQTY0024 as xs:QName

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.

err:XQTY0030 as xs:QName

It is a type error if the argument of a validate expression does not evaluate to exactly one document or element node.

err:XQTY0086 as xs:QName

It is a type error if the typed value of a copied element or attribute node is namespace-sensitive when construction mode is \c preserve and copy-namespaces mode is \c no-preserve.

err:XQTY0105 as xs:QName

It is a type error if the content sequence in an element constructor contains a function item.

err:XQST0009 as xs:QName

An implementation that does not support the Schema Import Feature must raise a static error if a Prolog contains a schema import.

err:XQST0012 as xs:QName

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--i.e., each definition must be valid, complete, and unique.

err:XQST0013 as xs:QName

It is a static error if an implementation recognizes a pragma but determines that its content is invalid.

err:XQST0022 as xs:QName

It is a static error if the value of a namespace declaration attribute is not a URILiteral.

err:XQST0031 as xs:QName

It is a static error if the version number specified in a version declaration is not supported by the implementation.

err:XQST0032 as xs:QName

A static error is raised if a Prolog contains more than one base URI declaration.

err:XQST0033 as xs:QName

It is a static error if a module contains multiple bindings for the same namespace prefix.

err:XQST0034 as xs:QName

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).

err:XQST0035 as xs:QName

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.

err:XQST0036 as xs:QName

It is a static error to import a module if the in-scope schema definitions of the importing module do not include all of the following: -# An in-scope schema type for each type-name that appears: - in the type of a variable that is declared in the imported module and referenced in the importing module, OR - in a parameter-type or result-type of a function that is declared in the imported module and referenced in the importing module. -# An in-scope element declaration for each element-name \c EN such that: - \c schema-element(EN) appears in the declared type of a variable in the imported module, and that variable is referenced in the importing module, OR - \c schema-element(EN) appears in a parameter-type or result-type of a function declared in the imported module, and that function is referenced in the importing module. -# An in-scope attribute declaration for each attribute-name \c AN such that: - \c schema-attribute(AN) appears in the declared type of a variable in the imported module, and that variable is referenced in the importing module, OR - \c schema-attribute(AN) appears in a parameter-type or result-type of a function declared in the imported module, and that function is referenced in the importing module.

err:XQST0038 as xs:QName

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.

err:XQST0039 as xs:QName

It is a static error for a function declaration to have more than one parameter with the same name.

err:XQST0040 as xs:QName

It is a static error if the attributes specified by a direct element constructor do not have distinct expanded QNames.

err:XQST0045 as xs:QName

It is a static error if 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.

err:XQST0046 as xs:QName

An implementation MAY raise a static error if the value of a URILiteral is of nonzero length and is not in the lexical space of \c xs:anyURI.

err:XQST0047 as xs:QName

It is a static error if multiple module imports in the same Prolog specify the same target namespace.

err:XQST0048 as xs:QName

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.

err:XQST0049 as xs:QName

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.)

err:XQST0052 as xs:QName

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.

err:XQST0054 as xs:QName

It is a static error if a variable depends on itself.

err:XQST0055 as xs:QName

It is a static error if a Prolog contains more than one copy-namespaces declaration.

err:XQST0057 as xs:QName

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.

err:XQST0058 as xs:QName

It is a static error if multiple schema imports specify the same target namespace.

err:XQST0059 as xs:QName

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.

err:XQST0060 as xs:QName

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).

err:XQST0065 as xs:QName

A static error is raised if a Prolog contains more than one ordering mode declaration.

err:XQST0066 as xs:QName

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.

err:XQST0067 as xs:QName

A static error is raised if a Prolog contains more than one construction declaration.

err:XQST0068 as xs:QName

A static error is raised if a Prolog contains more than one boundary-space declaration.

err:XQST0069 as xs:QName

A static error is raised if a Prolog contains more than one empty order declaration.

err:XQST0070 as xs:QName

A static error is raised if one of the predefined prefixes \c xml or \c xmlns appears in a namespace declaration, or if any of the following conditions is statically detected in any expression or declaration: - The prefix \c xml is bound to some namespace URI other than http://www.w3.org/XML/1998/namespace. - A prefix other than \c xml is bound to the namespace URI http://www.w3.org/XML/1998/namespace. - The prefix \c xmlns is bound to any namespace URI. - A prefix other than \c xmlns is bound to the namespace URI http://www.w3.org/2000/xmlns/.

err:XQST0071 as xs:QName

A static error is raised if the namespace declaration attributes of a direct element constructor do not have distinct names.

err:XQST0076 as xs:QName

It is a static error if a \c collation subclause in an order by clause of a FLWOR expression does not identify a collation that is present in statically known collations.

err:XQST0079 as xs:QName

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.

err:XQST0085 as xs:QName

It is a static error if the namespace URI in a namespace declaration attribute is a zero-length string, and the implementation does not support [XML Names 1.1].

err:XQST0087 as xs:QName

It is a static error if the encoding specified in a Version Declaration does not conform to the definition of \c EncName specified in [XML 1.0]

err:XQST0088 as xs:QName

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.

err:XQST0089 as xs:QName

It is a static error if a variable bound in a \c for or \c window clause of a FLWOR expression, and its associated positional variable, do not have distinct names (expanded QNames).

err:XQST0090 as xs:QName

It is a static error if a character reference does not identify a valid character in the version of XML that is in use.

err:XQST0093 as xs:QName

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.)

err:XQST0094 as xs:QName

In the group by clause of a FLWOR expression, it is a static error if the name of a grouping variable is not equal (by the eq operator on expanded QNames) to the name of a variable that is bound by a for or let clause that precedes the group by clause.

err:XQST0097 as xs:QName

It is a static error for a decimal-format to specify a value that is not valid for a given property.

err:XQST0098 as xs:QName

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.

err:XQST0099 as xs:QName

If a module contains more than one context item declaration, a static error is raised [err:XQST0099].

err:XQST0103 as xs:QName

All variables in a window clause must have distinct names.

err:XQST0106 as xs:QName

It is a static error if a function's annotations contain more than one annotation named \c private or \c public. It is a static error if a function's annotations contain more than one annotation named \c deterministic or \c nondeterministic.

err:XQST0111 as xs:QName

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.

err:XQST0113 as xs:QName

Specifying a VarValue or VarDefaultValue for a context item declaration in a library module is a static error.

err:XQST0114 as xs:QName

It is a static error for a decimal format declaration to define the same property more than once.

err:XQST0116 as xs:QName

It is a static error if a variable declaration contains both a %private and a %public annotation, more than one %private annotation, or more than one %public annotation.

err:XQST0120 as xs:QName

It is a static error if a feature required by require-feature is not supported by the implementation.

err:XQST0122 as xs:QName

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.

err:XQST0123 as xs:QName

It is a static error if the name of a feature in require-feature is not recognized by the implementation.

err:XQST0126 as xs:QName

It is a static error if all-extensions appears in a require-feature option declaration.

err:XQST0127 as xs:QName

It is a static error if a given feature is both required and prohibited, directly or indirectly, in a module.

err:XQST0128 as xs:QName

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.

err:XPDY0002 as xs:QName

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.

err:XPDY0050 as xs:QName

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. This error might also be raised by a path expression beginning with "/" or "//" if the context node is not in a tree that is rooted at a document node. This is because a leading "/" or "//" in a path expression is an abbreviation for an initial step that includes the clause \c treat as \c document-node().

err:XQDY0025 as xs:QName

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.

err:XQDY0026 as xs:QName

It is a dynamic error if the result of the content expression of a computed processing instruction constructor contains the string "?>".

err:XQDY0027 as xs:QName

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: \c valid if validation mode is \c strict, or either \c valid or \c notKnown if validation mode is \c lax.

err:XQDY0041 as xs:QName

It is a dynamic error if the value of the name expression in a computed processing instruction constructor cannot be cast to the type \c xs:NCName.

err:XQDY0044 as xs:QName

It is a static error the node-name of a node constructed by a computed attribute constructor has any of the following properties: - Its namespace prefix is \c xmlns. - It has no namespace prefix and its local name is \c xmlns. - Its namespace URI is http://www.w3.org/2000/xmlns/. - Its namespace prefix is \c xml and its namespace URI is not http://www.w3.org/XML/1998/namespace. - Its namespace prefix is other than \c xml and its namespace URI is http://www.w3.org/XML/1998/namespace.

err:XQDY0054 as xs:QName

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.

err:XQDY0061 as xs:QName

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.

err:XQDY0064 as xs:QName

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).

err:XQDY0072 as xs:QName

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.

err:XQDY0074 as xs:QName

It is a dynamic error if the value of the name expression in a computed element or attribute constructor cannot be converted to an expanded QName (for example, because it contains a namespace prefix not found in statically known namespaces).

err:XQDY0084 as xs:QName

It is a dynamic error if the element validated by a \c validate statement does not have a top-level element declaration in the in-scope element declarations, if validation mode is \c strict.

err:XQDY0091 as xs:QName

An implementation MAY raise a dynamic error if an \c xml:id error, as defined in [XML ID], is encountered during construction of an attribute named \c xml:id.

err:XQDY0092 as xs:QName

An implementation MAY raise a dynamic error if a constructed attribute named \c xml:space has a value other than \c preserve or \c default.

err:XQDY0096 as xs:QName

It is a dynamic error the node-name of a node constructed by a computed element constructor has any of the following properties: - Its namespace prefix is \c xmlns. - Its namespace URI is http://www.w3.org/2000/xmlns/. - Its namespace prefix is \c xml and its namespace URI is not http://www.w3.org/XML/1998/namespace. - Its namespace prefix is other than \c xml and its namespace URI is http://www.w3.org/XML/1998/namespace.

err:XQDY0101 as xs:QName

Invalid prefix and/or uri in computed namespace constructor

err:XQDY0102 as xs:QName

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.

err:XTDE1310 as xs:QName

It is a non-recoverable dynamic error if the picture string does not satisfy the format-number function rules.

err:FOFD1340 as xs:QName

It is a non-recoverable dynamic error if the $picture, $language, $calendar, or $place argument for fn:format-date, fn:format-time, or fn:format-dateTime is invalid.

err:FOFD1350 as xs:QName

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.

err:FTST0008 as xs:QName

It is a static error if, during the static analysis phase, the query is found to contain a stop word option that refers to a stop word list that is not found in the statically known stop word lists.

err:FTST0009 as xs:QName

It may be a static error if, during the static analysis phase, the query is found to contain a language identifier in a language option that the implementation does not support. The implementation may choose not to raise this error and instead provide some other implementation-defined behavior.

err:FTDY0016 as xs:QName

It is a dynamic error if a weight value is not within the required range of values; it is also a dynamic error if an implementation that does not support negative weights encounters a negative weight value.

err:FTDY0017 as xs:QName

It is a dynamic error if an implementation encounters a mild not selection, one of whose operands evaluates to an AllMatches that contains a StringExclude.

err:FTST0018 as xs:QName

It is a static error if, during the static analysis phase, the query is found to contain a thesaurus option that refers to a thesaurus that is not found in the statically known thesauri.

err:FTST0019 as xs:QName

It is a static error if, within a single FTMatchOptions, there is more than one match option of any given match option group.

err:FTDY0020 as xs:QName

It is a dynamic error if, when "wildcards" is in effect, a query string violates wildcard syntax.

err:FOER0000 as xs:QName

Unidentified error.

err:FOAR0001 as xs:QName

Division by zero.

err:FOAR0002 as xs:QName

Numeric operation overflow/underflow.

err:FOCA0001 as xs:QName

Input value too large for decimal.

err:FOCA0002 as xs:QName

Invalid lexical value.

err:FOCA0003 as xs:QName

Input value too large for integer.

err:FOCA0005 as xs:QName

NaN supplied as float/double value.

err:FOCA0006 as xs:QName

Raised when casting a string to xs:decimal if the string has more digits of precision than the implementation can represent (the implementation also has the option of rounding).

err:FOCH0001 as xs:QName

Code point not valid.

err:FOCH0002 as xs:QName

Unsupported collation.

err:FOCH0003 as xs:QName

Unsupported normalization form.

err:FOCH0004 as xs:QName

Collation does not support collation units.

err:FODC0001 as xs:QName

No context document.

err:FODC0002 as xs:QName

Error retrieving resource.

err:FODC0003 as xs:QName

Raised by fn:doc, fn:collection to indicate that it is not possible to return a result that is guaranteed deterministic.

err:FODC0004 as xs:QName

Invalid argument to \c fn:collection().

err:FODC0005 as xs:QName

Invalid argument to \c fn:doc() or \c fn:doc-available().

err:FODC0006 as xs:QName

Invalid content passed to \c fn:parse().

err:FODC0007 as xs:QName

Base URI passed to \c fn:parse() is not a valid absolute URI.

err:FODF1280 as xs:QName

Invalid decimal format name supplied to \c fn:format-number().

err:FODF1310 as xs:QName

Invalid decimal/integer format picture string.

err:FODT0001 as xs:QName

Overflow/underflow in date/time operation.

err:FODT0002 as xs:QName

Overflow/underflow in duration operation.

err:FODT0003 as xs:QName

Invalid timezone value.

err:FONS0004 as xs:QName

No namespace found for prefix.

err:FONS0005 as xs:QName

Base-URI not defined in static context.

err:FORG0001 as xs:QName

Invalid value for cast/constructor.

err:FORG0002 as xs:QName

Invalid argument to \c fn:resolve-uri().

err:FORG0003 as xs:QName

\c fn:zero-or-one() called with a sequence containing more than one item.

err:FORG0004 as xs:QName

\c fn:one-or-more() called with a sequence containing no items.

err:FORG0005 as xs:QName

\c fn:exactly-one() called with a sequence containing zero or more than one item.

err:FORG0006 as xs:QName

Invalid argument type.

err:FORG0008 as xs:QName

The two arguments to fn:dateTime() have inconsistent timezones.

err:FORG0009 as xs:QName

Error in resolving a relative URI against a base URI in \c fn:resolve-uri().

err:FORX0001 as xs:QName

Invalid regular expression flags.

err:FORX0002 as xs:QName

Invalid regular expression.

err:FORX0003 as xs:QName

Regular expression matches zero-length string.

err:FORX0004 as xs:QName

Invalid replacement string.

err:FOTY0012 as xs:QName

Argument node does not have a typed value.

err:FOTY0013 as xs:QName

An argument to \c fn:data() contains a node that does not have a typed value.

err:FOTY0014 as xs:QName

The argument to \c fn:string() is a function item.

err:FOTY0015 as xs:QName

An argument to \c fn:deep-equal() contains a function item.

err:FOUT1170 as xs:QName

Identifier cannot be used to retrive a resource containing text

err:FOUT1190 as xs:QName

Retrieved resource contains octets that cannot be decoded into Unicode using the specified encoding, the resulting characters are not permitted XML characters or requested encoding not supported

err:FOFL0001 as xs:QName

This error is raised if the fn:function-lookup returns a context-dependent function and the context-dependent function is then called.

err:FOCZ0001 as xs:QName

Invalid content passed to \c x:canonicalize().

err:XUST0001 as xs:QName

It is a static error if an updating expression is used in any position other than one of the following: - The topmost expression in the body of a query. - The \c modify clause of a transform expression. - The \c return clause of a FLWOR expression. - The \c return clauses of a typeswitch expression in which every \c return clause contains an updating expression or a vacuous expression. - The \c then and \c else clauses of a conditional statement in which both the \c then and \c else clauses contain either an updating expression or a vacuous expression. - An operand of a comma expression in which each operand is either an updating expression or a vacuous expression. - The content of a parenthesized expression. - The body of a function declaration in which the keyword \c updating is specified.

err:XUST0002 as xs:QName

It is a static error if a simple expression that is not a vacuous expression is used in one of the following positions: - The \c modify clause of a transform expression. - The top-level expression in the body of a function declaration in which the keyword \c updating is specified.

err:XUST0003 as xs:QName

It is a static error if a Prolog contains more than one revalidation declaration.

err:XUTY0004 as xs:QName

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.

err:XUTY0005 as xs:QName

In an insert expression where into, as first into, or as last into is specified, it is a type error if the target expression returns a non-empty result that does not consist of a single element or document node.

err:XUTY0006 as xs:QName

In an insert expression where \c before or \c after is specified, it is a type error if the target expression returns a non-empty result that does not consist of a single element, text, comment, or processing instruction node.

err:XUTY0007 as xs:QName

It is a type error if the target expression of a delete expression does not return a sequence of zero or more nodes.

err:XUTY0008 as xs:QName

In a replace expression, it is a type error if the target expression returns a non-empty result that does not consist of a single element, attribute, text, comment, or processing instruction node.

err:XUDY0009 as xs:QName

In a replace expression where value of is not specified, it is a dynamic error if the node returned by the target expression does not have a parent.

err:XUTY0010 as xs:QName

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.

err:XUTY0011 as xs:QName

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.

err:XUTY0012 as xs:QName

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.

err:XUTY0013 as xs:QName

In a transform expression, it is a type error if a source expression in the \c copy clause does not return a single node.

err:XUDY0014 as xs:QName

In a transform expression, it is a dynamic error if the \c modify clause modifies any node that was not created by the \c copy clause.

err:XUDY0015 as xs:QName

It is a dynamic error if any node is the target of more than one \c rename expression within the same query.

err:XUDY0016 as xs:QName

It is a dynamic error if any node is the target of more than one \c replace expression (without value of being specified) within the same query.

err:XUDY0017 as xs:QName

It is a dynamic error if any node is the target of more than one replace value of expression within the same query.

err:XUDY0018 as xs:QName

It is a dynamic error if a function that was declared to be \c external but not \c updating returns a non-empty pending update list.

err:XUDY0019 as xs:QName

It is a dynamic error if a function that was declared to be both \c external and \c updating returns a non-empty data model instance.

err:XUDY0021 as xs:QName

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.

err:XUTY0022 as xs:QName

It is a type error if an insert expression specifies the insertion of an attribute node into a document node.

err:XUDY0023 as xs:QName

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.

err:XUDY0024 as xs:QName

It is a dynamic error if the effect of a set of updating expressions is to introduce conflicting namespace bindings into an element node.

err:XUDY0027 as xs:QName

It is a dynamic error if the target expression of an insert, replace, or rename expression evaluates to an empty sequence.

err:XUST0028 as xs:QName

It is a static error if a function declaration specifies both \c updating and a return type.

err:XUDY0029 as xs:QName

In an insert expression where \c before or \c after is specified, it is a dynamic error if the node returned by the target expression does not have a parent.

err:XUDY0030 as xs:QName

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.

err:XUDY0031 as xs:QName

It is a dynamic error if multiple calls to \c fn:put() in the same snapshot specify the same URI (after resolution of relative URIs).

err:FOUP0001 as xs:QName

It is a dynamic error if the first operand of \c fn:put() is not a node of a supported kind.

err:FOUP0002 as xs:QName

It is a dynamic error if the second operand of \c fn:put() is not a valid lexical representation of the \c xs:anyURI type.

err:SENR0001 as xs:QName

It is an error if an item in S6 in sequence normalization is an attribute node or a namespace node.

err:SERE0003 as xs:QName

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.

err:SEPM0004 as xs:QName

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.

err:SERE0005 as xs:QName

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.

err:SERE0006 as xs:QName

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.

err:SESU0007 as xs:QName

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.

err:SERE0008 as xs:QName

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).

err:SEPM0009 as xs:QName

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.

err:SEPM0010 as xs:QName

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.

err:SESU0011 as xs:QName

It is an error if the value of the normalization-form parameter specifies a normalization form that is not supported by the serializer.

err:SERE0012 as xs:QName

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.

err:SESU0013 as xs:QName

It is an error if the serializer does not support the version of XML or HTML specified by the version parameter.

err:SERE0014 as xs:QName

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.

err:SERE0015 as xs:QName

It is an error to use the HTML output method when \c > appears within a processing instruction in the data model instance being serialized.

err:SEPM0016 as xs:QName

It is a an error if a parameter value is invalid for the defined domain.