Read XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition Online
Authors: Michael Kay
Invalid argument to
doc()
or
doc-available()
Raised if the string passed as an argument to the
doc()
or
doc-available()
function is not a valid URI. Also raised for
doc()
if no document can be located with the specified URI, or if the resource found at that URI cannot be parsed as an XML document.
FODT0001
Overflow in date/time arithmetic
Occurs when adding a duration to an
xs:date
or
xs:dateTime
value (or when subtracting), or when casting to a date/time value, if the result of the operation is outside the range supported for dates.
FODT0002
Overflow/underflow in duration arithmetic
Occurs when multiplying or dividing a duration by a number, or when casting to a duration, if the result is outside the range supported for the relevant duration data type.
FODT0003
Invalid timezone value
Indicates that the timezone supplied to
adjust-X-to-timezone()
is outside the range ±14 hours, or is not an integer number of minutes.
FOER0000
Unidentified error
Indicates that the
error()
function was called without supplying a more specific error code.
FONS0004
No namespace found for prefix
Raised by the
QName()
constructor and by the
resolve-QName()
function if the prefix in the supplied lexical QName cannot be resolved to a namespace URI.
FONS0005
Base URI not defined in the static context
Raised by the single-argument form of the
resolve-URI()
function if no base URI has been established in the static context. In XSLT, the base URI is taken from the stylesheet module containing the XPath expression, and this error suggests that the original location of this module is unknown.
FORG0001
Invalid value for cast/constructor
Means that the value passed to a constructor function or
cast as
expression is not a legal value (and cannot be converted to a legal value) for the target data type.
FORG0002
Invalid argument to
resolve-uri()
This error occurs when either of the URIs passed to the
resolve-URI()
function is not a valid URI.
FORG0003
zero-or-one()
called with a sequence containing more than one item
Calling the
zero-or-one()
function asserts that the argument is a sequence containing at most one item. If the assertion proves to be wrong, this error is raised.
FORG0004
one-or-more()
called with a sequence containing no items
Calling the
one-or-more()
function asserts that the argument is a sequence containing at least one item. If the assertion proves to be wrong, this error is raised.
FORG0005
exactly-one()
called with a sequence containing zero or more than one item
Calling the
exactly-one()
function asserts that the argument is a sequence containing exactly one item. If the assertion proves to be wrong, this error is raised.
FORG0006
Invalid argument type
Indicates that a value supplied to
boolean()
,
avg()
,
min()
,
max()
, or
sum()
is of a type that the function cannot handle, despite matching the function signature.
FORG0008
Both arguments to
dateTime()
have a specified timezone
If the two arguments of
dateTime()
both have a timezone, then the timezones must match.
FORG0009
Error in resolving a relative URI against a base URI in
resolve-uri()
The second argument to
resolve-uri()
, if supplied, should be an absolute hierarchic URI.
FORX0001
Invalid regular expression flags
The flags supplied to
matches()
,
replace()
, and
tokenize()
must contain zero or more of the letters
s
,
m
,
i
, and
x
, in any order.
FORX0002
Invalid regular expression
Indicates that the regular expression passed to the function
matches()
,
replace()
, or
tokenize()
is not valid according to the rules given in Chapter 14.