38
38
declare variable $jerr:NS := 'http://www.jsoniq.org/errors';
41
:It is a type error if the left-hand-side expression of a pair constructor cannot be atomized and cast to a string.
43
declare variable $jerr:JNTY0001 as xs:QName := fn:QName($jerr:NS, "jerr:JNTY0001");
46
:It is a type error if the right-hand-side expression of a pair constructor does not return exactly one item.
48
declare variable $jerr:JNTY0002 as xs:QName := fn:QName($jerr:NS, "jerr:JNTY0002");
51
:It is a dynamic error if two pairs in an object constructor or in a simple object union have the same name.
53
declare variable $jerr:JNDY0003 as xs:QName := fn:QName($jerr:NS, "jerr:JNDY0003");
56
:It is a type error to call fn:data on a sequence containing an array or an object.
58
declare variable $jerr:JNTY0004 as xs:QName := fn:QName($jerr:NS, "jerr:JNTY0004");
61
:It is a dynamic error if a pending update list contains two inserting update primitives on the same object and pair name.
63
declare variable $jerr:JNUP0005 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0005");
66
:It is a dynamic error if upd:applyUpdates causes an object to contain two pairs with the same name.
68
declare variable $jerr:JNUP0006 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0006");
71
:It is a type error if, in an updating expression, an array selector cannot be cast to xs:integer or if an object selector cannot be cast to xs:string.
73
declare variable $jerr:JNUP0007 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0007");
76
:It is a dynamic error if the target of a deleting or replacing expression is not an array or an object.
77
: It is a dynamic error if the target of a renaming expression is not an object.
78
: It is a dynamic error if the target of an appending expression is not an array.
79
: It is a dynamic error if the target of a position-inserting expression is not an array.
80
: It is a dynamic error if the target of a non-position-inserting expression is not an object.
82
declare variable $jerr:JNUP0008 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0008");
85
:It is a dynamic error if a pending update list contains two replacing update primitives on the same object or array, and with the same selector.
87
declare variable $jerr:JNUP0009 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0009");
90
:It is a dynamic error if a pending update list contains two renaming update primitives on the same object and with the same selector.
92
declare variable $jerr:JNUP0010 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0010");
95
:It is a type error if the content sequence in a node constructor or in an XQUF insert or replace update expression contains an object or an array.
97
declare variable $jerr:JNTY0011 as xs:QName := fn:QName($jerr:NS, "jerr:JNTY0011");
41
100
:It is a dynamic error to serialize a sequence of less
42
101
: or more than one item with the JSON output method if the
43
: cloudscript-serialization-multiple-items is set to no.
102
: jsoniq-serialization-multiple-items is set to no.
46
105
declare variable $jerr:JNSE0012 as xs:QName := fn:QName($jerr:NS, "jerr:JNSE0012");
60
119
declare variable $jerr:JNSE0014 as xs:QName := fn:QName($jerr:NS, "jerr:JNSE0014");
63
:Expression computing the value of a pair does not return exactly
66
declare variable $jerr:JNTY0002 as xs:QName := fn:QName($jerr:NS, "jerr:JNTY0002");
122
:It is a dynamic error if it is attempted to create a replace, delete or rename update primitive with a selector that cannot be resolved against the target array or object.
124
declare variable $jerr:JNUP0016 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0016");
127
: It is a dynamic error if the value in a replace expression is not exactly a single item.
129
declare variable $jerr:JNUP0017 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0017");
69
132
:objects or arrays don't have a string value
71
134
declare variable $jerr:JNTY0003 as xs:QName := fn:QName($jerr:NS, "jerr:JNTY0003");
74
:objects or arrays don't have a typed value
76
declare variable $jerr:JNTY0004 as xs:QName := fn:QName($jerr:NS, "jerr:JNTY0004");
79
:wrong type for object/array selector in update expr
81
declare variable $jerr:JNTY0007 as xs:QName := fn:QName($jerr:NS, "jerr:JNTY0007");
84
:error raised by node constructor or updating expression indicating that a JSON item cannot appear in the corresponding content sequence
86
declare variable $jerr:JNTY0011 as xs:QName := fn:QName($jerr:NS, "jerr:JNTY0011");
89
:error raised by object constructor
91
declare variable $jerr:JNDY0003 as xs:QName := fn:QName($jerr:NS, "jerr:JNDY0003");
94
137
:parser errors raised by the JSONIQLoader
96
declare variable $jerr:JSDY0040 as xs:QName := fn:QName($jerr:NS, "jerr:JSDY0040");
99
:duplicate pair to insert
101
declare variable $jerr:JNUP0005 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0005");
104
:pair to insert already in object
106
declare variable $jerr:JNUP0006 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0006");
109
:pair to delete not in object
111
declare variable $jerr:JNUP0007 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0007");
114
:duplicate pair to replace
116
declare variable $jerr:JNUP0008 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0008");
119
:pair to replace not in object
121
declare variable $jerr:JNUP0009 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0009");
124
:duplicate pair to rename
126
declare variable $jerr:JNUP0010 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0010");
129
:pair to rename not in object
131
declare variable $jerr:JNUP0011 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0011");
134
:pair to rename already in object
136
declare variable $jerr:JNUP0012 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0012");
139
:position to insert not in array
141
declare variable $jerr:JNUP0018 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0018");
144
:position to delete not in array
146
declare variable $jerr:JNUP0020 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0020");
149
:position to replace not in array
151
declare variable $jerr:JNUP0021 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0021");
154
:duplicate position to replace
156
declare variable $jerr:JNUP0022 as xs:QName := fn:QName($jerr:NS, "jerr:JNUP0022");
b'\\ No newline at end of file'
139
declare variable $jerr:JSDY0040 as xs:QName := fn:QName($jerr:NS, "jerr:JSDY0040");
b'\\ No newline at end of file'