fn:parse-json, fn:json-to-xml: number-parser
, fallback
#973
Labels
Enhancement
A change or improvement to an existing feature
Tests Needed
Tests need to be written or merged
XQFO
An issue related to Functions and Operators
number-parser
option needs to be added tofn:json-to-xml
.fn:replace
, I would suggest usingfunction(xs:untypedAtomic) as item()?)
as signature for both thefallback
and thenumber-parser
option, and (forfallback
) to invokefn:string#1
on the result. This way, explicit casts in the code get obsolete. Queries like the following one……can then be simplified to
parse-json('-123', abs#1)
.The text was updated successfully, but these errors were encountered: