- From: <bugzilla@jessica.w3.org>
- Date: Tue, 28 Oct 2014 19:14:18 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27156
Jonathan Robie <jonathan.robie@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.robie@gmail.com
--- Comment #2 from Jonathan Robie <jonathan.robie@gmail.com> ---
(In reply to Christian Gruen from comment #0)
> I have two question on the specification of fn:parse-json (Working Draft,
> Oct 7):
>
> * What is supposed to be the default value for the "liberal" option?
The default must be False - see this error condition:
A dynamic error [err:FOJS0001] occurs if the value of $input does not conform
to the JSON grammar, unless the option "liberal":true() is present and the
processor chooses to accept the deviation.
That should be stated explicitly in the table.
> * If "unescape" is set to true, will invalid XML characters be replaced by
> xFFFD, or will an error be raised instead (FOJS0002)?
This error seems to answer the question:
A dynamic error [err:FOJS0002] occurs if the value of $input contains an
escaped representation of a character (or codepoint) that is not a valid
character in the version of XML supported by the implementation, unless the
unescape option is set to false.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 28 October 2014 19:14:19 UTC