zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #04887
[Bug 932186] Re: Encoding problem with JSON module
Actually, it's not a problem with the serializer at all. Code-point
55357 is illegal in XML 1.0 which is that Zorba serializes as by
default. You need to specify that your query is XML 1.1.
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/932186
Title:
Encoding problem with JSON module
Status in Zorba - The XQuery Processor:
Triaged
Bug description:
Running the query attached using the following command line:
~/28msec/zorba/build/bin/zorba -q test.xq -f
Results in the following error:
dynamic error [err:FOCH0001]: "55357": invalid code point
However the following command:
~/28msec/zorba/build/bin/zorba -q test.xq -f --serialize-text
Works fine.
Removing the json:serialize() function call in the query prevents the
error to happen.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/932186/+subscriptions
References