[Bug 28837] JSON function tests (minor issues)

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28837

--- Comment #1 from O'Neil Delpratt <oneil@saxonica.com> ---
(In reply to Christian Gruen from comment #0)
> 1. json-doc-018:
> 
> The new default is 'use-first' (see Bug 28771)

This test case has been fixed by Josh

>  
> 2. json-doc-error-001:
> 
> The spec says that "fn:json-doc($H, $M) is equivalent to the function
> composition fn:unparsed-text($H) => fn:parse-json($M);", so I would probably
> expect FOUT1170 as error. If we do not want to reuse error codes of
> fn:unparsed-text, some additional error codes may need to be specified.

I agree with you on this one. I wonder if the error code needs replacing with
the one you have indicated (i.e. FOUT1170)?

> 
> 3. fn-parse-json-943:
> 
> Strictly spoken, the supplied function is not of type "function(xs:string)
> as xs:string". Depending on the outcome of Bug 28836, the test case may be
> right or wrong.

Again I agree with you. The test case need modifying

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 17 July 2015 12:32:49 UTC