fn:data($arg as item()*) as xs:anyAtomicType*
fn:data($arg)
are extended as follows. An error is raised (jerr:JNTY0004
) if an item in the sequence is an object or an array.
fn:data( {"foo" : 3} ) jerr:JNTY0004 fn:data( [1] ) jerr:JNTY0004 fn:data( {"foo" : 3, "bar" : 4 } ) jerr:JNTY0004 fn:data( { } ) jerr:JNTY0004